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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 | 148 |
149 // Opens a view-source tab for any frame within a given web contents. | 149 // Opens a view-source tab for any frame within a given web contents. |
150 void ViewSource(Browser* browser, | 150 void ViewSource(Browser* browser, |
151 content::WebContents* tab, | 151 content::WebContents* tab, |
152 const GURL& url, | 152 const GURL& url, |
153 const content::PageState& page_state); | 153 const content::PageState& page_state); |
154 | 154 |
155 void ViewSelectedSource(Browser* browser); | 155 void ViewSelectedSource(Browser* browser); |
156 bool CanViewSource(const Browser* browser); | 156 bool CanViewSource(const Browser* browser); |
157 | 157 |
158 void CreateApplicationShortcuts(Browser* browser); | |
159 void CreateBookmarkAppFromCurrentWebContents(Browser* browser); | 158 void CreateBookmarkAppFromCurrentWebContents(Browser* browser); |
160 bool CanCreateApplicationShortcuts(const Browser* browser); | |
161 bool CanCreateBookmarkApp(const Browser* browser); | 159 bool CanCreateBookmarkApp(const Browser* browser); |
162 | 160 |
163 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents); | |
164 | |
165 } // namespace chrome | 161 } // namespace chrome |
166 | 162 |
167 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ | 163 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ |
OLD | NEW |