Home
last modified time | relevance | path

Searched refs:accelerators_ (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/ui/base/accelerators/
Daccelerator_manager.cc22 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 …]
Daccelerator_manager.h80 AcceleratorMap accelerators_; variable
/external/chromium_org/chrome/browser/ui/cocoa/
Daccelerators_cocoa.h36 const_iterator const begin() { return accelerators_.begin(); } in begin()
37 const_iterator const end() { return accelerators_.end(); } in end()
60 AcceleratorMap accelerators_;
Daccelerators_cocoa.mm139 accelerators_.insert(std::make_pair(entry.command_id, accelerator));
159 AcceleratorMap::iterator it = accelerators_.find(command_id);
160 if (it == accelerators_.end())
Daccelerators_cocoa_browsertest.mm115 keymap->accelerators_.begin();
116 it != keymap->accelerators_.end();
/external/chromium_org/athena/input/
Daccelerator_manager_impl.cc267 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()
Daccelerator_manager_impl.h75 std::map<ui::Accelerator, InternalData> accelerators_; variable
/external/chromium_org/ui/views/
Dview.cc1075 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 …]
Dview.h1568 scoped_ptr<std::vector<ui::Accelerator> > accelerators_; variable
/external/chromium_org/ash/accelerators/
Daccelerator_controller.cc851 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()
Daccelerator_controller.h165 std::map<ui::Accelerator, int> accelerators_; variable