IsCommandEnabled 153 ash/shelf/shelf_view.cc virtual bool IsCommandEnabled(int id) const OVERRIDE; IsCommandEnabled 754 chrome/browser/background/background_mode_manager_unittest.cc EXPECT_FALSE(IsCommandEnabled(context_menu, 0)); // P1 - CE IsCommandEnabled 755 chrome/browser/background/background_mode_manager_unittest.cc EXPECT_TRUE(IsCommandEnabled(context_menu, 1)); // P1 - CEO IsCommandEnabled 756 chrome/browser/background/background_mode_manager_unittest.cc EXPECT_TRUE(IsCommandEnabled(context_menu, 2)); // P1 - RE IsCommandEnabled 757 chrome/browser/background/background_mode_manager_unittest.cc EXPECT_TRUE(IsCommandEnabled(context_menu, 3)); // P1 - REO IsCommandEnabled 758 chrome/browser/background/background_mode_manager_unittest.cc EXPECT_TRUE(IsCommandEnabled(context_menu, 4)); // P1 IsCommandEnabled 759 chrome/browser/background/background_mode_manager_unittest.cc EXPECT_FALSE(IsCommandEnabled(context_menu, 5)); // P2 - CE IsCommandEnabled 760 chrome/browser/background/background_mode_manager_unittest.cc EXPECT_TRUE(IsCommandEnabled(context_menu, 6)); // P2 - RE IsCommandEnabled 761 chrome/browser/background/background_mode_manager_unittest.cc EXPECT_TRUE(IsCommandEnabled(context_menu, 7)); // P2 - REO IsCommandEnabled 762 chrome/browser/background/background_mode_manager_unittest.cc EXPECT_TRUE(IsCommandEnabled(context_menu, 8)); // P2 IsCommandEnabled 49 chrome/browser/command_updater.cc if (SupportsCommand(id) && IsCommandEnabled(id)) { IsCommandEnabled 35 chrome/browser/command_updater.h bool IsCommandEnabled(int id) const; IsCommandEnabled 40 chrome/browser/command_updater_unittest.cc EXPECT_FALSE(command_updater.IsCommandEnabled(0)); IsCommandEnabled 48 chrome/browser/command_updater_unittest.cc EXPECT_TRUE(command_updater.IsCommandEnabled(1)); IsCommandEnabled 54 chrome/browser/command_updater_unittest.cc EXPECT_FALSE(command_updater.IsCommandEnabled(2)); IsCommandEnabled 1813 chrome/browser/policy/policy_browsertest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_DEV_TOOLS)); IsCommandEnabled 1814 chrome/browser/policy/policy_browsertest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_DEV_TOOLS_CONSOLE)); IsCommandEnabled 1815 chrome/browser/policy/policy_browsertest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_DEV_TOOLS_DEVICES)); IsCommandEnabled 1826 chrome/browser/policy/policy_browsertest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_DEV_TOOLS)); IsCommandEnabled 1827 chrome/browser/policy/policy_browsertest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_DEV_TOOLS_CONSOLE)); IsCommandEnabled 1828 chrome/browser/policy/policy_browsertest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_DEV_TOOLS_DEVICES)); IsCommandEnabled 1041 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); IsCommandEnabled 1052 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); IsCommandEnabled 1066 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); IsCommandEnabled 1080 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); IsCommandEnabled 1090 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); IsCommandEnabled 1094 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); IsCommandEnabled 1098 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); IsCommandEnabled 1102 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_CREATE_SHORTCUTS)); IsCommandEnabled 1523 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_FORWARD)); IsCommandEnabled 1533 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_FORWARD)); IsCommandEnabled 1542 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_NEW_WINDOW)); IsCommandEnabled 1543 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_NEW_INCOGNITO_WINDOW)); IsCommandEnabled 1544 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_SHOW_BOOKMARK_MANAGER)); IsCommandEnabled 1545 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_IMPORT_SETTINGS)); IsCommandEnabled 1546 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_MANAGE_EXTENSIONS)); IsCommandEnabled 1547 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_OPTIONS)); IsCommandEnabled 1553 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_NEW_WINDOW)); IsCommandEnabled 1554 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_SHOW_BOOKMARK_MANAGER)); IsCommandEnabled 1555 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_IMPORT_SETTINGS)); IsCommandEnabled 1556 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_MANAGE_EXTENSIONS)); IsCommandEnabled 1557 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_OPTIONS)); IsCommandEnabled 1559 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_NEW_INCOGNITO_WINDOW)); IsCommandEnabled 1569 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(new_command_updater->IsCommandEnabled(IDC_NEW_WINDOW)); IsCommandEnabled 1570 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(new_command_updater->IsCommandEnabled( IsCommandEnabled 1572 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(new_command_updater->IsCommandEnabled(IDC_IMPORT_SETTINGS)); IsCommandEnabled 1573 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(new_command_updater->IsCommandEnabled(IDC_MANAGE_EXTENSIONS)); IsCommandEnabled 1574 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(new_command_updater->IsCommandEnabled(IDC_OPTIONS)); IsCommandEnabled 1575 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(new_command_updater->IsCommandEnabled(IDC_NEW_INCOGNITO_WINDOW)); IsCommandEnabled 1589 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_NEW_INCOGNITO_WINDOW)); IsCommandEnabled 1590 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_NEW_WINDOW)); IsCommandEnabled 1591 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_SHOW_BOOKMARK_MANAGER)); IsCommandEnabled 1592 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_IMPORT_SETTINGS)); IsCommandEnabled 1593 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_MANAGE_EXTENSIONS)); IsCommandEnabled 1594 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_OPTIONS)); IsCommandEnabled 1602 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(new_command_updater->IsCommandEnabled(IDC_NEW_INCOGNITO_WINDOW)); IsCommandEnabled 1603 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(new_command_updater->IsCommandEnabled(IDC_NEW_WINDOW)); IsCommandEnabled 1604 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(new_command_updater->IsCommandEnabled(IDC_SHOW_BOOKMARK_MANAGER)); IsCommandEnabled 1605 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(new_command_updater->IsCommandEnabled(IDC_IMPORT_SETTINGS)); IsCommandEnabled 1606 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(new_command_updater->IsCommandEnabled(IDC_MANAGE_EXTENSIONS)); IsCommandEnabled 1607 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(new_command_updater->IsCommandEnabled(IDC_OPTIONS)); IsCommandEnabled 1623 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_MANAGE_EXTENSIONS)); IsCommandEnabled 1624 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_NEW_WINDOW)); IsCommandEnabled 1625 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_SHOW_BOOKMARK_MANAGER)); IsCommandEnabled 1626 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_IMPORT_SETTINGS)); IsCommandEnabled 1627 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_OPTIONS)); IsCommandEnabled 1636 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(popup_command_updater->IsCommandEnabled(IDC_MANAGE_EXTENSIONS)); IsCommandEnabled 1637 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(popup_command_updater->IsCommandEnabled(IDC_OPTIONS)); IsCommandEnabled 1638 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(popup_command_updater->IsCommandEnabled( IsCommandEnabled 1640 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(popup_command_updater->IsCommandEnabled(IDC_IMPORT_SETTINGS)); IsCommandEnabled 1654 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_OPTIONS)); IsCommandEnabled 1655 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_IMPORT_SETTINGS)); IsCommandEnabled 1661 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_OPTIONS)); IsCommandEnabled 1662 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_IMPORT_SETTINGS)); IsCommandEnabled 1667 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_OPTIONS)); IsCommandEnabled 1668 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_IMPORT_SETTINGS)); IsCommandEnabled 1750 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_VIEW_SOURCE)); IsCommandEnabled 1751 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_PRINT)); IsCommandEnabled 1752 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_SAVE_PAGE)); IsCommandEnabled 1753 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_ENCODING_MENU)); IsCommandEnabled 1771 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_VIEW_SOURCE)); IsCommandEnabled 1772 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_PRINT)); IsCommandEnabled 1773 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_SAVE_PAGE)); IsCommandEnabled 1774 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_ENCODING_MENU)); IsCommandEnabled 1788 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_VIEW_SOURCE)); IsCommandEnabled 1789 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_PRINT)); IsCommandEnabled 1790 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_SAVE_PAGE)); IsCommandEnabled 1791 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_ENCODING_MENU)); IsCommandEnabled 362 chrome/browser/ui/browser_command_controller.cc DCHECK(command_updater_.IsCommandEnabled(id)) << "Invalid/disabled command " IsCommandEnabled 19 chrome/browser/ui/browser_command_controller_browsertest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FIND)); IsCommandEnabled 27 chrome/browser/ui/browser_command_controller_browsertest.cc EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_FIND)); IsCommandEnabled 31 chrome/browser/ui/browser_command_controller_browsertest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FIND)); IsCommandEnabled 35 chrome/browser/ui/browser_command_controller_browsertest.cc EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_FIND)); IsCommandEnabled 40 chrome/browser/ui/browser_command_controller_browsertest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FIND)); IsCommandEnabled 137 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FULLSCREEN)); IsCommandEnabled 143 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FULLSCREEN)); IsCommandEnabled 169 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU)); IsCommandEnabled 175 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU)); IsCommandEnabled 177 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU)); IsCommandEnabled 182 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU)); IsCommandEnabled 215 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU)); IsCommandEnabled 217 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU)); IsCommandEnabled 261 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU)); IsCommandEnabled 263 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU)); IsCommandEnabled 298 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU)); IsCommandEnabled 305 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_SHOW_AVATAR_MENU)); IsCommandEnabled 356 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_OPEN_CURRENT_URL)); IsCommandEnabled 357 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_SHOW_AS_TAB)); IsCommandEnabled 358 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_TOOLBAR)); IsCommandEnabled 359 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_LOCATION)); IsCommandEnabled 360 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_SEARCH)); IsCommandEnabled 361 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_MENU_BAR)); IsCommandEnabled 362 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_NEXT_PANE)); IsCommandEnabled 363 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_PREVIOUS_PANE)); IsCommandEnabled 364 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_BOOKMARKS)); IsCommandEnabled 365 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_DEVELOPER_MENU)); IsCommandEnabled 367 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FEEDBACK)); IsCommandEnabled 369 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_OPTIONS)); IsCommandEnabled 370 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_IMPORT_SETTINGS)); IsCommandEnabled 371 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_EDIT_SEARCH_ENGINES)); IsCommandEnabled 372 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_VIEW_PASSWORDS)); IsCommandEnabled 373 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ABOUT)); IsCommandEnabled 374 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_SHOW_APP_MENU)); IsCommandEnabled 375 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FULLSCREEN)); IsCommandEnabled 383 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_OPEN_CURRENT_URL)); IsCommandEnabled 384 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_SHOW_AS_TAB)); IsCommandEnabled 385 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_TOOLBAR)); IsCommandEnabled 386 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_LOCATION)); IsCommandEnabled 387 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_SEARCH)); IsCommandEnabled 388 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_MENU_BAR)); IsCommandEnabled 389 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_NEXT_PANE)); IsCommandEnabled 390 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_PREVIOUS_PANE)); IsCommandEnabled 391 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_BOOKMARKS)); IsCommandEnabled 392 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_DEVELOPER_MENU)); IsCommandEnabled 394 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_FEEDBACK)); IsCommandEnabled 396 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_OPTIONS)); IsCommandEnabled 397 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_IMPORT_SETTINGS)); IsCommandEnabled 398 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_EDIT_SEARCH_ENGINES)); IsCommandEnabled 399 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_VIEW_PASSWORDS)); IsCommandEnabled 400 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_ABOUT)); IsCommandEnabled 401 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_SHOW_APP_MENU)); IsCommandEnabled 402 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FULLSCREEN)); IsCommandEnabled 408 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_OPEN_CURRENT_URL)); IsCommandEnabled 409 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(chrome::IsCommandEnabled(browser(), IDC_SHOW_AS_TAB)); IsCommandEnabled 410 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_TOOLBAR)); IsCommandEnabled 411 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_LOCATION)); IsCommandEnabled 412 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_SEARCH)); IsCommandEnabled 413 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_MENU_BAR)); IsCommandEnabled 414 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_NEXT_PANE)); IsCommandEnabled 415 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_PREVIOUS_PANE)); IsCommandEnabled 416 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_BOOKMARKS)); IsCommandEnabled 417 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_DEVELOPER_MENU)); IsCommandEnabled 419 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FEEDBACK)); IsCommandEnabled 421 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_OPTIONS)); IsCommandEnabled 422 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_IMPORT_SETTINGS)); IsCommandEnabled 423 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_EDIT_SEARCH_ENGINES)); IsCommandEnabled 424 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_VIEW_PASSWORDS)); IsCommandEnabled 425 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ABOUT)); IsCommandEnabled 426 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_SHOW_APP_MENU)); IsCommandEnabled 427 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FULLSCREEN)); IsCommandEnabled 457 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_SHOW_SYNC_SETUP)); IsCommandEnabled 459 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_SHOW_SYNC_SETUP)); IsCommandEnabled 472 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_TRUE(command_updater->IsCommandEnabled(IDC_SHOW_SYNC_SETUP)); IsCommandEnabled 474 chrome/browser/ui/browser_command_controller_unittest.cc EXPECT_FALSE(command_updater->IsCommandEnabled(IDC_SHOW_SYNC_SETUP)); IsCommandEnabled 275 chrome/browser/ui/browser_commands.cc return browser->command_controller()->command_updater()->IsCommandEnabled( IsCommandEnabled 31 chrome/browser/ui/browser_commands.h bool IsCommandEnabled(Browser* browser, int command); IsCommandEnabled 65 chrome/browser/ui/gtk/avatar_menu_button_gtk.cc DCHECK(chrome::IsCommandEnabled(browser_, IDC_SHOW_AVATAR_MENU)); IsCommandEnabled 995 chrome/browser/ui/gtk/browser_titlebar.cc return chrome::IsCommandEnabled(browser_window_->browser(), command_id); IsCommandEnabled 179 chrome/browser/ui/gtk/global_menu_bar.cc chrome::IsCommandEnabled(browser_, it->first)); IsCommandEnabled 1205 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc command_updater()->IsCommandEnabled(IDC_EDIT_SEARCH_ENGINES)); IsCommandEnabled 585 chrome/browser/ui/omnibox/omnibox_edit_model.cc if (!view_->command_updater()->IsCommandEnabled(IDC_OPEN_CURRENT_URL)) IsCommandEnabled 361 chrome/browser/ui/panels/panel.cc DCHECK(command_updater_.IsCommandEnabled(id)) << "Invalid/disabled command " IsCommandEnabled 747 chrome/browser/ui/panels/panel.cc command_updater()->IsCommandEnabled(id)) { IsCommandEnabled 144 chrome/browser/ui/toolbar/wrench_menu_model.cc bool enabled = chrome::IsCommandEnabled(browser_, command_id); IsCommandEnabled 149 chrome/browser/ui/toolbar/wrench_menu_model.cc enabled &= chrome::IsCommandEnabled(browser_, IDC_ENCODING_MENU); IsCommandEnabled 401 chrome/browser/ui/toolbar/wrench_menu_model.cc return chrome::IsCommandEnabled(browser_, command_id); IsCommandEnabled 492 chrome/browser/ui/views/avatar_menu_bubble_view.cc DCHECK(chrome::IsCommandEnabled(browser, IDC_SHOW_AVATAR_MENU)); IsCommandEnabled 63 chrome/browser/ui/views/bookmarks/bookmark_context_menu.h virtual bool IsCommandEnabled(int command_id) const OVERRIDE; IsCommandEnabled 121 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc ASSERT_TRUE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_REMOVE)); IsCommandEnabled 153 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc EXPECT_FALSE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL)); IsCommandEnabled 155 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW)); IsCommandEnabled 157 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO)); IsCommandEnabled 158 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc EXPECT_FALSE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_REMOVE)); IsCommandEnabled 160 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc controller.IsCommandEnabled(IDC_BOOKMARK_BAR_ADD_NEW_BOOKMARK)); IsCommandEnabled 162 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc controller.IsCommandEnabled(IDC_BOOKMARK_BAR_NEW_FOLDER)); IsCommandEnabled 172 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc EXPECT_TRUE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL)); IsCommandEnabled 174 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW)); IsCommandEnabled 175 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc EXPECT_TRUE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO)); IsCommandEnabled 176 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc EXPECT_TRUE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_REMOVE)); IsCommandEnabled 178 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc controller.IsCommandEnabled(IDC_BOOKMARK_BAR_ADD_NEW_BOOKMARK)); IsCommandEnabled 180 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc controller.IsCommandEnabled(IDC_BOOKMARK_BAR_NEW_FOLDER)); IsCommandEnabled 191 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc EXPECT_TRUE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL)); IsCommandEnabled 193 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW)); IsCommandEnabled 194 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc EXPECT_TRUE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO)); IsCommandEnabled 195 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc EXPECT_TRUE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_REMOVE)); IsCommandEnabled 197 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc controller.IsCommandEnabled(IDC_BOOKMARK_BAR_ADD_NEW_BOOKMARK)); IsCommandEnabled 199 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc controller.IsCommandEnabled(IDC_BOOKMARK_BAR_NEW_FOLDER)); IsCommandEnabled 209 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc EXPECT_FALSE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL)); IsCommandEnabled 211 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW)); IsCommandEnabled 213 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO)); IsCommandEnabled 214 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc EXPECT_TRUE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_REMOVE)); IsCommandEnabled 216 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc controller.IsCommandEnabled(IDC_BOOKMARK_BAR_ADD_NEW_BOOKMARK)); IsCommandEnabled 218 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc controller.IsCommandEnabled(IDC_BOOKMARK_BAR_NEW_FOLDER)); IsCommandEnabled 229 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc EXPECT_FALSE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL)); IsCommandEnabled 231 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW)); IsCommandEnabled 233 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO)); IsCommandEnabled 234 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc EXPECT_TRUE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_REMOVE)); IsCommandEnabled 236 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc controller.IsCommandEnabled(IDC_BOOKMARK_BAR_ADD_NEW_BOOKMARK)); IsCommandEnabled 238 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc controller.IsCommandEnabled(IDC_BOOKMARK_BAR_NEW_FOLDER)); IsCommandEnabled 249 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc EXPECT_TRUE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL)); IsCommandEnabled 251 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW)); IsCommandEnabled 252 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc EXPECT_TRUE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO)); IsCommandEnabled 253 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc EXPECT_TRUE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_REMOVE)); IsCommandEnabled 255 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc controller.IsCommandEnabled(IDC_BOOKMARK_BAR_ADD_NEW_BOOKMARK)); IsCommandEnabled 257 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc controller.IsCommandEnabled(IDC_BOOKMARK_BAR_NEW_FOLDER)); IsCommandEnabled 270 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc EXPECT_FALSE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_INCOGNITO)); IsCommandEnabled 272 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO)); IsCommandEnabled 281 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc EXPECT_FALSE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_EDIT)); IsCommandEnabled 282 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc EXPECT_FALSE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_REMOVE)); IsCommandEnabled 291 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc EXPECT_FALSE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL)); IsCommandEnabled 293 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW)); IsCommandEnabled 295 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO)); IsCommandEnabled 296 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc EXPECT_FALSE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_REMOVE)); IsCommandEnabled 298 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc controller.IsCommandEnabled(IDC_BOOKMARK_BAR_ADD_NEW_BOOKMARK)); IsCommandEnabled 300 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc controller.IsCommandEnabled(IDC_BOOKMARK_BAR_NEW_FOLDER)); IsCommandEnabled 309 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc EXPECT_TRUE(controller->IsCommandEnabled(IDC_COPY)); IsCommandEnabled 310 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc EXPECT_TRUE(controller->IsCommandEnabled(IDC_CUT)); IsCommandEnabled 55 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.h virtual bool IsCommandEnabled(int id) const OVERRIDE; IsCommandEnabled 398 chrome/browser/ui/views/frame/global_menu_bar_x11.cc chrome::IsCommandEnabled(browser_, it->first)); IsCommandEnabled 202 chrome/browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_OPEN_CURRENT_URL)); IsCommandEnabled 203 chrome/browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ABOUT)); IsCommandEnabled 204 chrome/browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_LOCATION)); IsCommandEnabled 208 chrome/browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_OPEN_CURRENT_URL)); IsCommandEnabled 209 chrome/browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ABOUT)); IsCommandEnabled 210 chrome/browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc EXPECT_TRUE(chrome::IsCommandEnabled(browser(), IDC_FOCUS_LOCATION)); IsCommandEnabled 40 chrome/browser/ui/views/frame/system_menu_model_delegate.cc return chrome::IsCommandEnabled(browser_, command_id); IsCommandEnabled 760 chrome/browser/ui/views/omnibox/omnibox_view_views.cc command_updater()->IsCommandEnabled(command_id); IsCommandEnabled 92 chrome/browser/ui/views/toolbar/wrench_menu.h virtual bool IsCommandEnabled(int command_id) const OVERRIDE; IsCommandEnabled 65 chrome/browser/ui/webui/print_preview/print_preview_ui_browsertest.cc ASSERT_TRUE(chrome::IsCommandEnabled(browser(), IDC_PRINT)); IsCommandEnabled 68 chrome/browser/ui/webui/print_preview/print_preview_ui_browsertest.cc ASSERT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ADVANCED_PRINT)); IsCommandEnabled 74 chrome/browser/ui/webui/print_preview/print_preview_ui_browsertest.cc ASSERT_FALSE(chrome::IsCommandEnabled(browser(), IDC_PRINT)); IsCommandEnabled 77 chrome/browser/ui/webui/print_preview/print_preview_ui_browsertest.cc ASSERT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ADVANCED_PRINT)); IsCommandEnabled 84 chrome/browser/ui/webui/print_preview/print_preview_ui_browsertest.cc ASSERT_TRUE(chrome::IsCommandEnabled(browser(), IDC_PRINT)); IsCommandEnabled 87 chrome/browser/ui/webui/print_preview/print_preview_ui_browsertest.cc ASSERT_TRUE(chrome::IsCommandEnabled(browser(), IDC_ADVANCED_PRINT)); IsCommandEnabled 142 content/shell/renderer/test_runner/test_runner.cc bool IsCommandEnabled(const std::string& command); IsCommandEnabled 329 content/shell/renderer/test_runner/test_runner.cc .SetMethod("isCommandEnabled", &TestRunnerBindings::IsCommandEnabled) IsCommandEnabled 635 content/shell/renderer/test_runner/test_runner.cc return runner_->IsCommandEnabled(command); IsCommandEnabled 214 content/shell/renderer/test_runner/test_runner.h bool IsCommandEnabled(const std::string& command); IsCommandEnabled 110 ui/views/controls/combobox/combobox.h virtual bool IsCommandEnabled(int id) const OVERRIDE; IsCommandEnabled 96 ui/views/controls/menu/menu.h virtual bool IsCommandEnabled(int id) const; IsCommandEnabled 117 ui/views/controls/menu/menu_delegate.h virtual bool IsCommandEnabled(int id) const; IsCommandEnabled 649 ui/views/controls/menu/menu_item_view.cc SetEnabled(root_delegate->IsCommandEnabled(command)); IsCommandEnabled 73 ui/views/controls/menu/menu_model_adapter.h virtual bool IsCommandEnabled(int id) const OVERRIDE; IsCommandEnabled 97 ui/views/controls/scrollbar/base_scroll_bar.h virtual bool IsCommandEnabled(int id) const OVERRIDE;