| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 bool CanDuplicateTab(const Browser* browser); | 90 bool CanDuplicateTab(const Browser* browser); |
| 91 content::WebContents* DuplicateTabAt(Browser* browser, int index); | 91 content::WebContents* DuplicateTabAt(Browser* browser, int index); |
| 92 bool CanDuplicateTabAt(Browser* browser, int index); | 92 bool CanDuplicateTabAt(Browser* browser, int index); |
| 93 void ConvertPopupToTabbedBrowser(Browser* browser); | 93 void ConvertPopupToTabbedBrowser(Browser* browser); |
| 94 void Exit(); | 94 void Exit(); |
| 95 void BookmarkCurrentPage(Browser* browser); | 95 void BookmarkCurrentPage(Browser* browser); |
| 96 void BookmarkCurrentPageFromStar(Browser* browser); | 96 void BookmarkCurrentPageFromStar(Browser* browser); |
| 97 bool CanBookmarkCurrentPage(const Browser* browser); | 97 bool CanBookmarkCurrentPage(const Browser* browser); |
| 98 void BookmarkAllTabs(Browser* browser); | 98 void BookmarkAllTabs(Browser* browser); |
| 99 bool CanBookmarkAllTabs(const Browser* browser); | 99 bool CanBookmarkAllTabs(const Browser* browser); |
| 100 void Translate(Browser* browser); |
| 100 void TogglePagePinnedToStartScreen(Browser* browser); | 101 void TogglePagePinnedToStartScreen(Browser* browser); |
| 101 void SavePage(Browser* browser); | 102 void SavePage(Browser* browser); |
| 102 bool CanSavePage(const Browser* browser); | 103 bool CanSavePage(const Browser* browser); |
| 103 void ShowFindBar(Browser* browser); | 104 void ShowFindBar(Browser* browser); |
| 104 void ShowWebsiteSettings(Browser* browser, | 105 void ShowWebsiteSettings(Browser* browser, |
| 105 content::WebContents* web_contents, | 106 content::WebContents* web_contents, |
| 106 const GURL& url, | 107 const GURL& url, |
| 107 const content::SSLStatus& ssl); | 108 const content::SSLStatus& ssl); |
| 108 void Print(Browser* browser); | 109 void Print(Browser* browser); |
| 109 bool CanPrint(const Browser* browser); | 110 bool CanPrint(const Browser* browser); |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 bool CanViewSource(const Browser* browser); | 158 bool CanViewSource(const Browser* browser); |
| 158 | 159 |
| 159 void CreateApplicationShortcuts(Browser* browser); | 160 void CreateApplicationShortcuts(Browser* browser); |
| 160 bool CanCreateApplicationShortcuts(const Browser* browser); | 161 bool CanCreateApplicationShortcuts(const Browser* browser); |
| 161 | 162 |
| 162 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents); | 163 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents); |
| 163 | 164 |
| 164 } // namespace chrome | 165 } // namespace chrome |
| 165 | 166 |
| 166 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ | 167 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ |
| OLD | NEW |