| 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 void ShowWebsiteSettings(Browser* browser, | 110 void ShowWebsiteSettings(Browser* browser, |
| 111 content::WebContents* web_contents, | 111 content::WebContents* web_contents, |
| 112 const GURL& url, | 112 const GURL& url, |
| 113 const SecurityStateModel::SecurityInfo& security_info); | 113 const SecurityStateModel::SecurityInfo& security_info); |
| 114 void Print(Browser* browser); | 114 void Print(Browser* browser); |
| 115 bool CanPrint(Browser* browser); | 115 bool CanPrint(Browser* browser); |
| 116 #if defined(ENABLE_BASIC_PRINTING) | 116 #if defined(ENABLE_BASIC_PRINTING) |
| 117 void BasicPrint(Browser* browser); | 117 void BasicPrint(Browser* browser); |
| 118 bool CanBasicPrint(Browser* browser); | 118 bool CanBasicPrint(Browser* browser); |
| 119 #endif // ENABLE_BASIC_PRINTING | 119 #endif // ENABLE_BASIC_PRINTING |
| 120 #if defined(ENABLE_MEDIA_ROUTER) |
| 120 bool CanRouteMedia(Browser* browser); | 121 bool CanRouteMedia(Browser* browser); |
| 121 void RouteMedia(Browser* browser); | 122 void RouteMedia(Browser* browser); |
| 123 #endif // ENABLE_MEDIA_ROUTER |
| 122 void EmailPageLocation(Browser* browser); | 124 void EmailPageLocation(Browser* browser); |
| 123 bool CanEmailPageLocation(const Browser* browser); | 125 bool CanEmailPageLocation(const Browser* browser); |
| 124 void CutCopyPaste(Browser* browser, int command_id); | 126 void CutCopyPaste(Browser* browser, int command_id); |
| 125 void Find(Browser* browser); | 127 void Find(Browser* browser); |
| 126 void FindNext(Browser* browser); | 128 void FindNext(Browser* browser); |
| 127 void FindPrevious(Browser* browser); | 129 void FindPrevious(Browser* browser); |
| 128 void FindInPage(Browser* browser, bool find_next, bool forward_direction); | 130 void FindInPage(Browser* browser, bool find_next, bool forward_direction); |
| 129 void Zoom(Browser* browser, content::PageZoom zoom); | 131 void Zoom(Browser* browser, content::PageZoom zoom); |
| 130 void FocusToolbar(Browser* browser); | 132 void FocusToolbar(Browser* browser); |
| 131 void FocusLocationBar(Browser* browser); | 133 void FocusLocationBar(Browser* browser); |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 void CreateApplicationShortcuts(Browser* browser); | 170 void CreateApplicationShortcuts(Browser* browser); |
| 169 void CreateBookmarkAppFromCurrentWebContents(Browser* browser); | 171 void CreateBookmarkAppFromCurrentWebContents(Browser* browser); |
| 170 bool CanCreateApplicationShortcuts(const Browser* browser); | 172 bool CanCreateApplicationShortcuts(const Browser* browser); |
| 171 bool CanCreateBookmarkApp(const Browser* browser); | 173 bool CanCreateBookmarkApp(const Browser* browser); |
| 172 | 174 |
| 173 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents); | 175 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents); |
| 174 | 176 |
| 175 } // namespace chrome | 177 } // namespace chrome |
| 176 | 178 |
| 177 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ | 179 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ |
| OLD | NEW |