| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ |
| 6 #define CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| 11 #include "chrome/browser/devtools/devtools_toggle_action.h" | 11 #include "chrome/browser/devtools/devtools_toggle_action.h" |
| 12 #include "chrome/browser/ui/chrome_pages.h" |
| 12 #include "chrome/browser/ui/tabs/tab_strip_model_delegate.h" | 13 #include "chrome/browser/ui/tabs/tab_strip_model_delegate.h" |
| 13 #include "content/public/common/page_zoom.h" | 14 #include "content/public/common/page_zoom.h" |
| 14 #include "printing/features/features.h" | 15 #include "printing/features/features.h" |
| 15 #include "ui/base/window_open_disposition.h" | 16 #include "ui/base/window_open_disposition.h" |
| 16 | 17 |
| 17 class Browser; | 18 class Browser; |
| 18 class CommandObserver; | 19 class CommandObserver; |
| 19 class GURL; | 20 class GURL; |
| 20 class Profile; | 21 class Profile; |
| 21 | 22 |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 void FocusLocationBar(Browser* browser); | 124 void FocusLocationBar(Browser* browser); |
| 124 void FocusSearch(Browser* browser); | 125 void FocusSearch(Browser* browser); |
| 125 void FocusAppMenu(Browser* browser); | 126 void FocusAppMenu(Browser* browser); |
| 126 void FocusBookmarksToolbar(Browser* browser); | 127 void FocusBookmarksToolbar(Browser* browser); |
| 127 void FocusInfobars(Browser* browser); | 128 void FocusInfobars(Browser* browser); |
| 128 void FocusNextPane(Browser* browser); | 129 void FocusNextPane(Browser* browser); |
| 129 void FocusPreviousPane(Browser* browser); | 130 void FocusPreviousPane(Browser* browser); |
| 130 void ToggleDevToolsWindow(Browser* browser, DevToolsToggleAction action); | 131 void ToggleDevToolsWindow(Browser* browser, DevToolsToggleAction action); |
| 131 bool CanOpenTaskManager(); | 132 bool CanOpenTaskManager(); |
| 132 void OpenTaskManager(Browser* browser); | 133 void OpenTaskManager(Browser* browser); |
| 133 void OpenFeedbackDialog(Browser* browser); | 134 void OpenFeedbackDialog(Browser* browser, FeedbackSource source); |
| 134 void ToggleBookmarkBar(Browser* browser); | 135 void ToggleBookmarkBar(Browser* browser); |
| 135 void ShowAppMenu(Browser* browser); | 136 void ShowAppMenu(Browser* browser); |
| 136 void ShowAvatarMenu(Browser* browser); | 137 void ShowAvatarMenu(Browser* browser); |
| 137 void OpenUpdateChromeDialog(Browser* browser); | 138 void OpenUpdateChromeDialog(Browser* browser); |
| 138 void DistillCurrentPage(Browser* browser); | 139 void DistillCurrentPage(Browser* browser); |
| 139 bool CanRequestTabletSite(content::WebContents* current_tab); | 140 bool CanRequestTabletSite(content::WebContents* current_tab); |
| 140 bool IsRequestingTabletSite(Browser* browser); | 141 bool IsRequestingTabletSite(Browser* browser); |
| 141 void ToggleRequestTabletSite(Browser* browser); | 142 void ToggleRequestTabletSite(Browser* browser); |
| 142 void ToggleFullscreenMode(Browser* browser); | 143 void ToggleFullscreenMode(Browser* browser); |
| 143 void ClearCache(Browser* browser); | 144 void ClearCache(Browser* browser); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 154 | 155 |
| 155 void ViewSelectedSource(Browser* browser); | 156 void ViewSelectedSource(Browser* browser); |
| 156 bool CanViewSource(const Browser* browser); | 157 bool CanViewSource(const Browser* browser); |
| 157 | 158 |
| 158 void CreateBookmarkAppFromCurrentWebContents(Browser* browser); | 159 void CreateBookmarkAppFromCurrentWebContents(Browser* browser); |
| 159 bool CanCreateBookmarkApp(const Browser* browser); | 160 bool CanCreateBookmarkApp(const Browser* browser); |
| 160 | 161 |
| 161 } // namespace chrome | 162 } // namespace chrome |
| 162 | 163 |
| 163 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ | 164 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ |
| OLD | NEW |