/external/chromium_org/chrome/browser/ui/views/ |
accelerator_table.h | 24 int command_id; member in struct:chrome::AcceleratorMapping 36 int command_id, 44 int command_id,
|
/external/chromium/chrome/browser/ui/views/ |
accelerator_table_gtk.h | 22 int command_id; member in struct:browser::AcceleratorMapping
|
/external/chromium/chrome/browser/ui/gtk/ |
accelerators_gtk.cc | 21 int command_id; member in struct:__anon5002::AcceleratorMapping 180 int command_id = kAcceleratorMap[i].command_id; local 184 std::pair<int, ui::AcceleratorGtk>(command_id, accelerator)); 186 if (primary_accelerators_.find(command_id) == 188 primary_accelerators_[command_id] = accelerator; 201 int command_id) { 203 primary_accelerators_.find(command_id);
|
global_menu_bar.cc | 199 int command_id = commands[i].command; local 204 if (command_id == IDC_SHOW_BOOKMARK_BAR) 209 id_to_menu_item->insert(std::make_pair(command_id, menu_item)); 211 GINT_TO_POINTER(command_id));
|
gtk_custom_menu_item.cc | 313 int command_id = GPOINTER_TO_INT(id_ptr); local 315 command_id); 329 int command_id) { 332 GINT_TO_POINTER(command_id)); 343 int command_id) { 346 GINT_TO_POINTER(command_id)); 461 int command_id = GPOINTER_TO_INT(id_ptr); local 463 command_id, &activated);
|
/external/chromium_org/chrome/browser/ui/gtk/ |
accelerators_gtk.cc | 23 int command_id; member in struct:__anon8724::AcceleratorMapping 192 int command_id) { 193 AcceleratorMap::const_iterator i(primary_accelerators_.find(command_id)); 204 all_accelerators_.push_back(std::make_pair(entry.command_id, accelerator)); 205 if (primary_accelerators_.find(entry.command_id) == 207 primary_accelerators_[entry.command_id] = accelerator;
|
gtk_custom_menu_item.cc | 325 int command_id = GPOINTER_TO_INT(id_ptr); local 327 command_id); 341 int command_id) { 344 GINT_TO_POINTER(command_id)); 355 int command_id) { 358 GINT_TO_POINTER(command_id)); 474 int command_id = GPOINTER_TO_INT(id_ptr); local 476 command_id, &activated);
|
/external/chromium_org/chrome/browser/ui/panels/ |
panel_extension_browsertest.cc | 122 bool HasCommandWithId(int command_id) { 123 return menu_model_.GetIndexOfCommandId(command_id) != -1; 129 int command_id, 275 int command_id = IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST; local 276 ASSERT_TRUE(menu->IsCommandIdEnabled(command_id)); 277 menu->ExecuteCommand(command_id, 0);
|
/external/chromium/chrome/browser/sessions/ |
session_backend_unittest.cc | 17 SessionCommand::id_type command_id; member in struct:__anon4841::TestData 24 data.command_id, 42 EXPECT_EQ(data.command_id, command->id()); 160 empty_command.command_id = 1;
|
session_backend.cc | 148 const id_type command_id = buffer_[buffer_position_]; local 152 new SessionCommand(command_id, command_size - sizeof(id_type)); 328 id_type command_id = (*i)->id(); local 329 wrote = file->Write(reinterpret_cast<char*>(&command_id), 330 sizeof(command_id), NULL); 331 if (wrote != sizeof(command_id)) {
|
/external/chromium_org/chrome/browser/sessions/ |
session_backend_unittest.cc | 17 SessionCommand::id_type command_id; member in struct:__anon8306::TestData 24 data.command_id, 42 EXPECT_EQ(data.command_id, command->id()); 160 empty_command.command_id = 1;
|
session_backend.cc | 154 const id_type command_id = buffer_[buffer_position_]; local 158 new SessionCommand(command_id, command_size - sizeof(id_type)); 324 id_type command_id = (*i)->id(); local 325 wrote = file->WriteSync(reinterpret_cast<char*>(&command_id), 326 sizeof(command_id)); 327 if (wrote != sizeof(command_id)) {
|
/external/chromium_org/chrome/browser/tab_contents/ |
spellchecker_submenu_observer_browsertest.cc | 30 : command_id(0), 34 int command_id; member in struct:__anon8527::MockRenderViewContextMenu::MockMenuItem 45 virtual bool IsCommandIdChecked(int command_id) const OVERRIDE { 46 return observer_->IsCommandIdChecked(command_id); 48 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE { 49 return observer_->IsCommandIdEnabled(command_id); 51 virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE { 52 observer_->ExecuteCommand(command_id); 57 int command_id, 63 virtual void AddMenuItem(int command_id, [all...] |
spelling_menu_observer_browsertest.cc | 35 : command_id(0), 40 int command_id; member in struct:__anon8528::MockRenderViewContextMenu::MockMenuItem 51 virtual void AddMenuItem(int command_id, 53 virtual void AddCheckItem(int command_id, 56 virtual void AddSubMenu(int command_id, 59 virtual void UpdateMenuItem(int command_id, 105 void MockRenderViewContextMenu::AddMenuItem(int command_id, 108 item.command_id = command_id; 109 item.enabled = observer_->IsCommandIdEnabled(command_id); [all...] |
/external/chromium/chrome/browser/ui/views/extensions/ |
browser_action_overflow_menu_controller.cc | 33 size_t command_id = 1; // Menu id 0 is reserved, start with 1. local 38 command_id, 46 menu_->SetTooltip(tooltip, command_id); 48 ++command_id;
|
/external/chromium_org/ui/views/touchui/ |
touch_editing_menu.cc | 114 int command_id = kMenuCommands[i]; local 115 if (controller_ && controller_->IsCommandIdEnabled(command_id)) { 116 Button* button = CreateButton(l10n_util::GetStringUTF16(command_id), 117 command_id);
|
/external/chromium_org/win8/metro_driver/ |
settings_handler.cc | 135 mswr::ComPtr<winfoundtn::IPropertyValue> command_id; local 136 hr = command->get_Id(&command_id); 141 command_id.Get(), settings_id.Get(), &result); 151 hr = winrt_utils::CompareProperties(command_id.Get(), help_id.Get(), &result); 159 command_id.Get(), about_id.Get(), &result);
|
/external/chromium_org/chrome/browser/ui/views/extensions/ |
browser_action_overflow_menu_controller.cc | 42 size_t command_id = 1; // Menu id 0 is reserved, start with 1. local 46 command_id, 55 menu_->SetTooltip(tooltip, command_id); 57 ++command_id;
|
/external/chromium_org/ui/base/models/ |
button_menu_item_model.cc | 12 int command_id) const { 17 int command_id) const { 21 bool ButtonMenuItemModel::Delegate::IsCommandIdEnabled(int command_id) const { 26 int command_id) const { 31 int command_id; member in struct:ui::ButtonMenuItemModel::Item 49 int command_id, int string_id) { 50 Item item = { command_id, TYPE_BUTTON, l10n_util::GetStringUTF16(string_id), 55 void ButtonMenuItemModel::AddItemWithImage(int command_id, 57 Item item = { command_id, TYPE_BUTTON, base::string16(), icon_idr, false }; 61 void ButtonMenuItemModel::AddButtonLabel(int command_id, int string_id) [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_context_menu_browsertest.cc | 52 int command_id = 0; local 53 if (!FindCommandId(id, &command_id)) 58 if (!GetMenuModelAndItemIndex(command_id, &model, &index)) { 65 // Searches for an menu item with |command_id|. If it's found, the return 68 bool GetMenuModelAndItemIndex(int command_id, 78 if (model->GetCommandIdAt(i) == command_id) { 94 virtual bool GetAcceleratorForCommandId(int command_id, 104 bool FindCommandId(const ExtensionMenuItem::Id& id, int* command_id) { 108 *command_id = i->first; 209 int command_id = IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST local 426 int command_id = IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST; local [all...] |
/external/chromium_org/chrome/browser/extensions/ |
extension_context_menu_browsertest.cc | 39 // Searches for an menu item with |command_id|. If it's found, the return 42 bool GetMenuModelAndItemIndex(int command_id, 52 if (model->GetCommandIdAt(i) == command_id) { 73 int command_id, 198 int command_id = IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST; local 199 ASSERT_EQ(enabled, menu->IsCommandIdEnabled(command_id)); 203 ASSERT_EQ(!enabled, menu->IsCommandIdEnabled(command_id)); 227 int command_id = 0; local 228 if (!FindCommandId(menu, id, &command_id)) 233 if (!menu->GetMenuModelAndItemIndex(command_id, &model, &index)) 273 int command_id = IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST; local 563 int command_id = IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST; local 638 int command_id = -1; local [all...] |
/external/chromium_org/chrome/browser/media/ |
media_stream_capture_indicator.cc | 282 void MediaStreamCaptureIndicator::ExecuteCommand(int command_id, 287 command_id - IDC_MEDIA_CONTEXT_MEDIA_STREAM_CAPTURE_LIST_FIRST; 399 int command_id = IDC_MEDIA_CONTEXT_MEDIA_STREAM_CAPTURE_LIST_FIRST; local 419 menu->AddItem(command_id, GetTitle(web_contents)); 422 menu->SetCommandIdEnabled(command_id, 423 command_id != IDC_MinimumLabelValue); 426 if (command_id == IDC_MEDIA_CONTEXT_MEDIA_STREAM_CAPTURE_LIST_LAST) 428 ++command_id;
|
/external/chromium_org/chrome/test/chromedriver/chrome/ |
devtools_client_impl.cc | 208 int command_id = next_id_++; local 210 command.SetInteger("id", command_id); 215 VLOG(1) << "DEVTOOLS COMMAND " << method << " (id=" << command_id << ") " 223 response_info_map_[command_id] = response_info; 226 command_id, base::TimeDelta::FromMinutes(10)); 229 response_info_map_.erase(command_id);
|
/external/chromium_org/chrome/browser/background/ |
background_mode_manager.cc | 74 int command_id, 76 switch (command_id) { 82 int extension_index = command_id_extension_vector_->at(command_id); 122 int command_id = command_id_extension_vector_->size(); local 124 DCHECK(command_id < IDC_MinimumLabelValue); 126 menu->AddItem(command_id, UTF8ToUTF16(name)); 142 menu->SetCommandIdEnabled(command_id, false); 487 void BackgroundModeManager::ExecuteCommand(int command_id, int event_flags) { 492 switch (command_id) { 517 bmd->ExecuteCommand(command_id, event_flags) [all...] |
/external/chromium_org/chrome/browser/ui/toolbar/ |
recent_tabs_sub_menu_model.cc | 87 bool IsTabModelCommandId(int command_id) { 88 return ((command_id >= kFirstLocalTabCommandId && 89 command_id < kFirstLocalWindowCommandId) || 90 (command_id >= kFirstOtherDevicesTabCommandId && 91 command_id < kMinDeviceNameCommandId)); 95 bool IsWindowModelCommandId(int command_id) { 96 return command_id >= kFirstLocalWindowCommandId && 97 command_id < kFirstOtherDevicesTabCommandId; 100 bool IsDeviceNameCommandId(int command_id) { 101 return command_id >= kMinDeviceNameCommandId & 108 int command_id = tab_vector_index + first_command_id; local 115 int command_id = window_vector_index + kFirstLocalWindowCommandId; local 317 int command_id = GetCommandIdAt(index); local 327 int command_id = GetCommandIdAt(item_index); local 340 int command_id = GetCommandIdAt(index); local 479 int command_id = kMinDeviceNameCommandId + i; local 506 int command_id = TabVectorIndexToCommandId( local 520 int command_id = WindowVectorIndexToCommandId(local_window_items_.size()); local 543 int command_id = TabVectorIndexToCommandId( local [all...] |