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

Issue 7564011: Prevent accelerators from toggling the bookmark bar when disabled by policy. (Closed)

Created:
9 years, 4 months ago by Joao da Silva
Modified:
9 years, 4 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Prevent accelerators from toggling the bookmark bar when disabled by policy. BookmarkBarEnabled policy also sets the kShowBookmarkBar pref, so that the pref is disabled in the preferences UI. BUG=90731 TEST=Set the BookmarkBarEnabled policy. When true, the bookmark bar is always shown on the NTP. When false, it is never shown anywhere. In either case, it can't be modified by the user. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=95608

Patch Set 1 #

Patch Set 2 : Rebased #

Total comments: 4

Patch Set 3 : Reviewed, rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -47 lines) Patch
M chrome/browser/policy/configuration_policy_pref_store.cc View 1 2 4 chunks +29 lines, -28 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 5 chunks +18 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.mm View 1 2 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/ui/gtk/browser_window_gtk.cc View 1 2 1 chunk +3 lines, -6 lines 0 comments Download
M chrome/browser/ui/toolbar/wrench_menu_model.cc View 1 chunk +1 line, -7 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Joao da Silva
Please review, thanks! @pastarmovj: review overall patch, policy changes @pkasting: owner review for ui/ @mark: ...
9 years, 4 months ago (2011-08-04 09:01:24 UTC) #1
pastarmovj
LGTM. I like that the UI code has become simple again and all the checks ...
9 years, 4 months ago (2011-08-04 09:41:04 UTC) #2
Mark Mentovai
LGTM for OWNERS approval for chrome/browser/ui/cocoa. I didn’t review the rest of this change.
9 years, 4 months ago (2011-08-04 12:59:00 UTC) #3
Elliot Glaysher
gtk lgtm stamp
9 years, 4 months ago (2011-08-04 17:57:33 UTC) #4
Peter Kasting
LGTM http://codereview.chromium.org/7564011/diff/2001/chrome/browser/policy/configuration_policy_pref_store.cc File chrome/browser/policy/configuration_policy_pref_store.cc (right): http://codereview.chromium.org/7564011/diff/2001/chrome/browser/policy/configuration_policy_pref_store.cc#newcode373 chrome/browser/policy/configuration_policy_pref_store.cc:373: if (ApplyBookmarksPolicy(policy, value)) Nit: Shorter would be if ...
9 years, 4 months ago (2011-08-04 18:44:43 UTC) #5
Joao da Silva
Will commit if the try bots are pleased. Thanks for reviewing! http://codereview.chromium.org/7564011/diff/2001/chrome/browser/policy/configuration_policy_pref_store.cc File chrome/browser/policy/configuration_policy_pref_store.cc (right): ...
9 years, 4 months ago (2011-08-05 09:24:09 UTC) #6
commit-bot: I haz the power
9 years, 4 months ago (2011-08-05 13:32:23 UTC) #7
Change committed as 95608

Powered by Google App Engine
This is Rietveld 408576698