HomeSort by relevance Sort by last modified time
    Searched refs:command_id (Results 1 - 25 of 211) sorted by null

1 2 3 4 5 6 7 8 9

  /external/chromium_org/components/renderer_context_menu/
render_view_context_menu_observer.cc 7 bool RenderViewContextMenuObserver::IsCommandIdSupported(int command_id) {
11 bool RenderViewContextMenuObserver::IsCommandIdChecked(int command_id) {
15 bool RenderViewContextMenuObserver::IsCommandIdEnabled(int command_id) {
render_view_context_menu_observer.h 36 // virtual bool IsCommandIdSupported(int command_id) OVERRIDE;
37 // virtual bool IsCommandIdEnabled(int command_id) OVERRIDE;
38 // virtual void ExecuteCommand(int command_id) OVERRIDE;
48 // bool MyMenuObserver::IsCommandIdSupported(int command_id) {
49 // return command_id == IDC_MY_COMMAND;
52 // bool MyMenuObserver::IsCommandIdEnabled(int command_id) {
53 // DCHECK(command_id == IDC_MY_COMMAND);
57 // void MyMenuObserver::ExecuteCommand(int command_id) {
58 // DCHECK(command_id == IDC_MY_COMMAND);
92 virtual bool IsCommandIdSupported(int command_id);
    [all...]
  /external/chromium_org/chrome/browser/app_mode/
app_mode_utils.h 11 bool IsCommandAllowedInAppMode(int command_id);
  /external/chromium_org/gpu/command_buffer/common/
gles2_cmd_ids.h 17 const char* GetCommandName(CommandId command_id);
  /external/chromium_org/chrome/browser/media_galleries/
media_gallery_context_menu.cc 20 bool MediaGalleryContextMenu::IsCommandIdChecked(int command_id) const {
24 bool MediaGalleryContextMenu::IsCommandIdEnabled(int command_id) const {
28 bool MediaGalleryContextMenu::IsCommandIdVisible(int command_id) const {
33 int command_id, ui::Accelerator* accelerator) {
37 void MediaGalleryContextMenu::ExecuteCommand(int command_id, int event_flags) {
media_gallery_context_menu.h 27 virtual bool IsCommandIdChecked(int command_id) const OVERRIDE;
28 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
29 virtual bool IsCommandIdVisible(int command_id) const OVERRIDE;
31 int command_id, ui::Accelerator* accelerator) OVERRIDE;
32 virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE;
  /external/chromium_org/chrome/browser/ui/ash/launcher/
launcher_application_menu_item_model.h 27 virtual bool IsCommandActive(int command_id) const OVERRIDE;
30 virtual bool IsCommandIdChecked(int command_id) const OVERRIDE;
31 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
33 int command_id,
35 virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE;
launcher_application_menu_item_model.cc 19 bool LauncherApplicationMenuItemModel::IsCommandActive(int command_id) const {
20 DCHECK(command_id >= 0);
21 DCHECK(static_cast<size_t>(command_id) < launcher_items_.size());
22 return launcher_items_[command_id]->IsActive();
26 int command_id) const {
31 int command_id) const {
32 DCHECK(command_id < static_cast<int>(launcher_items_.size()));
33 return launcher_items_[command_id]->IsEnabled();
37 int command_id,
42 void LauncherApplicationMenuItemModel::ExecuteCommand(int command_id,
    [all...]
  /external/chromium_org/chrome/browser/status_icons/
status_icon_menu_model.cc 31 void StatusIconMenuModel::Delegate::CommandIdHighlighted(int command_id) {
44 void StatusIconMenuModel::SetCommandIdChecked(int command_id, bool checked) {
45 item_states_[command_id].checked = checked;
49 void StatusIconMenuModel::SetCommandIdEnabled(int command_id, bool enabled) {
50 item_states_[command_id].enabled = enabled;
54 void StatusIconMenuModel::SetCommandIdVisible(int command_id, bool visible) {
55 item_states_[command_id].visible = visible;
60 int command_id, const ui::Accelerator* accelerator) {
61 item_states_[command_id].accelerator = *accelerator;
65 void StatusIconMenuModel::ChangeLabelForCommandId(int command_id,
    [all...]
status_icon_menu_model.h 34 virtual void CommandIdHighlighted(int command_id);
39 virtual void ExecuteCommand(int command_id, int event_flags) = 0;
59 void SetCommandIdChecked(int command_id, bool checked);
60 void SetCommandIdEnabled(int command_id, bool enabled);
61 void SetCommandIdVisible(int command_id, bool visible);
65 int command_id, const ui::Accelerator* accelerator);
71 void ChangeLabelForCommandId(int command_id, const base::string16& label);
73 int command_id, const base::string16& sublabel);
74 void ChangeIconForCommandId(int command_id, const gfx::Image& icon);
80 virtual bool IsCommandIdChecked(int command_id) const OVERRIDE
    [all...]
  /external/chromium_org/chrome/browser/ui/views/frame/
system_menu_model_delegate.cc 28 bool SystemMenuModelDelegate::IsCommandIdChecked(int command_id) const {
29 switch (command_id) {
39 bool SystemMenuModelDelegate::IsCommandIdEnabled(int command_id) const {
40 if (!chrome::IsCommandEnabled(browser_, command_id))
43 if (command_id != IDC_RESTORE_TAB)
60 bool SystemMenuModelDelegate::GetAcceleratorForCommandId(int command_id,
62 return provider_->GetAcceleratorForCommandId(command_id, accelerator);
65 bool SystemMenuModelDelegate::IsItemForCommandIdDynamic(int command_id) const {
66 return command_id == IDC_RESTORE_TAB;
70 int command_id) const
    [all...]
system_menu_model_delegate.h 23 virtual bool IsCommandIdChecked(int command_id) const OVERRIDE;
24 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
26 int command_id,
28 virtual bool IsItemForCommandIdDynamic(int command_id) const OVERRIDE;
29 virtual base::string16 GetLabelForCommandId(int command_id) const OVERRIDE;
30 virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE;
  /external/chromium_org/chrome/test/base/
menu_model_test.h 26 virtual bool IsCommandIdChecked(int command_id) const OVERRIDE;
27 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
29 int command_id,
31 virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE;
  /external/chromium_org/components/translate/core/browser/
options_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, int event_flags) OVERRIDE;
  /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_org/ui/base/models/
simple_menu_model.h 33 virtual bool IsCommandIdChecked(int command_id) const = 0;
34 virtual bool IsCommandIdEnabled(int command_id) const = 0;
35 virtual bool IsCommandIdVisible(int command_id) const;
40 int command_id,
45 virtual bool IsItemForCommandIdDynamic(int command_id) const;
46 virtual base::string16 GetLabelForCommandId(int command_id) const;
47 virtual base::string16 GetSublabelForCommandId(int command_id) const;
48 virtual base::string16 GetMinorTextForCommandId(int command_id) const;
51 virtual bool GetIconForCommandId(int command_id,
56 virtual void CommandIdHighlighted(int command_id);
    [all...]
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...]
button_menu_item_model.h 29 virtual bool IsItemForCommandIdDynamic(int command_id) const;
30 virtual base::string16 GetLabelForCommandId(int command_id) const;
33 virtual void ExecuteCommand(int command_id, int event_flags) = 0;
34 virtual bool IsCommandIdEnabled(int command_id) const;
35 virtual bool DoesCommandIdDismissMenu(int command_id) const;
44 // Adds a button that will emit |command_id|. All buttons created through
46 void AddGroupItemWithStringId(int command_id, int string_id);
49 void AddItemWithImage(int command_id, int icon_idr);
54 void AddButtonLabel(int command_id, int string_id);
83 void ActivatedCommand(int command_id);
    [all...]
  /external/chromium_org/ash/shell/
context_menu.cc 32 bool ContextMenu::IsCommandIdChecked(int command_id) const {
33 switch (command_id) {
42 bool ContextMenu::IsCommandIdEnabled(int command_id) const {
47 int command_id,
52 void ContextMenu::ExecuteCommand(int command_id, int event_flags) {
54 switch (static_cast<MenuItem>(command_id)) {
context_menu.h 28 virtual bool IsCommandIdChecked(int command_id) const OVERRIDE;
29 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
31 int command_id,
33 virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE;
  /external/chromium_org/ash/shelf/
shelf_alignment_menu.h 26 virtual bool IsCommandIdChecked(int command_id) const OVERRIDE;
27 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
29 int command_id,
31 virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE;
  /external/chromium_org/chrome/browser/printing/
print_preview_context_menu_observer.cc 26 bool PrintPreviewContextMenuObserver::IsCommandIdSupported(int command_id) {
27 switch (command_id) {
40 bool PrintPreviewContextMenuObserver::IsCommandIdEnabled(int command_id) {
41 switch (command_id) {
  /external/chromium_org/chrome/browser/renderer_context_menu/
spellchecker_submenu_observer.h 29 virtual bool IsCommandIdSupported(int command_id) OVERRIDE;
30 virtual bool IsCommandIdChecked(int command_id) OVERRIDE;
31 virtual bool IsCommandIdEnabled(int command_id) OVERRIDE;
32 virtual void ExecuteCommand(int command_id) OVERRIDE;
  /external/chromium_org/chrome/browser/ui/bookmarks/
bookmark_context_menu_controller.h 34 int command_id,
38 virtual void DidExecuteCommand(int command_id) {}
65 virtual bool IsCommandIdChecked(int command_id) const OVERRIDE;
66 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
67 virtual bool IsCommandIdVisible(int command_id) const OVERRIDE;
69 int command_id,
71 virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE;
72 virtual bool IsItemForCommandIdDynamic(int command_id) const OVERRIDE;
73 virtual base::string16 GetLabelForCommandId(int command_id) const OVERRIDE;
  /external/chromium_org/chrome/browser/ui/website_settings/
permission_menu_model.h 34 virtual bool IsCommandIdChecked(int command_id) const OVERRIDE;
35 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
37 int command_id,
39 virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE;

Completed in 1046 milliseconds

1 2 3 4 5 6 7 8 9