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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 void ConvertPopupToTabbedBrowser(Browser* browser); | 96 void ConvertPopupToTabbedBrowser(Browser* browser); |
97 void Exit(); | 97 void Exit(); |
98 void BookmarkCurrentPageIgnoringExtensionOverrides(Browser* browser); | 98 void BookmarkCurrentPageIgnoringExtensionOverrides(Browser* browser); |
99 void BookmarkCurrentPageAllowingExtensionOverrides(Browser* browser); | 99 void BookmarkCurrentPageAllowingExtensionOverrides(Browser* browser); |
100 bool CanBookmarkCurrentPage(const Browser* browser); | 100 bool CanBookmarkCurrentPage(const Browser* browser); |
101 void BookmarkAllTabs(Browser* browser); | 101 void BookmarkAllTabs(Browser* browser); |
102 bool CanBookmarkAllTabs(const Browser* browser); | 102 bool CanBookmarkAllTabs(const Browser* browser); |
103 void SaveCreditCard(Browser* browser); | 103 void SaveCreditCard(Browser* browser); |
104 void Translate(Browser* browser); | 104 void Translate(Browser* browser); |
105 void ManagePasswordsForPage(Browser* browser); | 105 void ManagePasswordsForPage(Browser* browser); |
106 #if defined(OS_WIN) | |
107 void TogglePagePinnedToStartScreen(Browser* browser); | |
108 #endif | |
109 void SavePage(Browser* browser); | 106 void SavePage(Browser* browser); |
110 bool CanSavePage(const Browser* browser); | 107 bool CanSavePage(const Browser* browser); |
111 void ShowFindBar(Browser* browser); | 108 void ShowFindBar(Browser* browser); |
112 void ShowWebsiteSettings(Browser* browser, | 109 void ShowWebsiteSettings(Browser* browser, |
113 content::WebContents* web_contents, | 110 content::WebContents* web_contents, |
114 const GURL& url, | 111 const GURL& url, |
115 const SecurityStateModel::SecurityInfo& security_info); | 112 const SecurityStateModel::SecurityInfo& security_info); |
116 void Print(Browser* browser); | 113 void Print(Browser* browser); |
117 bool CanPrint(Browser* browser); | 114 bool CanPrint(Browser* browser); |
118 #if defined(ENABLE_BASIC_PRINTING) | 115 #if defined(ENABLE_BASIC_PRINTING) |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 void CreateApplicationShortcuts(Browser* browser); | 166 void CreateApplicationShortcuts(Browser* browser); |
170 void CreateBookmarkAppFromCurrentWebContents(Browser* browser); | 167 void CreateBookmarkAppFromCurrentWebContents(Browser* browser); |
171 bool CanCreateApplicationShortcuts(const Browser* browser); | 168 bool CanCreateApplicationShortcuts(const Browser* browser); |
172 bool CanCreateBookmarkApp(const Browser* browser); | 169 bool CanCreateBookmarkApp(const Browser* browser); |
173 | 170 |
174 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents); | 171 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents); |
175 | 172 |
176 } // namespace chrome | 173 } // namespace chrome |
177 | 174 |
178 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ | 175 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ |
OLD | NEW |