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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 const GURL& url, | 112 const GURL& url, |
113 const content::SSLStatus& ssl); | 113 const content::SSLStatus& ssl); |
114 void Print(Browser* browser); | 114 void Print(Browser* browser); |
115 bool CanPrint(Browser* browser); | 115 bool CanPrint(Browser* browser); |
116 #if defined(ENABLE_BASIC_PRINTING) | 116 #if defined(ENABLE_BASIC_PRINTING) |
117 void BasicPrint(Browser* browser); | 117 void BasicPrint(Browser* browser); |
118 bool CanBasicPrint(Browser* browser); | 118 bool CanBasicPrint(Browser* browser); |
119 #endif // ENABLE_BASIC_PRINTING | 119 #endif // ENABLE_BASIC_PRINTING |
120 void EmailPageLocation(Browser* browser); | 120 void EmailPageLocation(Browser* browser); |
121 bool CanEmailPageLocation(const Browser* browser); | 121 bool CanEmailPageLocation(const Browser* browser); |
122 void Cut(Browser* browser); | 122 void CutCopyPaste(Browser* browser, int command_id); |
123 void Copy(Browser* browser); | |
124 void Paste(Browser* browser); | |
125 void Find(Browser* browser); | 123 void Find(Browser* browser); |
126 void FindNext(Browser* browser); | 124 void FindNext(Browser* browser); |
127 void FindPrevious(Browser* browser); | 125 void FindPrevious(Browser* browser); |
128 void FindInPage(Browser* browser, bool find_next, bool forward_direction); | 126 void FindInPage(Browser* browser, bool find_next, bool forward_direction); |
129 void Zoom(Browser* browser, content::PageZoom zoom); | 127 void Zoom(Browser* browser, content::PageZoom zoom); |
130 void FocusToolbar(Browser* browser); | 128 void FocusToolbar(Browser* browser); |
131 void FocusLocationBar(Browser* browser); | 129 void FocusLocationBar(Browser* browser); |
132 void FocusSearch(Browser* browser); | 130 void FocusSearch(Browser* browser); |
133 void FocusAppMenu(Browser* browser); | 131 void FocusAppMenu(Browser* browser); |
134 void FocusBookmarksToolbar(Browser* browser); | 132 void FocusBookmarksToolbar(Browser* browser); |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 void CreateApplicationShortcuts(Browser* browser); | 166 void CreateApplicationShortcuts(Browser* browser); |
169 void CreateBookmarkAppFromCurrentWebContents(Browser* browser); | 167 void CreateBookmarkAppFromCurrentWebContents(Browser* browser); |
170 bool CanCreateApplicationShortcuts(const Browser* browser); | 168 bool CanCreateApplicationShortcuts(const Browser* browser); |
171 bool CanCreateBookmarkApp(const Browser* browser); | 169 bool CanCreateBookmarkApp(const Browser* browser); |
172 | 170 |
173 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents); | 171 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents); |
174 | 172 |
175 } // namespace chrome | 173 } // namespace chrome |
176 | 174 |
177 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ | 175 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ |
OLD | NEW |