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

Issue 1737413002: Modified the behavior of "Hide Toolbar in Full Screen" (Closed)

Created:
4 years, 10 months ago by spqchan
Modified:
4 years, 9 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Modified the behavior of "Hide Toolbar in Full Screen" Changed the string to "Always Show Toolbar in Full Screen" and reversed the logic. Modified the behavior so that instead of changing just the current window, toggling the menu item will update all of the windows associated with active profile. BUG=588110 Committed: https://crrev.com/a04af1f6fbb8be7cb87efddd6f715ae51ea9138f Cr-Commit-Position: refs/heads/master@{#378770}

Patch Set 1 #

Patch Set 2 : Nit and fixed test #

Patch Set 3 : #

Total comments: 7

Patch Set 4 : #

Total comments: 2

Patch Set 5 : Migrated preference #

Patch Set 6 : nit #

Total comments: 8

Patch Set 7 : #

Total comments: 16

Patch Set 8 : #

Total comments: 1

Patch Set 9 : Feb -> March #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -41 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 5 6 7 8 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_commands_mac.cc View 1 2 3 4 5 6 7 2 chunks +9 lines, -5 lines 0 comments Download
M chrome/browser/ui/browser_ui_prefs.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser/exclusive_access_controller_views.h View 1 2 3 4 3 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/browser/exclusive_access_controller_views.mm View 1 2 3 4 5 6 2 chunks +11 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_command_handler.mm View 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.h View 1 2 3 4 5 6 7 3 chunks +6 lines, -8 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 2 3 4 5 6 3 chunks +8 lines, -9 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller_browsertest.mm View 1 2 3 4 5 6 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller_private.mm View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/exclusive_access/exclusive_access_context.h View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/exclusive_access/exclusive_access_context.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 37 (15 generated)
spqchan
PTAL
4 years, 10 months ago (2016-02-25 23:11:25 UTC) #5
Robert Sesek
https://codereview.chromium.org/1737413002/diff/40001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): https://codereview.chromium.org/1737413002/diff/40001/chrome/browser/ui/browser.cc#newcode438 chrome/browser/ui/browser.cc:438: profile_pref_registrar_.Add( Seems like this should be limited to OS_MACOSX? ...
4 years, 10 months ago (2016-02-26 20:42:28 UTC) #6
spqchan
PTAL https://codereview.chromium.org/1737413002/diff/40001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): https://codereview.chromium.org/1737413002/diff/40001/chrome/browser/ui/browser.cc#newcode438 chrome/browser/ui/browser.cc:438: profile_pref_registrar_.Add( On 2016/02/26 20:42:27, Robert Sesek wrote: > ...
4 years, 10 months ago (2016-02-26 23:24:59 UTC) #7
Robert Sesek
https://codereview.chromium.org/1737413002/diff/40001/chrome/common/pref_names.cc File chrome/common/pref_names.cc (left): https://codereview.chromium.org/1737413002/diff/40001/chrome/common/pref_names.cc#oldcode390 chrome/common/pref_names.cc:390: const char kHideFullscreenToolbar[] = "browser.hide_fullscreen_toolbar"; On 2016/02/26 23:24:59, spqchan ...
4 years, 9 months ago (2016-02-29 18:05:35 UTC) #8
spqchan
Alright, I migrated the pref values in browser_commands_mac.cc. Would that be an appropriate place to ...
4 years, 9 months ago (2016-02-29 21:20:09 UTC) #9
Robert Sesek
LGTM
4 years, 9 months ago (2016-02-29 22:52:10 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1737413002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1737413002/100001
4 years, 9 months ago (2016-02-29 23:17:49 UTC) #12
spqchan
+msw for OWNER of the following files: chrome/browser/ui/browser_commands_mac.cc chrome/browser/ui/browser_ui_prefs.cc chrome/browser/ui/exclusive_access/exclusive_access_context.cc chrome/browser/ui/exclusive_access/exclusive_access_context.h
4 years, 9 months ago (2016-02-29 23:26:31 UTC) #16
msw
https://codereview.chromium.org/1737413002/diff/100001/chrome/browser/ui/browser_commands_mac.cc File chrome/browser/ui/browser_commands_mac.cc (right): https://codereview.chromium.org/1737413002/diff/100001/chrome/browser/ui/browser_commands_mac.cc#newcode33 chrome/browser/ui/browser_commands_mac.cc:33: bool show_toolbar = !prefs->GetBoolean(prefs::kShowFullscreenToolbar); This '!' inversion is confusing... ...
4 years, 9 months ago (2016-03-01 00:07:15 UTC) #17
msw
https://codereview.chromium.org/1737413002/diff/100001/chrome/browser/ui/cocoa/browser_window_command_handler.mm File chrome/browser/ui/cocoa/browser_window_command_handler.mm (right): https://codereview.chromium.org/1737413002/diff/100001/chrome/browser/ui/cocoa/browser_window_command_handler.mm#newcode59 chrome/browser/ui/cocoa/browser_window_command_handler.mm:59: // Migrate the value of kHideFullscreenToolbar to kShowFullscreenToolbar if ...
4 years, 9 months ago (2016-03-01 00:08:51 UTC) #18
spqchan
PTAL https://codereview.chromium.org/1737413002/diff/100001/chrome/browser/ui/browser_commands_mac.cc File chrome/browser/ui/browser_commands_mac.cc (right): https://codereview.chromium.org/1737413002/diff/100001/chrome/browser/ui/browser_commands_mac.cc#newcode33 chrome/browser/ui/browser_commands_mac.cc:33: bool show_toolbar = !prefs->GetBoolean(prefs::kShowFullscreenToolbar); On 2016/03/01 00:07:15, msw ...
4 years, 9 months ago (2016-03-01 17:50:18 UTC) #19
msw
One big comment; some nits. https://codereview.chromium.org/1737413002/diff/120001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): https://codereview.chromium.org/1737413002/diff/120001/chrome/browser/ui/browser.cc#newcode441 chrome/browser/ui/browser.cc:441: // Migrate the value ...
4 years, 9 months ago (2016-03-01 19:23:03 UTC) #20
spqchan
PTAL https://codereview.chromium.org/1737413002/diff/120001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): https://codereview.chromium.org/1737413002/diff/120001/chrome/browser/ui/browser.cc#newcode441 chrome/browser/ui/browser.cc:441: // Migrate the value of kHideFullscreenToolbar to kShowFullscreenToolbar ...
4 years, 9 months ago (2016-03-01 23:41:31 UTC) #21
msw
lgtm with a minor nit https://codereview.chromium.org/1737413002/diff/140001/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (right): https://codereview.chromium.org/1737413002/diff/140001/chrome/browser/prefs/browser_prefs.cc#newcode631 chrome/browser/prefs/browser_prefs.cc:631: // Added 2/2016. nit: ...
4 years, 9 months ago (2016-03-01 23:44:20 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1737413002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1737413002/160001
4 years, 9 months ago (2016-03-01 23:52:51 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/152229)
4 years, 9 months ago (2016-03-02 00:10:41 UTC) #27
spqchan
+jochen for OWNER on browser_prefs.cc
4 years, 9 months ago (2016-03-02 01:09:32 UTC) #28
spqchan
+jochen for OWNER on browser_prefs.cc
4 years, 9 months ago (2016-03-02 01:09:57 UTC) #30
jochen (gone - plz use gerrit)
lgtm
4 years, 9 months ago (2016-03-02 11:01:12 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1737413002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1737413002/160001
4 years, 9 months ago (2016-03-02 17:38:03 UTC) #33
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 9 months ago (2016-03-02 17:43:17 UTC) #35
commit-bot: I haz the power
4 years, 9 months ago (2016-03-02 17:44:39 UTC) #37
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/a04af1f6fbb8be7cb87efddd6f715ae51ea9138f
Cr-Commit-Position: refs/heads/master@{#378770}

Powered by Google App Engine
This is Rietveld 408576698