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

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

Issue 310913002: Issue 32919: Update the Zoom NSMenuItems (Zoom-In/Zoom-out/Actual-Size) when the zoom state changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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
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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 void EmailPageLocation(Browser* browser); 113 void EmailPageLocation(Browser* browser);
114 bool CanEmailPageLocation(const Browser* browser); 114 bool CanEmailPageLocation(const Browser* browser);
115 void Cut(Browser* browser); 115 void Cut(Browser* browser);
116 void Copy(Browser* browser); 116 void Copy(Browser* browser);
117 void Paste(Browser* browser); 117 void Paste(Browser* browser);
118 void Find(Browser* browser); 118 void Find(Browser* browser);
119 void FindNext(Browser* browser); 119 void FindNext(Browser* browser);
120 void FindPrevious(Browser* browser); 120 void FindPrevious(Browser* browser);
121 void FindInPage(Browser* browser, bool find_next, bool forward_direction); 121 void FindInPage(Browser* browser, bool find_next, bool forward_direction);
122 void Zoom(Browser* browser, content::PageZoom zoom); 122 void Zoom(Browser* browser, content::PageZoom zoom);
123 bool CanZoomIn(content::WebContents* current_tab);
124 bool CanZoomOut(content::WebContents* current_tab);
125 bool ActualSize(content::WebContents* current_tab);
123 void FocusToolbar(Browser* browser); 126 void FocusToolbar(Browser* browser);
124 void FocusLocationBar(Browser* browser); 127 void FocusLocationBar(Browser* browser);
125 void FocusSearch(Browser* browser); 128 void FocusSearch(Browser* browser);
126 void FocusAppMenu(Browser* browser); 129 void FocusAppMenu(Browser* browser);
127 void FocusBookmarksToolbar(Browser* browser); 130 void FocusBookmarksToolbar(Browser* browser);
128 void FocusInfobars(Browser* browser); 131 void FocusInfobars(Browser* browser);
129 void FocusNextPane(Browser* browser); 132 void FocusNextPane(Browser* browser);
130 void FocusPreviousPane(Browser* browser); 133 void FocusPreviousPane(Browser* browser);
131 void ToggleDevToolsWindow(Browser* browser, DevToolsToggleAction action); 134 void ToggleDevToolsWindow(Browser* browser, DevToolsToggleAction action);
132 bool CanOpenTaskManager(); 135 bool CanOpenTaskManager();
(...skipping 27 matching lines...) Expand all
160 void CreateApplicationShortcuts(Browser* browser); 163 void CreateApplicationShortcuts(Browser* browser);
161 void CreateBookmarkAppFromCurrentWebContents(Browser* browser); 164 void CreateBookmarkAppFromCurrentWebContents(Browser* browser);
162 bool CanCreateApplicationShortcuts(const Browser* browser); 165 bool CanCreateApplicationShortcuts(const Browser* browser);
163 bool CanCreateBookmarkApp(const Browser* browser); 166 bool CanCreateBookmarkApp(const Browser* browser);
164 167
165 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents); 168 void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents);
166 169
167 } // namespace chrome 170 } // namespace chrome
168 171
169 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_ 172 #endif // CHROME_BROWSER_UI_BROWSER_COMMANDS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698