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

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

Issue 7564011: Prevent accelerators from toggling the bookmark bar when disabled by policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reviewed, rebased Created 9 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/policy/configuration_policy_pref_store.cc ('k') | chrome/browser/ui/browser.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_
6 #define CHROME_BROWSER_UI_BROWSER_H_ 6 #define CHROME_BROWSER_UI_BROWSER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 945 matching lines...) Expand 10 before | Expand all | Expand 10 after
956 956
957 // Updates commands when the content's restrictions change. 957 // Updates commands when the content's restrictions change.
958 void UpdateCommandsForContentRestrictionState(); 958 void UpdateCommandsForContentRestrictionState();
959 959
960 // Updates commands for enabling developer tools. 960 // Updates commands for enabling developer tools.
961 void UpdateCommandsForDevTools(); 961 void UpdateCommandsForDevTools();
962 962
963 // Updates commands for bookmark editing. 963 // Updates commands for bookmark editing.
964 void UpdateCommandsForBookmarkEditing(); 964 void UpdateCommandsForBookmarkEditing();
965 965
966 // Updates commands that affect the bookmark bar.
967 void UpdateCommandsForBookmarkBar();
968
966 // Update commands whose state depends on whether the window is in fullscreen 969 // Update commands whose state depends on whether the window is in fullscreen
967 // mode. 970 // mode.
968 void UpdateCommandsForFullscreenMode(bool is_fullscreen); 971 void UpdateCommandsForFullscreenMode(bool is_fullscreen);
969 972
970 // Updates the printing command state. 973 // Updates the printing command state.
971 void UpdatePrintingState(int content_restrictions); 974 void UpdatePrintingState(int content_restrictions);
972 975
973 // Updates the save-page-as command state. 976 // Updates the save-page-as command state.
974 void UpdateSaveAsState(int content_restrictions); 977 void UpdateSaveAsState(int content_restrictions);
975 978
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
1283 1286
1284 scoped_ptr<InstantController> instant_; 1287 scoped_ptr<InstantController> instant_;
1285 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; 1288 scoped_ptr<InstantUnloadHandler> instant_unload_handler_;
1286 1289
1287 BookmarkBar::State bookmark_bar_state_; 1290 BookmarkBar::State bookmark_bar_state_;
1288 1291
1289 DISALLOW_COPY_AND_ASSIGN(Browser); 1292 DISALLOW_COPY_AND_ASSIGN(Browser);
1290 }; 1293 };
1291 1294
1292 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1295 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/configuration_policy_pref_store.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698