Home
last modified time | relevance | path

Searched refs:accelerators_ (Results 1 – 10 of 10) 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.h31 const_iterator const begin() { return accelerators_.begin(); } in begin()
32 const_iterator const end() { return accelerators_.end(); } in end()
46 AcceleratorMap accelerators_;
Daccelerators_cocoa.mm54 accelerators_.insert(std::make_pair(entry.command_id, accelerator));
67 AcceleratorMap::iterator it = accelerators_.find(command_id);
68 if (it == accelerators_.end())
/external/chromium/chrome/browser/ui/cocoa/
Daccelerators_cocoa.mm48 accelerators_.insert(std::make_pair(entry.command_id, accelerator));
61 AcceleratorCocoaMap::iterator it = accelerators_.find(command_id);
62 if (it == accelerators_.end())
Daccelerators_cocoa.h43 AcceleratorCocoaMap accelerators_;
/external/chromium_org/ui/views/
Dview.cc1128 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 …]
Dview.h1525 scoped_ptr<std::vector<ui::Accelerator> > accelerators_; variable
/external/chromium_org/ash/accelerators/
Daccelerator_controller.cc862 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()
Daccelerator_controller.h158 std::map<ui::Accelerator, int> accelerators_; variable