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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 void TogglePagePinnedToStartScreen(Browser* browser); | 103 void TogglePagePinnedToStartScreen(Browser* browser); |
104 void SavePage(Browser* browser); | 104 void SavePage(Browser* browser); |
105 bool CanSavePage(const Browser* browser); | 105 bool CanSavePage(const Browser* browser); |
106 void ShowFindBar(Browser* browser); | 106 void ShowFindBar(Browser* browser); |
107 void ShowWebsiteSettings(Browser* browser, | 107 void ShowWebsiteSettings(Browser* browser, |
108 content::WebContents* web_contents, | 108 content::WebContents* web_contents, |
109 const GURL& url, | 109 const GURL& url, |
110 const content::SSLStatus& ssl); | 110 const content::SSLStatus& ssl); |
111 void Print(Browser* browser); | 111 void Print(Browser* browser); |
112 bool CanPrint(Browser* browser); | 112 bool CanPrint(Browser* browser); |
113 #if !defined(OS_WIN) | 113 #if !defined(DISABLE_BASIC_PRINTING) |
114 void AdvancedPrint(Browser* browser); | 114 void BasicPrint(Browser* browser); |
115 bool CanAdvancedPrint(Browser* browser); | 115 bool CanBasicPrint(Browser* browser); |
116 #endif // !OS_WIN | 116 #endif // !DISABLE_BASIC_PRINTING |
117 void EmailPageLocation(Browser* browser); | 117 void EmailPageLocation(Browser* browser); |
118 bool CanEmailPageLocation(const Browser* browser); | 118 bool CanEmailPageLocation(const Browser* browser); |
119 void Cut(Browser* browser); | 119 void Cut(Browser* browser); |
120 void Copy(Browser* browser); | 120 void Copy(Browser* browser); |
121 void Paste(Browser* browser); | 121 void Paste(Browser* browser); |
122 void Find(Browser* browser); | 122 void Find(Browser* browser); |
123 void FindNext(Browser* browser); | 123 void FindNext(Browser* browser); |
124 void FindPrevious(Browser* browser); | 124 void FindPrevious(Browser* browser); |
125 void FindInPage(Browser* browser, bool find_next, bool forward_direction); | 125 void FindInPage(Browser* browser, bool find_next, bool forward_direction); |
126 void Zoom(Browser* browser, content::PageZoom zoom); | 126 void Zoom(Browser* browser, content::PageZoom zoom); |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 void CreateApplicationShortcuts(Browser* browser); | 164 void CreateApplicationShortcuts(Browser* browser); |
165 void CreateBookmarkAppFromCurrentWebContents(Browser* browser); | 165 void CreateBookmarkAppFromCurrentWebContents(Browser* browser); |
166 bool CanCreateApplicationShortcuts(const Browser* browser); | 166 bool CanCreateApplicationShortcuts(const Browser* browser); |
167 bool CanCreateBookmarkApp(const Browser* browser); | 167 bool CanCreateBookmarkApp(const Browser* browser); |
168 | 168 |
169 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents); | 169 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents); |
170 | 170 |
171 } // namespace chrome | 171 } // namespace chrome |
172 | 172 |
173 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ | 173 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ |
OLD | NEW |