Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(227)

Side by Side Diff: chrome/browser/ui/browser_commands.h

Issue 954923005: Make command-zero reset page scale in addition to zoom level (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase again again Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/browser_command_controller.cc ('k') | chrome/browser/ui/browser_commands.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_command_controller.cc ('k') | chrome/browser/ui/browser_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698