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

Issue 423533003: Use PageManager in About page (Closed)

Created:
6 years, 4 months ago by michaelpg
Modified:
6 years, 4 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, stevenjb, arv+watch_chromium.org, oshima+watch_chromium.org, Evan Stade
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Use PageManager in About page This creates a PageManager.Observer class which delegates handling of page history and title changes to an uber page observer: - page_manager.js - uber_page_manager_observer.js The About page content is separated into its own file so in a future CL it can be used as an overlay on another page. The custom overlay implementation in help_base_page.js is no longer needed. R=dbeam@chromium.org BUG=313244 TBR=ben@chromium.org (for c/b/browser_resources.grd) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287989

Patch Set 1 : #

Total comments: 26

Patch Set 2 : Addressed feedback #

Patch Set 3 : remove unnecessary help overlay stuff #

Patch Set 4 : fix settings app browser test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+486 lines, -1362 lines) Patch
M chrome/browser/browser_resources.grd View 1 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/resources/help/channel_change_page.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/help/channel_change_page.js View 5 chunks +20 lines, -19 lines 0 comments Download
M chrome/browser/resources/help/help.css View 1 chunk +0 lines, -137 lines 0 comments Download
M chrome/browser/resources/help/help.html View 2 chunks +15 lines, -117 lines 0 comments Download
M chrome/browser/resources/help/help.js View 1 2 1 chunk +36 lines, -553 lines 0 comments Download
D chrome/browser/resources/help/help_base_page.js View 1 chunk +0 lines, -254 lines 0 comments Download
A + chrome/browser/resources/help/help_content.css View 3 chunks +8 lines, -12 lines 0 comments Download
A chrome/browser/resources/help/help_content.html View 1 chunk +113 lines, -0 lines 0 comments Download
D chrome/browser/resources/help/help_focus_manager.js View 1 chunk +0 lines, -27 lines 0 comments Download
A chrome/browser/resources/help/help_page.html View 1 chunk +11 lines, -0 lines 0 comments Download
A + chrome/browser/resources/help/help_page.js View 1 2 23 chunks +54 lines, -105 lines 0 comments Download
M chrome/browser/resources/options/alert_overlay.js View 1 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/resources/options/browser_options.js View 1 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/options.js View 1 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/resources/options/options_bundle.js View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/options/options_page.css View 3 chunks +1 line, -19 lines 0 comments Download
M chrome/browser/resources/options/options_page.js View 1 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/resources/options/options_settings_app.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A chrome/browser/resources/uber/uber_page_manager_observer.js View 1 1 chunk +58 lines, -0 lines 0 comments Download
M chrome/browser/resources/uber/uber_shared.css View 5 chunks +38 lines, -26 lines 0 comments Download
M chrome/browser/ui/webui/help/help_ui.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ui/webui/resources/css/overlay.css View 1 chunk +16 lines, -0 lines 0 comments Download
M ui/webui/resources/js/cr/ui/page_manager/page.js View 4 chunks +13 lines, -22 lines 0 comments Download
M ui/webui/resources/js/cr/ui/page_manager/page_manager.js View 1 13 chunks +78 lines, -57 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
michaelpg
https://codereview.chromium.org/423533003/diff/20001/chrome/browser/resources/help/help_content.css File chrome/browser/resources/help/help_content.css (right): https://codereview.chromium.org/423533003/diff/20001/chrome/browser/resources/help/help_content.css#newcode7 chrome/browser/resources/help/help_content.css:7: align-items: center; as requested by presubmit script. Oddly this ...
6 years, 4 months ago (2014-08-04 21:41:18 UTC) #1
stevenjb
Nice. lgtm, but definitely wait for Dan's review :) https://codereview.chromium.org/423533003/diff/20001/chrome/browser/resources/help/help.js File chrome/browser/resources/help/help.js (right): https://codereview.chromium.org/423533003/diff/20001/chrome/browser/resources/help/help.js#newcode31 chrome/browser/resources/help/help.js:31: ...
6 years, 4 months ago (2014-08-05 21:40:22 UTC) #2
Dan Beam
+estade@ as FYI https://codereview.chromium.org/423533003/diff/20001/chrome/browser/resources/help/help_page.js File chrome/browser/resources/help/help_page.js (right): https://codereview.chromium.org/423533003/diff/20001/chrome/browser/resources/help/help_page.js#newcode148 chrome/browser/resources/help/help_page.js:148: if ($('more-info-container').className == 'visible') nit: $('more-info-container').classList.contains('visible') ...
6 years, 4 months ago (2014-08-06 18:30:55 UTC) #3
michaelpg
thanks, comments addressed. my client is complaining that browser_resources.grd doesn't have an owner reviewer -- ...
6 years, 4 months ago (2014-08-06 21:58:19 UTC) #4
stevenjb
We have .grd exceptions for ash/, but not for chrome/. If it is a small ...
6 years, 4 months ago (2014-08-06 22:12:17 UTC) #5
Dan Beam
lgtm
6 years, 4 months ago (2014-08-06 22:42:18 UTC) #6
michaelpg
The CQ bit was checked by michaelpg@chromium.org
6 years, 4 months ago (2014-08-06 23:20:07 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelpg@chromium.org/423533003/60001
6 years, 4 months ago (2014-08-06 23:23:02 UTC) #8
michaelpg
The CQ bit was checked by michaelpg@chromium.org
6 years, 4 months ago (2014-08-07 01:03:55 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelpg@chromium.org/423533003/80001
6 years, 4 months ago (2014-08-07 01:06:07 UTC) #10
commit-bot: I haz the power
6 years, 4 months ago (2014-08-07 07:29:10 UTC) #11
Message was sent while issue was closed.
Change committed as 287989

Powered by Google App Engine
This is Rietveld 408576698