| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 | 136 |
| 137 // Opens view-source tab for any frame within given tab contents. | 137 // Opens view-source tab for any frame within given tab contents. |
| 138 void ViewSource(Browser* browser, | 138 void ViewSource(Browser* browser, |
| 139 TabContents* tab, | 139 TabContents* tab, |
| 140 const GURL& url, | 140 const GURL& url, |
| 141 const std::string& content_state); | 141 const std::string& content_state); |
| 142 | 142 |
| 143 void ViewSelectedSource(Browser* browser); | 143 void ViewSelectedSource(Browser* browser); |
| 144 bool CanViewSource(const Browser* browser); | 144 bool CanViewSource(const Browser* browser); |
| 145 | 145 |
| 146 void CreateApplicationShortcuts(Browser* browser); |
| 146 bool CanCreateApplicationShortcuts(const Browser* browser); | 147 bool CanCreateApplicationShortcuts(const Browser* browser); |
| 147 | 148 |
| 148 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents); | 149 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents); |
| 149 | 150 |
| 150 } // namespace chrome | 151 } // namespace chrome |
| 151 | 152 |
| 152 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ | 153 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ |
| OLD | NEW |