Lines Matching refs:command_updater_
209 command_updater_(this), in Browser()
1121 return command_updater_.IsCommandEnabled(IDC_RESTORE_TAB); in CanRestoreTab()
1158 command_updater_.UpdateCommandEnabled(IDC_OPEN_CURRENT_URL, show_main_ui); in UpdateCommandsForFullscreenMode()
1161 command_updater_.UpdateCommandEnabled(IDC_SHOW_AS_TAB, in UpdateCommandsForFullscreenMode()
1165 command_updater_.UpdateCommandEnabled(IDC_FOCUS_TOOLBAR, show_main_ui); in UpdateCommandsForFullscreenMode()
1166 command_updater_.UpdateCommandEnabled(IDC_FOCUS_LOCATION, show_main_ui); in UpdateCommandsForFullscreenMode()
1167 command_updater_.UpdateCommandEnabled(IDC_FOCUS_SEARCH, show_main_ui); in UpdateCommandsForFullscreenMode()
1168 command_updater_.UpdateCommandEnabled( in UpdateCommandsForFullscreenMode()
1170 command_updater_.UpdateCommandEnabled( in UpdateCommandsForFullscreenMode()
1172 command_updater_.UpdateCommandEnabled( in UpdateCommandsForFullscreenMode()
1174 command_updater_.UpdateCommandEnabled( in UpdateCommandsForFullscreenMode()
1176 command_updater_.UpdateCommandEnabled( in UpdateCommandsForFullscreenMode()
1180 command_updater_.UpdateCommandEnabled(IDC_DEVELOPER_MENU, show_main_ui); in UpdateCommandsForFullscreenMode()
1181 command_updater_.UpdateCommandEnabled(IDC_FEEDBACK, show_main_ui); in UpdateCommandsForFullscreenMode()
1182 command_updater_.UpdateCommandEnabled(IDC_SHOW_BOOKMARK_BAR, in UpdateCommandsForFullscreenMode()
1184 command_updater_.UpdateCommandEnabled(IDC_IMPORT_SETTINGS, show_main_ui); in UpdateCommandsForFullscreenMode()
1185 command_updater_.UpdateCommandEnabled(IDC_SYNC_BOOKMARKS, in UpdateCommandsForFullscreenMode()
1188 command_updater_.UpdateCommandEnabled(IDC_OPTIONS, show_main_ui); in UpdateCommandsForFullscreenMode()
1189 command_updater_.UpdateCommandEnabled(IDC_EDIT_SEARCH_ENGINES, show_main_ui); in UpdateCommandsForFullscreenMode()
1190 command_updater_.UpdateCommandEnabled(IDC_VIEW_PASSWORDS, show_main_ui); in UpdateCommandsForFullscreenMode()
1191 command_updater_.UpdateCommandEnabled(IDC_ABOUT, show_main_ui); in UpdateCommandsForFullscreenMode()
1192 command_updater_.UpdateCommandEnabled(IDC_SHOW_APP_MENU, show_main_ui); in UpdateCommandsForFullscreenMode()
1193 command_updater_.UpdateCommandEnabled(IDC_TOGGLE_VERTICAL_TABS, show_main_ui); in UpdateCommandsForFullscreenMode()
1195 command_updater_.UpdateCommandEnabled(IDC_PROFILING_ENABLED, show_main_ui); in UpdateCommandsForFullscreenMode()
2169 DCHECK(command_updater_.IsCommandEnabled(id)) << "Invalid/disabled command " in ExecuteCommandWithDisposition()
2346 if (command_updater_.SupportsCommand(id) && in ExecuteCommandIfEnabled()
2347 command_updater_.IsCommandEnabled(id)) { in ExecuteCommandIfEnabled()
3485 command_updater_.UpdateCommandEnabled(IDC_SYNC_BOOKMARKS, in OnStateChanged()
3555 command_updater_.UpdateCommandEnabled(IDC_RELOAD, true); in InitCommandState()
3556 command_updater_.UpdateCommandEnabled(IDC_RELOAD_IGNORING_CACHE, true); in InitCommandState()
3559 command_updater_.UpdateCommandEnabled(IDC_NEW_WINDOW, true); in InitCommandState()
3560 command_updater_.UpdateCommandEnabled(IDC_NEW_INCOGNITO_WINDOW, in InitCommandState()
3562 command_updater_.UpdateCommandEnabled(IDC_CLOSE_WINDOW, true); in InitCommandState()
3563 command_updater_.UpdateCommandEnabled(IDC_NEW_TAB, true); in InitCommandState()
3564 command_updater_.UpdateCommandEnabled(IDC_CLOSE_TAB, true); in InitCommandState()
3565 command_updater_.UpdateCommandEnabled(IDC_DUPLICATE_TAB, true); in InitCommandState()
3566 command_updater_.UpdateCommandEnabled(IDC_RESTORE_TAB, false); in InitCommandState()
3567 command_updater_.UpdateCommandEnabled(IDC_EXIT, true); in InitCommandState()
3568 command_updater_.UpdateCommandEnabled(IDC_TOGGLE_VERTICAL_TABS, true); in InitCommandState()
3571 command_updater_.UpdateCommandEnabled(IDC_EMAIL_PAGE_LOCATION, true); in InitCommandState()
3572 command_updater_.UpdateCommandEnabled(IDC_ENCODING_AUTO_DETECT, true); in InitCommandState()
3573 command_updater_.UpdateCommandEnabled(IDC_ENCODING_UTF8, true); in InitCommandState()
3574 command_updater_.UpdateCommandEnabled(IDC_ENCODING_UTF16LE, true); in InitCommandState()
3575 command_updater_.UpdateCommandEnabled(IDC_ENCODING_ISO88591, true); in InitCommandState()
3576 command_updater_.UpdateCommandEnabled(IDC_ENCODING_WINDOWS1252, true); in InitCommandState()
3577 command_updater_.UpdateCommandEnabled(IDC_ENCODING_GBK, true); in InitCommandState()
3578 command_updater_.UpdateCommandEnabled(IDC_ENCODING_GB18030, true); in InitCommandState()
3579 command_updater_.UpdateCommandEnabled(IDC_ENCODING_BIG5HKSCS, true); in InitCommandState()
3580 command_updater_.UpdateCommandEnabled(IDC_ENCODING_BIG5, true); in InitCommandState()
3581 command_updater_.UpdateCommandEnabled(IDC_ENCODING_THAI, true); in InitCommandState()
3582 command_updater_.UpdateCommandEnabled(IDC_ENCODING_KOREAN, true); in InitCommandState()
3583 command_updater_.UpdateCommandEnabled(IDC_ENCODING_SHIFTJIS, true); in InitCommandState()
3584 command_updater_.UpdateCommandEnabled(IDC_ENCODING_ISO2022JP, true); in InitCommandState()
3585 command_updater_.UpdateCommandEnabled(IDC_ENCODING_EUCJP, true); in InitCommandState()
3586 command_updater_.UpdateCommandEnabled(IDC_ENCODING_ISO885915, true); in InitCommandState()
3587 command_updater_.UpdateCommandEnabled(IDC_ENCODING_MACINTOSH, true); in InitCommandState()
3588 command_updater_.UpdateCommandEnabled(IDC_ENCODING_ISO88592, true); in InitCommandState()
3589 command_updater_.UpdateCommandEnabled(IDC_ENCODING_WINDOWS1250, true); in InitCommandState()
3590 command_updater_.UpdateCommandEnabled(IDC_ENCODING_ISO88595, true); in InitCommandState()
3591 command_updater_.UpdateCommandEnabled(IDC_ENCODING_WINDOWS1251, true); in InitCommandState()
3592 command_updater_.UpdateCommandEnabled(IDC_ENCODING_KOI8R, true); in InitCommandState()
3593 command_updater_.UpdateCommandEnabled(IDC_ENCODING_KOI8U, true); in InitCommandState()
3594 command_updater_.UpdateCommandEnabled(IDC_ENCODING_ISO88597, true); in InitCommandState()
3595 command_updater_.UpdateCommandEnabled(IDC_ENCODING_WINDOWS1253, true); in InitCommandState()
3596 command_updater_.UpdateCommandEnabled(IDC_ENCODING_ISO88594, true); in InitCommandState()
3597 command_updater_.UpdateCommandEnabled(IDC_ENCODING_ISO885913, true); in InitCommandState()
3598 command_updater_.UpdateCommandEnabled(IDC_ENCODING_WINDOWS1257, true); in InitCommandState()
3599 command_updater_.UpdateCommandEnabled(IDC_ENCODING_ISO88593, true); in InitCommandState()
3600 command_updater_.UpdateCommandEnabled(IDC_ENCODING_ISO885910, true); in InitCommandState()
3601 command_updater_.UpdateCommandEnabled(IDC_ENCODING_ISO885914, true); in InitCommandState()
3602 command_updater_.UpdateCommandEnabled(IDC_ENCODING_ISO885916, true); in InitCommandState()
3603 command_updater_.UpdateCommandEnabled(IDC_ENCODING_WINDOWS1254, true); in InitCommandState()
3604 command_updater_.UpdateCommandEnabled(IDC_ENCODING_ISO88596, true); in InitCommandState()
3605 command_updater_.UpdateCommandEnabled(IDC_ENCODING_WINDOWS1256, true); in InitCommandState()
3606 command_updater_.UpdateCommandEnabled(IDC_ENCODING_ISO88598, true); in InitCommandState()
3607 command_updater_.UpdateCommandEnabled(IDC_ENCODING_ISO88598I, true); in InitCommandState()
3608 command_updater_.UpdateCommandEnabled(IDC_ENCODING_WINDOWS1255, true); in InitCommandState()
3609 command_updater_.UpdateCommandEnabled(IDC_ENCODING_WINDOWS1258, true); in InitCommandState()
3612 command_updater_.UpdateCommandEnabled(IDC_ZOOM_MENU, true); in InitCommandState()
3613 command_updater_.UpdateCommandEnabled(IDC_ZOOM_PLUS, true); in InitCommandState()
3614 command_updater_.UpdateCommandEnabled(IDC_ZOOM_NORMAL, true); in InitCommandState()
3615 command_updater_.UpdateCommandEnabled(IDC_ZOOM_MINUS, true); in InitCommandState()
3618 command_updater_.UpdateCommandEnabled(IDC_OPEN_FILE, true); in InitCommandState()
3619 command_updater_.UpdateCommandEnabled(IDC_CREATE_SHORTCUTS, false); in InitCommandState()
3621 command_updater_.UpdateCommandEnabled(IDC_TASK_MANAGER, true); in InitCommandState()
3622 command_updater_.UpdateCommandEnabled(IDC_SHOW_HISTORY, true); in InitCommandState()
3623 command_updater_.UpdateCommandEnabled(IDC_SHOW_BOOKMARK_MANAGER, in InitCommandState()
3625 command_updater_.UpdateCommandEnabled(IDC_SHOW_DOWNLOADS, true); in InitCommandState()
3626 command_updater_.UpdateCommandEnabled(IDC_HELP_PAGE, true); in InitCommandState()
3627 command_updater_.UpdateCommandEnabled(IDC_IMPORT_SETTINGS, true); in InitCommandState()
3630 command_updater_.UpdateCommandEnabled(IDC_FILE_MANAGER, true); in InitCommandState()
3631 command_updater_.UpdateCommandEnabled(IDC_SEARCH, true); in InitCommandState()
3632 command_updater_.UpdateCommandEnabled(IDC_SHOW_KEYBOARD_OVERLAY, true); in InitCommandState()
3633 command_updater_.UpdateCommandEnabled(IDC_SYSTEM_OPTIONS, true); in InitCommandState()
3634 command_updater_.UpdateCommandEnabled(IDC_INTERNET_OPTIONS, true); in InitCommandState()
3640 command_updater_.UpdateCommandEnabled(IDC_MANAGE_EXTENSIONS, in InitCommandState()
3648 command_updater_.UpdateCommandEnabled(IDC_HOME, normal_window); in InitCommandState()
3651 command_updater_.UpdateCommandEnabled(IDC_FULLSCREEN, in InitCommandState()
3653 command_updater_.UpdateCommandEnabled(IDC_SELECT_NEXT_TAB, normal_window); in InitCommandState()
3654 command_updater_.UpdateCommandEnabled(IDC_SELECT_PREVIOUS_TAB, in InitCommandState()
3656 command_updater_.UpdateCommandEnabled(IDC_MOVE_TAB_NEXT, normal_window); in InitCommandState()
3657 command_updater_.UpdateCommandEnabled(IDC_MOVE_TAB_PREVIOUS, normal_window); in InitCommandState()
3658 command_updater_.UpdateCommandEnabled(IDC_SELECT_TAB_0, normal_window); in InitCommandState()
3659 command_updater_.UpdateCommandEnabled(IDC_SELECT_TAB_1, normal_window); in InitCommandState()
3660 command_updater_.UpdateCommandEnabled(IDC_SELECT_TAB_2, normal_window); in InitCommandState()
3661 command_updater_.UpdateCommandEnabled(IDC_SELECT_TAB_3, normal_window); in InitCommandState()
3662 command_updater_.UpdateCommandEnabled(IDC_SELECT_TAB_4, normal_window); in InitCommandState()
3663 command_updater_.UpdateCommandEnabled(IDC_SELECT_TAB_5, normal_window); in InitCommandState()
3664 command_updater_.UpdateCommandEnabled(IDC_SELECT_TAB_6, normal_window); in InitCommandState()
3665 command_updater_.UpdateCommandEnabled(IDC_SELECT_TAB_7, normal_window); in InitCommandState()
3666 command_updater_.UpdateCommandEnabled(IDC_SELECT_LAST_TAB, normal_window); in InitCommandState()
3668 command_updater_.UpdateCommandEnabled(IDC_TABPOSE, normal_window); in InitCommandState()
3672 command_updater_.UpdateCommandEnabled(IDC_COPY_URL, non_devtools_window); in InitCommandState()
3675 command_updater_.UpdateCommandEnabled(IDC_FIND, non_devtools_window); in InitCommandState()
3676 command_updater_.UpdateCommandEnabled(IDC_FIND_NEXT, non_devtools_window); in InitCommandState()
3677 command_updater_.UpdateCommandEnabled(IDC_FIND_PREVIOUS, non_devtools_window); in InitCommandState()
3680 command_updater_.UpdateCommandEnabled(IDC_AUTOFILL_DEFAULT, in InitCommandState()
3684 command_updater_.UpdateCommandEnabled(IDC_CLEAR_BROWSING_DATA, normal_window); in InitCommandState()
3689 command_updater_.UpdateCommandEnabled(IDC_UPGRADE_DIALOG, true); in InitCommandState()
3690 command_updater_.UpdateCommandEnabled(IDC_VIEW_INCOMPATIBILITIES, true); in InitCommandState()
3694 command_updater_.UpdateCommandEnabled(IDC_VIEW_BACKGROUND_PAGES, true); in InitCommandState()
3712 command_updater_.UpdateCommandEnabled(IDC_BACK, nc.CanGoBack()); in UpdateCommandsForTabState()
3713 command_updater_.UpdateCommandEnabled(IDC_FORWARD, nc.CanGoForward()); in UpdateCommandsForTabState()
3714 command_updater_.UpdateCommandEnabled(IDC_RELOAD, in UpdateCommandsForTabState()
3716 command_updater_.UpdateCommandEnabled(IDC_RELOAD_IGNORING_CACHE, in UpdateCommandsForTabState()
3721 command_updater_.UpdateCommandEnabled(IDC_DUPLICATE_TAB, in UpdateCommandsForTabState()
3726 command_updater_.UpdateCommandEnabled(IDC_VIEW_SOURCE, in UpdateCommandsForTabState()
3728 command_updater_.UpdateCommandEnabled(IDC_EMAIL_PAGE_LOCATION, in UpdateCommandsForTabState()
3739 command_updater_.UpdateCommandEnabled(IDC_ENCODING_MENU, in UpdateCommandsForTabState()
3747 command_updater_.UpdateCommandEnabled(IDC_CREATE_SHORTCUTS, in UpdateCommandsForTabState()
3766 command_updater_.UpdateCommandEnabled( in UpdateCommandsForContentRestrictionState()
3768 command_updater_.UpdateCommandEnabled( in UpdateCommandsForContentRestrictionState()
3770 command_updater_.UpdateCommandEnabled( in UpdateCommandsForContentRestrictionState()
3772 command_updater_.UpdateCommandEnabled( in UpdateCommandsForContentRestrictionState()
3784 command_updater_.UpdateCommandEnabled(IDC_PRINT, enabled); in UpdatePrintingState()
3789 command_updater_.UpdateCommandEnabled(IDC_STOP, is_loading); in UpdateReloadStopState()
3794 command_updater_.UpdateCommandEnabled(IDC_DEV_TOOLS, in UpdateCommandsForDevTools()
3796 command_updater_.UpdateCommandEnabled(IDC_DEV_TOOLS_CONSOLE, in UpdateCommandsForDevTools()
3798 command_updater_.UpdateCommandEnabled(IDC_DEV_TOOLS_INSPECT, in UpdateCommandsForDevTools()
3806 command_updater_.UpdateCommandEnabled(IDC_BOOKMARK_PAGE, in UpdateCommandsForBookmarkEditing()
3808 command_updater_.UpdateCommandEnabled(IDC_BOOKMARK_ALL_TABS, in UpdateCommandsForBookmarkEditing()
3924 command_updater_.UpdateCommandEnabled(IDC_CREATE_SHORTCUTS, in ProcessPendingUIUpdates()
4290 command_updater_.UpdateCommandEnabled(IDC_RESTORE_TAB, in TabRestoreServiceChanged()