| 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 "chrome/browser/devtools/devtools_toggle_action.h" | 10 #include "chrome/browser/devtools/devtools_toggle_action.h" |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 void FocusPreviousPane(Browser* browser); | 140 void FocusPreviousPane(Browser* browser); |
| 141 void ToggleDevToolsWindow(Browser* browser, DevToolsToggleAction action); | 141 void ToggleDevToolsWindow(Browser* browser, DevToolsToggleAction action); |
| 142 bool CanOpenTaskManager(); | 142 bool CanOpenTaskManager(); |
| 143 void OpenTaskManager(Browser* browser); | 143 void OpenTaskManager(Browser* browser); |
| 144 void OpenFeedbackDialog(Browser* browser); | 144 void OpenFeedbackDialog(Browser* browser); |
| 145 void ToggleBookmarkBar(Browser* browser); | 145 void ToggleBookmarkBar(Browser* browser); |
| 146 void ShowAppMenu(Browser* browser); | 146 void ShowAppMenu(Browser* browser); |
| 147 void ShowAvatarMenu(Browser* browser); | 147 void ShowAvatarMenu(Browser* browser); |
| 148 void ShowFastUserSwitcher(Browser* browser); | 148 void ShowFastUserSwitcher(Browser* browser); |
| 149 void OpenUpdateChromeDialog(Browser* browser); | 149 void OpenUpdateChromeDialog(Browser* browser); |
| 150 void ToggleSpeechInput(Browser* browser); | |
| 151 void DistillCurrentPage(Browser* browser); | 150 void DistillCurrentPage(Browser* browser); |
| 152 bool CanRequestTabletSite(content::WebContents* current_tab); | 151 bool CanRequestTabletSite(content::WebContents* current_tab); |
| 153 bool IsRequestingTabletSite(Browser* browser); | 152 bool IsRequestingTabletSite(Browser* browser); |
| 154 void ToggleRequestTabletSite(Browser* browser); | 153 void ToggleRequestTabletSite(Browser* browser); |
| 155 void ToggleFullscreenMode(Browser* browser); | 154 void ToggleFullscreenMode(Browser* browser); |
| 156 void ClearCache(Browser* browser); | 155 void ClearCache(Browser* browser); |
| 157 bool IsDebuggerAttachedToCurrentTab(Browser* browser); | 156 bool IsDebuggerAttachedToCurrentTab(Browser* browser); |
| 158 | 157 |
| 159 // Opens a view-source tab for a given web contents. | 158 // Opens a view-source tab for a given web contents. |
| 160 void ViewSource(Browser* browser, content::WebContents* tab); | 159 void ViewSource(Browser* browser, content::WebContents* tab); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 171 void CreateApplicationShortcuts(Browser* browser); | 170 void CreateApplicationShortcuts(Browser* browser); |
| 172 void CreateBookmarkAppFromCurrentWebContents(Browser* browser); | 171 void CreateBookmarkAppFromCurrentWebContents(Browser* browser); |
| 173 bool CanCreateApplicationShortcuts(const Browser* browser); | 172 bool CanCreateApplicationShortcuts(const Browser* browser); |
| 174 bool CanCreateBookmarkApp(const Browser* browser); | 173 bool CanCreateBookmarkApp(const Browser* browser); |
| 175 | 174 |
| 176 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents); | 175 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents); |
| 177 | 176 |
| 178 } // namespace chrome | 177 } // namespace chrome |
| 179 | 178 |
| 180 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ | 179 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ |
| OLD | NEW |