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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 void ManagePasswordsForPage(Browser* browser); | 99 void ManagePasswordsForPage(Browser* browser); |
100 void TogglePagePinnedToStartScreen(Browser* browser); | 100 void TogglePagePinnedToStartScreen(Browser* browser); |
101 void SavePage(Browser* browser); | 101 void SavePage(Browser* browser); |
102 bool CanSavePage(const Browser* browser); | 102 bool CanSavePage(const Browser* browser); |
103 void ShowFindBar(Browser* browser); | 103 void ShowFindBar(Browser* browser); |
104 void ShowWebsiteSettings(Browser* browser, | 104 void ShowWebsiteSettings(Browser* browser, |
105 content::WebContents* web_contents, | 105 content::WebContents* web_contents, |
106 const GURL& url, | 106 const GURL& url, |
107 const content::SSLStatus& ssl); | 107 const content::SSLStatus& ssl); |
108 void Print(Browser* browser); | 108 void Print(Browser* browser); |
109 bool CanPrint(const Browser* browser); | 109 bool CanPrint(Browser* browser); |
110 void AdvancedPrint(Browser* browser); | 110 void AdvancedPrint(Browser* browser); |
111 bool CanAdvancedPrint(const Browser* browser); | 111 bool CanAdvancedPrint(Browser* browser); |
112 void PrintToDestination(Browser* browser); | 112 void PrintToDestination(Browser* browser); |
113 void EmailPageLocation(Browser* browser); | 113 void EmailPageLocation(Browser* browser); |
114 bool CanEmailPageLocation(const Browser* browser); | 114 bool CanEmailPageLocation(const Browser* browser); |
115 void Cut(Browser* browser); | 115 void Cut(Browser* browser); |
116 void Copy(Browser* browser); | 116 void Copy(Browser* browser); |
117 void Paste(Browser* browser); | 117 void Paste(Browser* browser); |
118 void Find(Browser* browser); | 118 void Find(Browser* browser); |
119 void FindNext(Browser* browser); | 119 void FindNext(Browser* browser); |
120 void FindPrevious(Browser* browser); | 120 void FindPrevious(Browser* browser); |
121 void FindInPage(Browser* browser, bool find_next, bool forward_direction); | 121 void FindInPage(Browser* browser, bool find_next, bool forward_direction); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 void CreateApplicationShortcuts(Browser* browser); | 160 void CreateApplicationShortcuts(Browser* browser); |
161 void CreateBookmarkAppFromCurrentWebContents(Browser* browser); | 161 void CreateBookmarkAppFromCurrentWebContents(Browser* browser); |
162 bool CanCreateApplicationShortcuts(const Browser* browser); | 162 bool CanCreateApplicationShortcuts(const Browser* browser); |
163 bool CanCreateBookmarkApp(const Browser* browser); | 163 bool CanCreateBookmarkApp(const Browser* browser); |
164 | 164 |
165 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents); | 165 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents); |
166 | 166 |
167 } // namespace chrome | 167 } // namespace chrome |
168 | 168 |
169 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ | 169 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ |
OLD | NEW |