/external/chromium/chrome/browser/translate/ |
options_menu_model.h | 22 virtual bool IsCommandIdChecked(int command_id) const; 23 virtual bool IsCommandIdEnabled(int command_id) const; 24 virtual bool GetAcceleratorForCommandId(int command_id, 26 virtual void ExecuteCommand(int command_id);
|
languages_menu_model.h | 27 virtual bool IsCommandIdChecked(int command_id) const; 28 virtual bool IsCommandIdEnabled(int command_id) const; 29 virtual bool GetAcceleratorForCommandId(int command_id, 31 virtual void ExecuteCommand(int command_id);
|
languages_menu_model.cc | 25 bool LanguagesMenuModel::IsCommandIdChecked(int command_id) const { 26 return static_cast<size_t>(command_id) == ((language_type_ == ORIGINAL) ? 31 bool LanguagesMenuModel::IsCommandIdEnabled(int command_id) const { 33 return static_cast<size_t>(command_id) != ((language_type_ == ORIGINAL) ? 39 int command_id, 44 void LanguagesMenuModel::ExecuteCommand(int command_id) { 45 size_t command_id_size_t = static_cast<size_t>(command_id);
|
options_menu_model.cc | 62 bool OptionsMenuModel::IsCommandIdChecked(int command_id) const { 63 switch (command_id) { 74 NOTREACHED() << "Invalid command_id from menu"; 80 bool OptionsMenuModel::IsCommandIdEnabled(int command_id) const { 81 switch (command_id) { 97 int command_id, ui::Accelerator* accelerator) { 101 void OptionsMenuModel::ExecuteCommand(int command_id) { 102 switch (command_id) {
|
/external/chromium/chrome/browser/notifications/ |
notification_options_menu_model.h | 20 virtual bool IsCommandIdChecked(int command_id) const; 21 virtual bool IsCommandIdEnabled(int command_id) const; 22 virtual bool GetAcceleratorForCommandId(int command_id, 24 virtual void ExecuteCommand(int command_id); 41 virtual bool IsItemForCommandIdDynamic(int command_id) const; 42 virtual string16 GetLabelForCommandId(int command_id) const; 45 virtual bool IsCommandIdChecked(int command_id) const; 46 virtual bool IsCommandIdEnabled(int command_id) const; 47 virtual bool GetAcceleratorForCommandId(int command_id, 49 virtual void ExecuteCommand(int command_id); [all...] |
notification_options_menu_model.cc | 65 bool CornerSelectionMenuModel::IsCommandIdChecked(int command_id) const { 69 if (command_id == kCornerUpperLeft) 71 else if (command_id == kCornerUpperRight) 73 else if (command_id == kCornerLowerLeft) 75 else if (command_id == kCornerLowerRight) 77 else if (command_id == kCornerDefault) 84 bool CornerSelectionMenuModel::IsCommandIdEnabled(int command_id) const { 90 int command_id, ui::Accelerator* accelerator) { 95 void CornerSelectionMenuModel::ExecuteCommand(int command_id) { 98 if (command_id == kCornerUpperLeft [all...] |
/external/chromium/chrome/browser/ui/views/ |
profile_menu_model.h | 34 virtual bool IsCommandIdChecked(int command_id) const; 35 virtual bool IsCommandIdEnabled(int command_id) const; 36 virtual bool GetAcceleratorForCommandId(int command_id, 38 virtual void ExecuteCommand(int command_id);
|
profile_menu_model.cc | 29 bool ProfileMenuModel::IsCommandIdChecked(int command_id) const { 33 bool ProfileMenuModel::IsCommandIdEnabled(int command_id) const { 37 bool ProfileMenuModel::GetAcceleratorForCommandId(int command_id, 42 void ProfileMenuModel::ExecuteCommand(int command_id) {
|
accelerator_table_gtk.h | 22 int command_id; member in struct:browser::AcceleratorMapping
|
/external/chromium/chrome/browser/download/ |
download_shelf.h | 71 virtual bool IsCommandIdEnabled(int command_id) const; 72 virtual bool IsCommandIdChecked(int command_id) const; 73 virtual void ExecuteCommand(int command_id); 74 virtual bool GetAcceleratorForCommandId(int command_id, 76 virtual bool IsItemForCommandIdDynamic(int command_id) const; 77 virtual string16 GetLabelForCommandId(int command_id) const;
|
download_shelf.cc | 33 bool DownloadShelfContextMenu::IsCommandIdChecked(int command_id) const { 34 switch (command_id) { 45 string16 DownloadShelfContextMenu::GetLabelForCommandId(int command_id) const { 46 switch (command_id) { 69 bool DownloadShelfContextMenu::IsCommandIdEnabled(int command_id) const { 70 switch (command_id) { 81 return command_id > 0 && command_id < MENU_LAST; 85 void DownloadShelfContextMenu::ExecuteCommand(int command_id) { 86 switch (command_id) { [all...] |
/external/chromium/chrome/browser/ui/views/bookmarks/ |
bookmark_context_menu.cc | 54 void BookmarkContextMenu::ExecuteCommand(int command_id) { 55 controller_->ExecuteCommand(command_id); 58 bool BookmarkContextMenu::IsItemChecked(int command_id) const { 59 return controller_->IsItemChecked(command_id); 62 bool BookmarkContextMenu::IsCommandEnabled(int command_id) const { 63 return controller_->IsCommandEnabled(command_id); 81 void BookmarkContextMenu::AddItemWithStringId(int command_id, int string_id) { 83 command_id, UTF16ToWide(l10n_util::GetStringUTF16(string_id))); 90 void BookmarkContextMenu::AddCheckboxItem(int command_id, int string_id) { 91 menu_->AppendMenuItem(command_id, [all...] |
bookmark_context_menu.h | 47 virtual void ExecuteCommand(int command_id); 48 virtual bool IsItemChecked(int command_id) const; 49 virtual bool IsCommandEnabled(int command_id) const; 54 virtual void AddItemWithStringId(int command_id, int string_id); 56 virtual void AddCheckboxItem(int command_id, int string_id);
|
/external/chromium/chrome/browser/ui/toolbar/ |
wrench_menu_model.h | 32 virtual bool IsCommandIdChecked(int command_id) const OVERRIDE; 33 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE; 35 int command_id, 37 virtual void ExecuteCommand(int command_id) OVERRIDE; 83 virtual bool DoesCommandIdDismissMenu(int command_id) const OVERRIDE; 86 virtual bool IsItemForCommandIdDynamic(int command_id) const OVERRIDE; 87 virtual string16 GetLabelForCommandId(int command_id) const OVERRIDE; 88 virtual bool GetIconForCommandId(int command_id, 90 virtual void ExecuteCommand(int command_id) OVERRIDE; 91 virtual bool IsCommandIdChecked(int command_id) const OVERRIDE [all...] |
wrench_menu_model_unittest.cc | 20 int command_id, 38 virtual bool IsCommandIdChecked(int command_id) const { 39 bool val = WrenchMenuModel::IsCommandIdChecked(command_id); 45 virtual bool IsCommandIdEnabled(int command_id) const { 50 virtual void ExecuteCommand(int command_id) { ++execute_count_; }
|
wrench_menu_model.cc | 98 bool EncodingMenuModel::IsCommandIdChecked(int command_id) const { 104 current_tab->encoding(), command_id); 107 bool EncodingMenuModel::IsCommandIdEnabled(int command_id) const { 108 bool enabled = browser_->command_updater()->IsCommandEnabled(command_id); 119 int command_id, 124 void EncodingMenuModel::ExecuteCommand(int command_id) { 125 browser_->ExecuteCommand(command_id); 223 bool WrenchMenuModel::DoesCommandIdDismissMenu(int command_id) const { 224 return command_id != IDC_ZOOM_MINUS && command_id != IDC_ZOOM_PLUS [all...] |
/external/chromium/chrome/browser/chromeos/login/ |
language_switch_menu.h | 60 virtual bool IsCommandIdChecked(int command_id) const; 61 virtual bool IsCommandIdEnabled(int command_id) const; 62 virtual bool GetAcceleratorForCommandId(int command_id, 64 virtual void ExecuteCommand(int command_id);
|
/external/chromium/chrome/browser/extensions/ |
extension_context_menu_model.h | 48 virtual bool IsCommandIdChecked(int command_id) const; 49 virtual bool IsCommandIdEnabled(int command_id) const; 50 virtual bool GetAcceleratorForCommandId(int command_id, 52 virtual void ExecuteCommand(int command_id);
|
extension_context_menu_model.cc | 73 bool ExtensionContextMenuModel::IsCommandIdChecked(int command_id) const { 77 bool ExtensionContextMenuModel::IsCommandIdEnabled(int command_id) const { 82 if (command_id == CONFIGURE) { 84 } else if (command_id == NAME) { 88 } else if (command_id == INSPECT_POPUP) { 94 } else if (command_id == DISABLE || command_id == UNINSTALL) { 102 int command_id, ui::Accelerator* accelerator) { 106 void ExtensionContextMenuModel::ExecuteCommand(int command_id) { 111 switch (command_id) { [all...] |
/external/chromium/chrome/browser/tab_contents/ |
render_view_context_menu_gtk.cc | 38 int command_id, 47 bool RenderViewContextMenuGtk::AlwaysShowIconForCmd(int command_id) const { 48 return command_id >= IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST && 49 command_id <= IDC_EXTENSIONS_CONTEXT_CUSTOM_LAST;
|
render_view_context_menu_gtk.h | 29 virtual bool AlwaysShowIconForCmd(int command_id) const; 36 int command_id,
|
/external/chromium/chrome/browser/ui/gtk/ |
menu_gtk.h | 46 virtual bool AlwaysShowIconForCmd(int command_id) const { return false; } 52 virtual GtkWidget* GetImageForCommandId(int command_id) const; 54 static GtkWidget* GetDefaultImageForCommandId(int command_id); 65 GtkWidget* AppendMenuItemWithLabel(int command_id, const std::string& label); 66 GtkWidget* AppendMenuItemWithIcon(int command_id, const std::string& label, 68 GtkWidget* AppendCheckMenuItemWithLabel(int command_id, 71 GtkWidget* AppendMenuItem(int command_id, GtkWidget* menu_item); 134 int command_id);
|
/external/chromium/chrome/browser/ |
background_mode_manager.h | 72 virtual bool IsCommandIdChecked(int command_id) const; 73 virtual bool IsCommandIdEnabled(int command_id) const; 74 virtual bool GetAcceleratorForCommandId(int command_id, 76 virtual void ExecuteCommand(int command_id);
|
/external/chromium/chrome/browser/bookmarks/ |
bookmark_context_menu_controller.h | 60 virtual bool IsCommandIdChecked(int command_id) const; 61 virtual bool IsCommandIdEnabled(int command_id) const; 62 virtual bool GetAcceleratorForCommandId(int command_id, 64 virtual void ExecuteCommand(int command_id);
|
/external/chromium/chrome/browser/ui/cocoa/ |
accelerators_cocoa.h | 32 const ui::AcceleratorCocoa* GetAcceleratorForCommand(int command_id);
|