Searched refs:accelerators_ (Results 1 – 11 of 11) sorted by relevance
22 AcceleratorTargetList& targets = accelerators_[accelerator].second; in Register()28 DCHECK(!accelerators_[accelerator].first) in Register()32 accelerators_[accelerator].first = true; in Register()39 if (!accelerators_[accelerator].first) in Register()47 AcceleratorMap::iterator map_iter = accelerators_.find(accelerator); in Unregister()48 if (map_iter == accelerators_.end()) { in Unregister()62 if (accelerators_[accelerator].first && target_iter == targets->begin()) { in Unregister()64 accelerators_[accelerator].first = false; in Unregister()71 for (AcceleratorMap::iterator map_iter = accelerators_.begin(); in UnregisterAll()72 map_iter != accelerators_.end(); ++map_iter) { in UnregisterAll()[all …]
80 AcceleratorMap accelerators_; variable
36 const_iterator const begin() { return accelerators_.begin(); } in begin()37 const_iterator const end() { return accelerators_.end(); } in end()60 AcceleratorMap accelerators_;
139 accelerators_.insert(std::make_pair(entry.command_id, accelerator));159 AcceleratorMap::iterator it = accelerators_.find(command_id);160 if (it == accelerators_.end())
115 keymap->accelerators_.begin();116 it != keymap->accelerators_.end();
267 accelerators_.find(accelerator); in IsRegistered()268 if (iter == accelerators_.end()) in IsRegistered()295 accelerators_.find(accelerator); in AcceleratorPressed()296 DCHECK(iter != accelerators_.end()); in AcceleratorPressed()297 if (iter == accelerators_.end()) in AcceleratorPressed()320 accelerators_.insert( in RegisterAccelerator()
75 std::map<ui::Accelerator, InternalData> accelerators_; variable
1075 if (!accelerators_.get()) in AddAccelerator()1076 accelerators_.reset(new std::vector<ui::Accelerator>()); in AddAccelerator()1078 if (std::find(accelerators_->begin(), accelerators_->end(), accelerator) == in AddAccelerator()1079 accelerators_->end()) { in AddAccelerator()1080 accelerators_->push_back(accelerator); in AddAccelerator()1086 if (!accelerators_.get()) { in RemoveAccelerator()1092 std::find(accelerators_->begin(), accelerators_->end(), accelerator)); in RemoveAccelerator()1093 if (i == accelerators_->end()) { in RemoveAccelerator()1098 size_t index = i - accelerators_->begin(); in RemoveAccelerator()1099 accelerators_->erase(i); in RemoveAccelerator()[all …]
1568 scoped_ptr<std::vector<ui::Accelerator> > accelerators_; variable
851 accelerators_.find(remapped_accelerator); in IsPreferred()852 if (iter == accelerators_.end()) in IsPreferred()864 accelerators_.find(remapped_accelerator); in IsReserved()865 if (iter == accelerators_.end()) in IsReserved()1196 accelerators_.find(accelerator); in AcceleratorPressed()1197 DCHECK(it != accelerators_.end()); in AcceleratorPressed()1210 accelerators_.insert( in RegisterAccelerators()
165 std::map<ui::Accelerator, int> accelerators_; variable