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

Issue 2931243002: Unframe chrome://extensions as it's the last (and only) uber item (Closed)

Created:
3 years, 6 months ago by Dan Beam
Modified:
3 years, 6 months ago
Reviewers:
Lei Zhang, Devlin
CC:
chromium-reviews, extensions-reviews_chromium.org, alemate+watch_chromium.org, jlklein+watch-closure_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-closure_chromium.org, arv+watch_chromium.org, dpapad, Charlie Reis, Evan Stade, jam
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Unframe chrome://extensions as it's the last (and only) uber item This means that rather than having a frame structure like this: chrome://chrome (window) <iframe src="chrome://uber-frame"> <iframe src="chrome://extensions-frame"> We can just have: chrome://extensions (window) This allows us to remove a bunch of code dealing with this complexity. Specifically, the C++ guts that does internal routing of messages. Additionally, some of the chrome://help code is no longer used (that page now permanently redirects to chrome://settings/help), so I was able to remove that as well. However, ChromeOS still uses /options/, and that code pulls in various resources from help/ and uber/. I've simplified the most I could as of the current dependency situation. The things that were still used by ChromeOS I simply limited to that platform (most of the resources). It's possible it may make sense to keep things like uber_shared.css as it's also used by chrome://policy, but I'm not optimistic until new designs of many things launch (I haven't heard updates on the Material Design version of the policy page for a while now). R=rdevlin.cronin@chromium.org BUG=728353 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2931243002 Cr-Commit-Position: refs/heads/master@{#479167} Committed: https://chromium.googlesource.com/chromium/src/+/89a0f29866b240fb8e058c00af8bc09c4927639e

Patch Set 1 : merge #

Total comments: 4

Patch Set 2 : devlin + test fixes #

Patch Set 3 : cros tests #

Total comments: 4

Patch Set 4 : devlin #

Total comments: 2

Patch Set 5 : policy_android.css #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -732 lines) Patch
M chrome/browser/browser_about_handler.cc View 1 chunk +9 lines, -17 lines 0 comments Download
M chrome/browser/browser_resources.grd View 4 chunks +10 lines, -8 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 3 chunks +3 lines, -63 lines 0 comments Download
M chrome/browser/extensions/extension_webui_apitest.cc View 1 2 3 9 chunks +16 lines, -70 lines 0 comments Download
M chrome/browser/extensions/lazy_background_page_apitest.cc View 1 2 3 3 chunks +2 lines, -8 lines 0 comments Download
M chrome/browser/resources/chromeos/bluetooth_pair_device.html View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/chromeos/certificate_manager_dialog.html View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/extensions/compiled_resources2.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/extensions/extension_list.js View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/extensions/extensions.html View 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/resources/extensions/extensions.js View 4 chunks +1 line, -9 lines 0 comments Download
M chrome/browser/resources/local_discovery/local_discovery.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/policy.css View 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/resources/policy.html View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/resources/policy.js View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/policy_android.css View 1 2 3 4 3 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 3 chunks +4 lines, -8 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 4 chunks +1 line, -16 lines 0 comments Download
M chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_browsertest.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/extensions/extension_settings_browsertest.js View 1 5 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/extensions/extensions_ui.cc View 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/ui/webui/help/help_browsertest.js View 1 chunk +0 lines, -147 lines 0 comments Download
D chrome/browser/ui/webui/help/help_ui.h View 1 chunk +0 lines, -20 lines 0 comments Download
D chrome/browser/ui/webui/help/help_ui.cc View 1 chunk +0 lines, -45 lines 0 comments Download
M chrome/browser/ui/webui/log_web_ui_url_browsertest.cc View 1 3 chunks +18 lines, -29 lines 0 comments Download
M chrome/browser/ui/webui/policy_ui.cc View 1 chunk +0 lines, -1 line 0 comments Download
D chrome/browser/ui/webui/uber/uber_ui.h View 1 chunk +0 lines, -66 lines 0 comments Download
D chrome/browser/ui/webui/uber/uber_ui.cc View 1 chunk +0 lines, -191 lines 0 comments Download
M chrome/test/data/webui/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 38 (29 generated)
Dan Beam
3 years, 6 months ago (2017-06-10 02:48:50 UTC) #4
Devlin
Nice cleanup! Looks like we need a bit more, though - in particular, I think ...
3 years, 6 months ago (2017-06-12 14:17:18 UTC) #10
Dan Beam
On 2017/06/12 14:17:18, Devlin (sheriff Jun 9 - 12) wrote: > Nice cleanup! Looks like ...
3 years, 6 months ago (2017-06-12 23:13:13 UTC) #11
Devlin
lgtm https://codereview.chromium.org/2931243002/diff/40001/chrome/browser/resources/extensions/extension_list.js File chrome/browser/resources/extensions/extension_list.js (right): https://codereview.chromium.org/2931243002/diff/40001/chrome/browser/resources/extensions/extension_list.js#newcode987 chrome/browser/resources/extensions/extension_list.js:987: window.history.replaceState({}, '', '/?options=' + extensionId); On 2017/06/12 23:13:12, ...
3 years, 6 months ago (2017-06-13 18:04:21 UTC) #21
Dan Beam
+thestig@ for browser_about_handler.cc https://codereview.chromium.org/2931243002/diff/40001/chrome/browser/resources/extensions/extension_list.js File chrome/browser/resources/extensions/extension_list.js (right): https://codereview.chromium.org/2931243002/diff/40001/chrome/browser/resources/extensions/extension_list.js#newcode987 chrome/browser/resources/extensions/extension_list.js:987: window.history.replaceState({}, '', '/?options=' + extensionId); On ...
3 years, 6 months ago (2017-06-13 18:15:16 UTC) #23
Lei Zhang
lgtm Just checking: https://codereview.chromium.org/2931243002/diff/120001/chrome/browser/resources/local_discovery/local_discovery.html File chrome/browser/resources/local_discovery/local_discovery.html (left): https://codereview.chromium.org/2931243002/diff/120001/chrome/browser/resources/local_discovery/local_discovery.html#oldcode20 chrome/browser/resources/local_discovery/local_discovery.html:20: <body class="uber-frame"> What effect does this ...
3 years, 6 months ago (2017-06-13 19:04:12 UTC) #26
Dan Beam
https://codereview.chromium.org/2931243002/diff/120001/chrome/browser/resources/local_discovery/local_discovery.html File chrome/browser/resources/local_discovery/local_discovery.html (left): https://codereview.chromium.org/2931243002/diff/120001/chrome/browser/resources/local_discovery/local_discovery.html#oldcode20 chrome/browser/resources/local_discovery/local_discovery.html:20: <body class="uber-frame"> On 2017/06/13 19:04:12, Lei Zhang wrote: > ...
3 years, 6 months ago (2017-06-13 19:20:39 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2931243002/160001
3 years, 6 months ago (2017-06-13 21:48:27 UTC) #35
commit-bot: I haz the power
3 years, 6 months ago (2017-06-13 21:57:09 UTC) #38
Message was sent while issue was closed.
Committed patchset #5 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/89a0f29866b240fb8e058c00af8b...

Powered by Google App Engine
This is Rietveld 408576698