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

Issue 23503042: Initial WebUI for DOM Distiller. (Closed)

Created:
7 years, 3 months ago by nyquist
Modified:
7 years, 3 months ago
CC:
chromium-reviews, oshima+watch_chromium.org
Visibility:
Public.

Description

Initial WebUI for DOM Distiller. The DOM Distiller component will contain code for an experimental prototype for distilling the core part of a web page. To enable this feature, use the command line flag --enable-distiller. The webui/ folder depends on content, but given iOS at the time being supports the usage of WebUI, it is kept a a top level folder in the component instead of in content/. This commit is relanding r223528 since it was reverted in r223540. - Added missing GYP dependency. TBR=sky@chromium.org BUG=288015 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223528 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223759

Patch Set 1 #

Patch Set 2 : Added comment about webui/ #

Total comments: 8

Patch Set 3 : Rebased #

Patch Set 4 : Addressed comments from joi@ #

Patch Set 5 : Reupload of previous patchset #

Total comments: 2

Patch Set 6 : Addressed comments from estade. Also added DEPS for ui/webui/resources #

Total comments: 17

Patch Set 7 : Rebased #

Total comments: 16

Patch Set 8 : Addressed comments from estade@ and stuartmorgan@ #

Total comments: 3

Patch Set 9 : Rebased #

Patch Set 10 : Removed GURL constructor argument #

Patch Set 11 : reupload #

Total comments: 10

Patch Set 12 : Rebased #

Patch Set 13 : Addressed comments from tim #

Patch Set 14 : Revert of revert with rebase - no changes #

Patch Set 15 : Added dependency for dom_distiller_resources #

Unified diffs Side-by-side diffs Delta from patch set Stats (+385 lines, -3 lines) Patch
M chrome/browser/ui/webui/DEPS View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_repack_resources.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_resources.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -0 lines 0 comments Download
M components/OWNERS View 1 chunk +4 lines, -0 lines 0 comments Download
M components/component_strings.grd View 1 chunk +1 line, -0 lines 0 comments Download
M components/components.gyp View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
A components/dom_distiller.gypi View 1 2 3 4 5 6 7 1 chunk +58 lines, -0 lines 0 comments Download
A components/dom_distiller/DEPS View 1 2 3 4 5 6 7 1 chunk +10 lines, -0 lines 0 comments Download
A components/dom_distiller/OWNERS View 1 chunk +3 lines, -0 lines 0 comments Download
A components/dom_distiller/README View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +12 lines, -0 lines 0 comments Download
A components/dom_distiller/core/dom_distiller_constants.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +15 lines, -0 lines 0 comments Download
A components/dom_distiller/core/dom_distiller_constants.cc View 1 2 3 4 5 6 7 1 chunk +12 lines, -0 lines 0 comments Download
A components/dom_distiller/webui/DEPS View 1 2 3 4 5 6 7 1 chunk +13 lines, -0 lines 0 comments Download
A components/dom_distiller/webui/dom_distiller_handler.h View 1 chunk +38 lines, -0 lines 0 comments Download
A components/dom_distiller/webui/dom_distiller_handler.cc View 1 2 3 4 5 6 7 1 chunk +42 lines, -0 lines 0 comments Download
A components/dom_distiller/webui/dom_distiller_ui.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +24 lines, -0 lines 0 comments Download
A components/dom_distiller/webui/dom_distiller_ui.cc View 1 2 3 4 5 6 7 8 9 1 chunk +42 lines, -0 lines 0 comments Download
A + components/dom_distiller/webui/resources/about_dom_distiller.css View 1 chunk +4 lines, -3 lines 0 comments Download
A components/dom_distiller/webui/resources/about_dom_distiller.html View 1 2 3 4 5 1 chunk +27 lines, -0 lines 0 comments Download
A components/dom_distiller/webui/resources/about_dom_distiller.js View 1 2 3 4 5 6 7 1 chunk +32 lines, -0 lines 0 comments Download
A components/dom_distiller_resources.grd View 1 2 3 4 5 6 7 1 chunk +17 lines, -0 lines 0 comments Download
A components/dom_distiller_strings.grdp View 1 chunk +8 lines, -0 lines 0 comments Download
M tools/gritsettings/resource_ids View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (0 generated)
nyquist
PTAL. joi: components/, tools/gritsettings/ jhawkins: chrome/browser/ui/webui/ stuartmorgan: components/ and iOS related issues such as resources. ...
7 years, 3 months ago (2013-09-09 03:41:25 UTC) #1
Jói
Mostly looks good, I have a few comments below. I looked at the whole change, ...
7 years, 3 months ago (2013-09-09 08:29:58 UTC) #2
nyquist
joi: PTAL https://codereview.chromium.org/23503042/diff/7001/components/dom_distiller/DEPS File components/dom_distiller/DEPS (right): https://codereview.chromium.org/23503042/diff/7001/components/dom_distiller/DEPS#newcode4 components/dom_distiller/DEPS:4: # The dom distiller is a layered ...
7 years, 3 months ago (2013-09-10 01:56:53 UTC) #3
Jói
https://codereview.chromium.org/23503042/diff/7001/components/dom_distiller/webui/DEPS File components/dom_distiller/webui/DEPS (right): https://codereview.chromium.org/23503042/diff/7001/components/dom_distiller/webui/DEPS#newcode3 components/dom_distiller/webui/DEPS:3: "+content/public/browser", On 2013/09/10 01:56:53, nyquist wrote: > On 2013/09/09 ...
7 years, 3 months ago (2013-09-10 07:23:40 UTC) #4
nyquist
https://codereview.chromium.org/23503042/diff/7001/components/dom_distiller/webui/DEPS File components/dom_distiller/webui/DEPS (right): https://codereview.chromium.org/23503042/diff/7001/components/dom_distiller/webui/DEPS#newcode3 components/dom_distiller/webui/DEPS:3: "+content/public/browser", No, right now, the plan is to use ...
7 years, 3 months ago (2013-09-10 07:51:11 UTC) #5
Jói
OK, LGTM. It's up to you how to write the DEPS file for your webui ...
7 years, 3 months ago (2013-09-10 08:14:55 UTC) #6
Evan Stade
https://codereview.chromium.org/23503042/diff/47001/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc File chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc (right): https://codereview.chromium.org/23503042/diff/47001/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc#newcode163 chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc:163: // Special case for DOM distiller. you should not ...
7 years, 3 months ago (2013-09-10 21:41:15 UTC) #7
nyquist
https://codereview.chromium.org/23503042/diff/47001/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc File chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc (right): https://codereview.chromium.org/23503042/diff/47001/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc#newcode163 chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc:163: // Special case for DOM distiller. On 2013/09/10 21:41:16, ...
7 years, 3 months ago (2013-09-10 22:11:41 UTC) #8
Evan Stade
I'm not sure if I'm supposed to be reviewing this.
7 years, 3 months ago (2013-09-11 01:31:55 UTC) #9
nyquist
estade: PTAL
7 years, 3 months ago (2013-09-11 01:32:41 UTC) #10
Evan Stade
https://codereview.chromium.org/23503042/diff/52001/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc File chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc (right): https://codereview.chromium.org/23503042/diff/52001/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc#newcode184 chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc:184: WebUIController* NewWebUI<dom_distiller::DomDistillerUI>(WebUI* web_ui, I actually don't see why you ...
7 years, 3 months ago (2013-09-11 01:44:01 UTC) #11
cjhopman
https://codereview.chromium.org/23503042/diff/52001/components/dom_distiller/webui/dom_distiller_ui.cc File components/dom_distiller/webui/dom_distiller_ui.cc (right): https://codereview.chromium.org/23503042/diff/52001/components/dom_distiller/webui/dom_distiller_ui.cc#newcode24 components/dom_distiller/webui/dom_distiller_ui.cc:24: content::WebUIDataSource::Create(host); On 2013/09/11 01:44:01, Evan Stade wrote: > you ...
7 years, 3 months ago (2013-09-12 00:41:00 UTC) #12
stuartmorgan
Overall structure looks good; my only non-nit concern is about the bundling of resources. https://codereview.chromium.org/23503042/diff/65001/chrome/chrome_repack_resources.gypi ...
7 years, 3 months ago (2013-09-12 05:25:23 UTC) #13
nyquist
estade, stuartmorgan: PTAL https://codereview.chromium.org/23503042/diff/52001/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc File chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc (right): https://codereview.chromium.org/23503042/diff/52001/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc#newcode184 chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc:184: WebUIController* NewWebUI<dom_distiller::DomDistillerUI>(WebUI* web_ui, On 2013/09/11 01:44:01, ...
7 years, 3 months ago (2013-09-12 17:42:11 UTC) #14
Evan Stade
https://codereview.chromium.org/23503042/diff/63001/components/dom_distiller/webui/dom_distiller_ui.cc File components/dom_distiller/webui/dom_distiller_ui.cc (right): https://codereview.chromium.org/23503042/diff/63001/components/dom_distiller/webui/dom_distiller_ui.cc#newcode19 components/dom_distiller/webui/dom_distiller_ui.cc:19: const GURL& url) regardless of whether you end up ...
7 years, 3 months ago (2013-09-13 21:07:05 UTC) #15
nyquist
https://codereview.chromium.org/23503042/diff/63001/components/dom_distiller/webui/dom_distiller_ui.cc File components/dom_distiller/webui/dom_distiller_ui.cc (right): https://codereview.chromium.org/23503042/diff/63001/components/dom_distiller/webui/dom_distiller_ui.cc#newcode19 components/dom_distiller/webui/dom_distiller_ui.cc:19: const GURL& url) On 2013/09/13 21:07:05, Evan Stade wrote: ...
7 years, 3 months ago (2013-09-13 21:40:27 UTC) #16
nyquist
estade: PTAL stuartmorgan: PTAL https://codereview.chromium.org/23503042/diff/63001/components/dom_distiller/webui/dom_distiller_ui.cc File components/dom_distiller/webui/dom_distiller_ui.cc (right): https://codereview.chromium.org/23503042/diff/63001/components/dom_distiller/webui/dom_distiller_ui.cc#newcode19 components/dom_distiller/webui/dom_distiller_ui.cc:19: const GURL& url) On 2013/09/13 ...
7 years, 3 months ago (2013-09-13 22:21:04 UTC) #17
Evan Stade
lgtm
7 years, 3 months ago (2013-09-14 00:57:49 UTC) #18
nyquist
tim: FYI
7 years, 3 months ago (2013-09-16 21:23:40 UTC) #19
stuartmorgan
https://codereview.chromium.org/23503042/diff/54001/components/component_strings.grd File components/component_strings.grd (right): https://codereview.chromium.org/23503042/diff/54001/components/component_strings.grd#newcode171 components/component_strings.grd:171: <part file="dom_distiller_strings.grdp" /> Strings has the same problem as ...
7 years, 3 months ago (2013-09-16 21:29:12 UTC) #20
tim (not reviewing)
LGTM with nits https://codereview.chromium.org/23503042/diff/54001/components/dom_distiller/README File components/dom_distiller/README (right): https://codereview.chromium.org/23503042/diff/54001/components/dom_distiller/README#newcode6 components/dom_distiller/README:6: The webui/ folder contains the WebUI ...
7 years, 3 months ago (2013-09-17 00:02:17 UTC) #21
nyquist
all done https://codereview.chromium.org/23503042/diff/54001/components/component_strings.grd File components/component_strings.grd (right): https://codereview.chromium.org/23503042/diff/54001/components/component_strings.grd#newcode171 components/component_strings.grd:171: <part file="dom_distiller_strings.grdp" /> On 2013/09/16 21:29:12, stuartmorgan ...
7 years, 3 months ago (2013-09-17 00:16:10 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/23503042/114001
7 years, 3 months ago (2013-09-17 00:18:17 UTC) #23
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 3 months ago (2013-09-17 00:43:38 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/23503042/114001
7 years, 3 months ago (2013-09-17 01:17:11 UTC) #25
commit-bot: I haz the power
Change committed as 223528
7 years, 3 months ago (2013-09-17 04:01:13 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/23503042/121001
7 years, 3 months ago (2013-09-17 20:26:27 UTC) #27
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=25917
7 years, 3 months ago (2013-09-17 20:42:51 UTC) #28
nyquist
sky: chrome/chrome_resources.gyp FYI
7 years, 3 months ago (2013-09-17 21:02:03 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/23503042/121001
7 years, 3 months ago (2013-09-17 21:29:37 UTC) #30
commit-bot: I haz the power
7 years, 3 months ago (2013-09-18 01:16:54 UTC) #31
Message was sent while issue was closed.
Change committed as 223759

Powered by Google App Engine
This is Rietveld 408576698