Searched refs:accelerators_ (Results 1 – 10 of 10) 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
31 const_iterator const begin() { return accelerators_.begin(); } in begin()32 const_iterator const end() { return accelerators_.end(); } in end()46 AcceleratorMap accelerators_;
54 accelerators_.insert(std::make_pair(entry.command_id, accelerator));67 AcceleratorMap::iterator it = accelerators_.find(command_id);68 if (it == accelerators_.end())
48 accelerators_.insert(std::make_pair(entry.command_id, accelerator));61 AcceleratorCocoaMap::iterator it = accelerators_.find(command_id);62 if (it == accelerators_.end())
43 AcceleratorCocoaMap 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()[all …]
1525 scoped_ptr<std::vector<ui::Accelerator> > accelerators_; variable
862 accelerators_.find(remapped_accelerator); in IsReservedAccelerator()863 if (iter == accelerators_.end()) in IsReservedAccelerator()1185 accelerators_.find(accelerator); in AcceleratorPressed()1186 DCHECK(it != accelerators_.end()); in AcceleratorPressed()1199 accelerators_.insert( in RegisterAccelerators()
158 std::map<ui::Accelerator, int> accelerators_; variable