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