Lines Matching refs:accelerators_
1128 if (!accelerators_.get()) in AddAccelerator()
1129 accelerators_.reset(new std::vector<ui::Accelerator>()); in AddAccelerator()
1131 if (std::find(accelerators_->begin(), accelerators_->end(), accelerator) == in AddAccelerator()
1132 accelerators_->end()) { in AddAccelerator()
1133 accelerators_->push_back(accelerator); in AddAccelerator()
1139 if (!accelerators_.get()) { in RemoveAccelerator()
1145 std::find(accelerators_->begin(), accelerators_->end(), accelerator)); in RemoveAccelerator()
1146 if (i == accelerators_->end()) { in RemoveAccelerator()
1151 size_t index = i - accelerators_->begin(); in RemoveAccelerator()
1152 accelerators_->erase(i); in RemoveAccelerator()
1166 if (accelerators_.get()) in ResetAccelerators()
2259 if (!accelerators_.get() || in RegisterPendingAccelerators()
2260 registered_accelerator_count_ == accelerators_->size()) { in RegisterPendingAccelerators()
2279 accelerators_->begin() + registered_accelerator_count_); in RegisterPendingAccelerators()
2280 i != accelerators_->end(); ++i) { in RegisterPendingAccelerators()
2284 registered_accelerator_count_ = accelerators_->size(); in RegisterPendingAccelerators()
2288 if (!accelerators_.get()) in UnregisterAccelerators()
2297 accelerators_->clear(); in UnregisterAccelerators()
2298 accelerators_.reset(); in UnregisterAccelerators()