| 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 bool CanDuplicateTab(const Browser* browser); | 92 bool CanDuplicateTab(const Browser* browser); |
| 93 content::WebContents* DuplicateTabAt(Browser* browser, int index); | 93 content::WebContents* DuplicateTabAt(Browser* browser, int index); |
| 94 bool CanDuplicateTabAt(const Browser* browser, int index); | 94 bool CanDuplicateTabAt(const Browser* browser, int index); |
| 95 void ConvertPopupToTabbedBrowser(Browser* browser); | 95 void ConvertPopupToTabbedBrowser(Browser* browser); |
| 96 void Exit(); | 96 void Exit(); |
| 97 void BookmarkCurrentPageIgnoringExtensionOverrides(Browser* browser); | 97 void BookmarkCurrentPageIgnoringExtensionOverrides(Browser* browser); |
| 98 void BookmarkCurrentPageAllowingExtensionOverrides(Browser* browser); | 98 void BookmarkCurrentPageAllowingExtensionOverrides(Browser* browser); |
| 99 bool CanBookmarkCurrentPage(const Browser* browser); | 99 bool CanBookmarkCurrentPage(const Browser* browser); |
| 100 void BookmarkAllTabs(Browser* browser); | 100 void BookmarkAllTabs(Browser* browser); |
| 101 bool CanBookmarkAllTabs(const Browser* browser); | 101 bool CanBookmarkAllTabs(const Browser* browser); |
| 102 void SaveCreditCard(Browser* browser); |
| 102 void Translate(Browser* browser); | 103 void Translate(Browser* browser); |
| 103 void ManagePasswordsForPage(Browser* browser); | 104 void ManagePasswordsForPage(Browser* browser); |
| 104 #if defined(OS_WIN) | 105 #if defined(OS_WIN) |
| 105 void TogglePagePinnedToStartScreen(Browser* browser); | 106 void TogglePagePinnedToStartScreen(Browser* browser); |
| 106 #endif | 107 #endif |
| 107 void SavePage(Browser* browser); | 108 void SavePage(Browser* browser); |
| 108 bool CanSavePage(const Browser* browser); | 109 bool CanSavePage(const Browser* browser); |
| 109 void ShowFindBar(Browser* browser); | 110 void ShowFindBar(Browser* browser); |
| 110 void ShowWebsiteSettings(Browser* browser, | 111 void ShowWebsiteSettings(Browser* browser, |
| 111 content::WebContents* web_contents, | 112 content::WebContents* web_contents, |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 void CreateApplicationShortcuts(Browser* browser); | 169 void CreateApplicationShortcuts(Browser* browser); |
| 169 void CreateBookmarkAppFromCurrentWebContents(Browser* browser); | 170 void CreateBookmarkAppFromCurrentWebContents(Browser* browser); |
| 170 bool CanCreateApplicationShortcuts(const Browser* browser); | 171 bool CanCreateApplicationShortcuts(const Browser* browser); |
| 171 bool CanCreateBookmarkApp(const Browser* browser); | 172 bool CanCreateBookmarkApp(const Browser* browser); |
| 172 | 173 |
| 173 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents); | 174 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents); |
| 174 | 175 |
| 175 } // namespace chrome | 176 } // namespace chrome |
| 176 | 177 |
| 177 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ | 178 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ |
| OLD | NEW |