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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 void Home(Browser* browser, WindowOpenDisposition disposition); | 71 void Home(Browser* browser, WindowOpenDisposition disposition); |
72 void OpenCurrentURL(Browser* browser); | 72 void OpenCurrentURL(Browser* browser); |
73 void Stop(Browser* browser); | 73 void Stop(Browser* browser); |
74 void NewWindow(Browser* browser); | 74 void NewWindow(Browser* browser); |
75 void NewIncognitoWindow(Browser* browser); | 75 void NewIncognitoWindow(Browser* browser); |
76 void CloseWindow(Browser* browser); | 76 void CloseWindow(Browser* browser); |
77 void NewTab(Browser* browser); | 77 void NewTab(Browser* browser); |
78 void CloseTab(Browser* browser); | 78 void CloseTab(Browser* browser); |
79 bool CanZoomIn(content::WebContents* contents); | 79 bool CanZoomIn(content::WebContents* contents); |
80 bool CanZoomOut(content::WebContents* contents); | 80 bool CanZoomOut(content::WebContents* contents); |
81 bool IsAtDefaultZoom(content::WebContents* contents); | 81 bool CanResetZoom(content::WebContents* contents); |
82 void RestoreTab(Browser* browser); | 82 void RestoreTab(Browser* browser); |
83 TabStripModelDelegate::RestoreTabType GetRestoreTabType( | 83 TabStripModelDelegate::RestoreTabType GetRestoreTabType( |
84 const Browser* browser); | 84 const Browser* browser); |
85 void SelectNextTab(Browser* browser); | 85 void SelectNextTab(Browser* browser); |
86 void SelectPreviousTab(Browser* browser); | 86 void SelectPreviousTab(Browser* browser); |
87 void MoveTabNext(Browser* browser); | 87 void MoveTabNext(Browser* browser); |
88 void MoveTabPrevious(Browser* browser); | 88 void MoveTabPrevious(Browser* browser); |
89 void SelectNumberedTab(Browser* browser, int index); | 89 void SelectNumberedTab(Browser* browser, int index); |
90 void SelectLastTab(Browser* browser); | 90 void SelectLastTab(Browser* browser); |
91 void DuplicateTab(Browser* browser); | 91 void DuplicateTab(Browser* browser); |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 void CreateApplicationShortcuts(Browser* browser); | 167 void CreateApplicationShortcuts(Browser* browser); |
168 void CreateBookmarkAppFromCurrentWebContents(Browser* browser); | 168 void CreateBookmarkAppFromCurrentWebContents(Browser* browser); |
169 bool CanCreateApplicationShortcuts(const Browser* browser); | 169 bool CanCreateApplicationShortcuts(const Browser* browser); |
170 bool CanCreateBookmarkApp(const Browser* browser); | 170 bool CanCreateBookmarkApp(const Browser* browser); |
171 | 171 |
172 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents); | 172 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents); |
173 | 173 |
174 } // namespace chrome | 174 } // namespace chrome |
175 | 175 |
176 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ | 176 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ |
OLD | NEW |