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

Issue 449623003: Integrate About page into Settings for Chrome OS settings in a window. (Closed)

Created:
6 years, 4 months ago by michaelpg
Modified:
6 years, 4 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, Evan Stade
Project:
chromium
Visibility:
Public.

Description

Integrate About page into Settings for Chrome OS settings in a window. This is the last patch to get the About overlay showing in the Settings page on Chrome OS when Settings in a window is enabled, so that we can hide the uber navigation frame and truly display Settings in its own window. BUG=379348 R=dbeam@chromium.org,ben@chromium.org ben: please review: chrome/browser/browser_about_handler.cc i hope i'm not doing anything blasphemous here! Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289613

Patch Set 1 : About in Settings #

Total comments: 21

Patch Set 2 : dan's feedback #

Patch Set 3 : fix tests #

Total comments: 18

Patch Set 4 : simplify #

Total comments: 8

Patch Set 5 : #

Total comments: 6

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+303 lines, -121 lines) Patch
M chrome/browser/browser_about_handler.cc View 1 2 chunks +15 lines, -4 lines 0 comments Download
M chrome/browser/chrome_content_browser_client_browsertest.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/help/channel_change_page.css View 1 2 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/help/channel_change_page.html View 1 2 4 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/help/help.js View 1 2 3 1 chunk +44 lines, -43 lines 0 comments Download
M chrome/browser/resources/help/help_page.js View 1 2 3 4 5 2 chunks +27 lines, -9 lines 0 comments Download
M chrome/browser/resources/options/browser_options.css View 1 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/browser_options.html View 1 2 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/resources/options/browser_options.js View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/options.html View 1 2 5 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/resources/options/options.js View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/options_bundle.js View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 1 2 3 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/help/help_handler.h View 1 2 3 4 2 chunks +10 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/help/help_handler.cc View 1 2 3 4 7 chunks +46 lines, -45 lines 0 comments Download
M chrome/browser/ui/webui/help/help_ui.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc View 1 2 3 4 2 chunks +9 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/options/help_overlay_handler.h View 4 1 chunk +34 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/options/help_overlay_handler.cc View 1 1 chunk +32 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/options_ui.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/options_ui_browsertest.cc View 1 2 chunks +14 lines, -5 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
michaelpg
https://codereview.chromium.org/449623003/diff/120001/chrome/browser/browser_about_handler.cc File chrome/browser/browser_about_handler.cc (right): https://codereview.chromium.org/449623003/diff/120001/chrome/browser/browser_about_handler.cc#newcode64 chrome/browser/browser_about_handler.cc:64: host = chrome::kChromeUISettingsFrameHost; So, this makes chrome://settings load the ...
6 years, 4 months ago (2014-08-07 08:17:08 UTC) #1
stevenjb
One meta comment: In a followup we should move chrome/browser/ui/webui/help/ -> chrome/browser/ui/webui/about/ and rename the ...
6 years, 4 months ago (2014-08-07 17:35:15 UTC) #2
michaelpg
https://codereview.chromium.org/449623003/diff/120001/chrome/browser/browser_about_handler.cc File chrome/browser/browser_about_handler.cc (right): https://codereview.chromium.org/449623003/diff/120001/chrome/browser/browser_about_handler.cc#newcode64 chrome/browser/browser_about_handler.cc:64: host = chrome::kChromeUISettingsFrameHost; On 2014/08/07 08:17:07, michaelpg wrote: > ...
6 years, 4 months ago (2014-08-07 19:33:49 UTC) #3
Dan Beam
https://codereview.chromium.org/449623003/diff/120001/chrome/browser/browser_about_handler.cc File chrome/browser/browser_about_handler.cc (right): https://codereview.chromium.org/449623003/diff/120001/chrome/browser/browser_about_handler.cc#newcode73 chrome/browser/browser_about_handler.cc:73: if (url->path().empty() || url->path() == std::string("/")) why do you ...
6 years, 4 months ago (2014-08-07 22:36:17 UTC) #4
michaelpg
https://codereview.chromium.org/449623003/diff/120001/chrome/browser/browser_about_handler.cc File chrome/browser/browser_about_handler.cc (right): https://codereview.chromium.org/449623003/diff/120001/chrome/browser/browser_about_handler.cc#newcode73 chrome/browser/browser_about_handler.cc:73: if (url->path().empty() || url->path() == std::string("/")) On 2014/08/07 22:36:16, ...
6 years, 4 months ago (2014-08-08 01:10:46 UTC) #5
Dan Beam
https://codereview.chromium.org/449623003/diff/120001/chrome/browser/resources/help/help_page.js File chrome/browser/resources/help/help_page.js (left): https://codereview.chromium.org/449623003/diff/120001/chrome/browser/resources/help/help_page.js#oldcode117 chrome/browser/resources/help/help_page.js:117: PageManager.showPageByName('channel-change-page', false); On 2014/08/08 01:10:46, michaelpg wrote: > On ...
6 years, 4 months ago (2014-08-08 02:39:13 UTC) #6
stevenjb
https://codereview.chromium.org/449623003/diff/120001/chrome/browser/ui/webui/options/options_ui.cc File chrome/browser/ui/webui/options/options_ui.cc (right): https://codereview.chromium.org/449623003/diff/120001/chrome/browser/ui/webui/options/options_ui.cc#newcode277 chrome/browser/ui/webui/options/options_ui.cc:277: AddOptionsPageUIHandler(localized_strings, new HelpOverlayHandler()); On 2014/08/08 02:39:13, Dan Beam wrote: ...
6 years, 4 months ago (2014-08-08 16:41:32 UTC) #7
Ben Goodger (Google)
I don't see chrome_pages.cc in this CL?
6 years, 4 months ago (2014-08-08 22:59:36 UTC) #8
michaelpg
On 2014/08/08 22:59:36, Ben Goodger (Google) wrote: > I don't see chrome_pages.cc in this CL? ...
6 years, 4 months ago (2014-08-08 23:04:07 UTC) #9
Ben Goodger (Google)
chrome_browser_about_handler lgtm
6 years, 4 months ago (2014-08-11 18:30:12 UTC) #10
michaelpg
The CQ bit was checked by michaelpg@chromium.org
6 years, 4 months ago (2014-08-11 20:39:33 UTC) #11
michaelpg
The CQ bit was unchecked by michaelpg@chromium.org
6 years, 4 months ago (2014-08-11 20:39:38 UTC) #12
michaelpg
Thanks, Ben. Dan, how is this looking? I had to make some changes to fix ...
6 years, 4 months ago (2014-08-11 20:41:09 UTC) #13
Dan Beam
if you make smaller, more concentrated CLs you will get faster reviews https://codereview.chromium.org/449623003/diff/160001/chrome/browser/resources/help/channel_change_page.css File chrome/browser/resources/help/channel_change_page.css ...
6 years, 4 months ago (2014-08-13 02:50:47 UTC) #14
michaelpg
https://codereview.chromium.org/449623003/diff/160001/chrome/browser/resources/help/channel_change_page.css File chrome/browser/resources/help/channel_change_page.css (right): https://codereview.chromium.org/449623003/diff/160001/chrome/browser/resources/help/channel_change_page.css#newcode17 chrome/browser/resources/help/channel_change_page.css:17: margin: 0 25px; On 2014/08/13 02:50:46, Dan Beam wrote: ...
6 years, 4 months ago (2014-08-13 08:12:11 UTC) #15
Dan Beam
lgtm w/comments addressed https://codereview.chromium.org/449623003/diff/160001/chrome/browser/resources/help/channel_change_page.css File chrome/browser/resources/help/channel_change_page.css (right): https://codereview.chromium.org/449623003/diff/160001/chrome/browser/resources/help/channel_change_page.css#newcode17 chrome/browser/resources/help/channel_change_page.css:17: margin: 0 25px; On 2014/08/13 08:12:11, ...
6 years, 4 months ago (2014-08-13 17:03:18 UTC) #16
michaelpg
this should address everything. https://codereview.chromium.org/449623003/diff/160001/chrome/browser/resources/help/help_page.js File chrome/browser/resources/help/help_page.js (left): https://codereview.chromium.org/449623003/diff/160001/chrome/browser/resources/help/help_page.js#oldcode117 chrome/browser/resources/help/help_page.js:117: PageManager.showPageByName('channel-change-page', false); On 2014/08/13 17:03:18, ...
6 years, 4 months ago (2014-08-13 20:17:51 UTC) #17
michaelpg
The CQ bit was checked by michaelpg@chromium.org
6 years, 4 months ago (2014-08-13 21:06:38 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelpg@chromium.org/449623003/260002
6 years, 4 months ago (2014-08-13 21:08:21 UTC) #19
Dan Beam
slgtm https://codereview.chromium.org/449623003/diff/260002/chrome/browser/resources/help/help_page.js File chrome/browser/resources/help/help_page.js (right): https://codereview.chromium.org/449623003/diff/260002/chrome/browser/resources/help/help_page.js#newcode162 chrome/browser/resources/help/help_page.js:162: } if (visible == moreInfo.classList.contains('visible')) return; https://codereview.chromium.org/449623003/diff/260002/chrome/browser/resources/help/help_page.js#newcode167 chrome/browser/resources/help/help_page.js:167: ...
6 years, 4 months ago (2014-08-13 22:26:18 UTC) #20
michaelpg
The CQ bit was unchecked by michaelpg@chromium.org
6 years, 4 months ago (2014-08-13 22:29:07 UTC) #21
michaelpg
The CQ bit was checked by michaelpg@chromium.org
6 years, 4 months ago (2014-08-14 07:00:54 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelpg@chromium.org/449623003/290001
6 years, 4 months ago (2014-08-14 07:05:24 UTC) #23
michaelpg
The CQ bit was checked by michaelpg@chromium.org
6 years, 4 months ago (2014-08-14 11:42:49 UTC) #24
michaelpg
https://codereview.chromium.org/449623003/diff/260002/chrome/browser/resources/help/help_page.js File chrome/browser/resources/help/help_page.js (right): https://codereview.chromium.org/449623003/diff/260002/chrome/browser/resources/help/help_page.js#newcode162 chrome/browser/resources/help/help_page.js:162: } On 2014/08/13 22:26:18, Dan Beam wrote: > if ...
6 years, 4 months ago (2014-08-14 11:43:56 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelpg@chromium.org/449623003/310001
6 years, 4 months ago (2014-08-14 11:46:28 UTC) #26
commit-bot: I haz the power
6 years, 4 months ago (2014-08-14 16:51:33 UTC) #27
Message was sent while issue was closed.
Committed patchset #6 (310001) as 289613

Powered by Google App Engine
This is Rietveld 408576698