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" |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 void BookmarkCurrentPageAllowingExtensionOverrides(Browser* browser); | 95 void BookmarkCurrentPageAllowingExtensionOverrides(Browser* browser); |
96 bool CanBookmarkCurrentPage(const Browser* browser); | 96 bool CanBookmarkCurrentPage(const Browser* browser); |
97 void BookmarkAllTabs(Browser* browser); | 97 void BookmarkAllTabs(Browser* browser); |
98 bool CanBookmarkAllTabs(const Browser* browser); | 98 bool CanBookmarkAllTabs(const Browser* browser); |
99 void SaveCreditCard(Browser* browser); | 99 void SaveCreditCard(Browser* browser); |
100 void Translate(Browser* browser); | 100 void Translate(Browser* browser); |
101 void ManagePasswordsForPage(Browser* browser); | 101 void ManagePasswordsForPage(Browser* browser); |
102 void SavePage(Browser* browser); | 102 void SavePage(Browser* browser); |
103 bool CanSavePage(const Browser* browser); | 103 bool CanSavePage(const Browser* browser); |
104 void ShowFindBar(Browser* browser); | 104 void ShowFindBar(Browser* browser); |
105 bool ShowWebsiteSettings(Browser* browser, content::WebContents* web_contents); | 105 bool ShowPageInfo(Browser* browser, content::WebContents* web_contents); |
106 void Print(Browser* browser); | 106 void Print(Browser* browser); |
107 bool CanPrint(Browser* browser); | 107 bool CanPrint(Browser* browser); |
108 #if BUILDFLAG(ENABLE_BASIC_PRINTING) | 108 #if BUILDFLAG(ENABLE_BASIC_PRINTING) |
109 void BasicPrint(Browser* browser); | 109 void BasicPrint(Browser* browser); |
110 bool CanBasicPrint(Browser* browser); | 110 bool CanBasicPrint(Browser* browser); |
111 #endif // ENABLE_BASIC_PRINTING | 111 #endif // ENABLE_BASIC_PRINTING |
112 bool CanRouteMedia(Browser* browser); | 112 bool CanRouteMedia(Browser* browser); |
113 void RouteMedia(Browser* browser); | 113 void RouteMedia(Browser* browser); |
114 void EmailPageLocation(Browser* browser); | 114 void EmailPageLocation(Browser* browser); |
115 bool CanEmailPageLocation(const Browser* browser); | 115 bool CanEmailPageLocation(const Browser* browser); |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 void CreateApplicationShortcuts(Browser* browser); | 158 void CreateApplicationShortcuts(Browser* browser); |
159 void CreateBookmarkAppFromCurrentWebContents(Browser* browser); | 159 void CreateBookmarkAppFromCurrentWebContents(Browser* browser); |
160 bool CanCreateApplicationShortcuts(const Browser* browser); | 160 bool CanCreateApplicationShortcuts(const Browser* browser); |
161 bool CanCreateBookmarkApp(const Browser* browser); | 161 bool CanCreateBookmarkApp(const Browser* browser); |
162 | 162 |
163 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents); | 163 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents); |
164 | 164 |
165 } // namespace chrome | 165 } // namespace chrome |
166 | 166 |
167 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ | 167 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ |
OLD | NEW |