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

Issue 822133003: Refactor webview to use //components/printing (Closed)

Created:
5 years, 11 months ago by dgn
Modified:
5 years, 10 months ago
CC:
android-webview-reviews_chromium.org, Bernhard Bauer, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor webview to use //components/printing Some printing related //android_webview were copied over from //chrome. Now that the ones in //chrome can move to a component, webview should also use these files. Depends on https://codereview.chromium.org/811563008/ BUG=444883, 311308 Committed: https://crrev.com/2fa98a5958ad5ecb86484acbeed3a05326647d4a Cr-Commit-Position: refs/heads/master@{#314307}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 25

Patch Set 4 : Addressing comments #

Total comments: 3

Patch Set 5 : Rebase on CL 857053002, remove msg gen #

Patch Set 6 : rebase on master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -3272 lines) Patch
M android_webview/android_webview.gyp View 1 2 3 4 3 chunks +4 lines, -6 lines 0 comments Download
M android_webview/browser/DEPS View 2 3 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/browser/aw_printing_message_filter.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M android_webview/browser/renderer_host/print_manager.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M android_webview/common/DEPS View 1 2 3 1 chunk +1 line, -9 lines 0 comments Download
M android_webview/common/android_webview_message_generator.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
D android_webview/common/print_messages.h View 1 1 chunk +0 lines, -450 lines 0 comments Download
D android_webview/common/print_messages.cc View 1 chunk +0 lines, -83 lines 0 comments Download
M android_webview/renderer/DEPS View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M android_webview/renderer/aw_content_renderer_client.cc View 1 2 3 4 2 chunks +6 lines, -2 lines 0 comments Download
A + android_webview/renderer/aw_print_web_view_helper_delegate.h View 1 2 3 4 1 chunk +12 lines, -11 lines 0 comments Download
A android_webview/renderer/aw_print_web_view_helper_delegate.cc View 1 2 3 4 1 chunk +44 lines, -0 lines 0 comments Download
M android_webview/renderer/print_render_frame_observer.cc View 1 chunk +2 lines, -2 lines 0 comments Download
D android_webview/renderer/print_web_view_helper.h View 1 chunk +0 lines, -478 lines 0 comments Download
D android_webview/renderer/print_web_view_helper.cc View 1 2 3 4 5 1 chunk +0 lines, -2021 lines 0 comments Download
D android_webview/renderer/print_web_view_helper_android.cc View 1 chunk +0 lines, -10 lines 0 comments Download
D android_webview/renderer/print_web_view_helper_linux.cc View 1 chunk +0 lines, -193 lines 0 comments Download
M components/components.gyp View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M components/printing/renderer/print_web_view_helper.h View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download
M components/printing/renderer/print_web_view_helper.cc View 1 2 3 4 5 3 chunks +13 lines, -1 line 0 comments Download

Messages

Total messages: 45 (5 generated)
dgn
For now printing is broken in webview
5 years, 11 months ago (2015-01-08 20:21:22 UTC) #2
Vitaly Buka (NO REVIEWS)
On 2015/01/08 20:21:22, dgn wrote: > For now printing is broken in webview BUG?
5 years, 11 months ago (2015-01-08 22:51:02 UTC) #3
Vitaly Buka (NO REVIEWS)
On 2015/01/08 20:21:22, dgn wrote: > For now printing is broken in webview Why it's ...
5 years, 11 months ago (2015-01-08 22:54:19 UTC) #4
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/822133003/diff/1/components/components.gyp File components/components.gyp (right): https://codereview.chromium.org/822133003/diff/1/components/components.gyp#newcode142 components/components.gyp:142: ['OS != "ios" and (enable_basic_printing==1 or enable_print_preview==1)', { Isn't ...
5 years, 11 months ago (2015-01-08 22:54:27 UTC) #5
sgurun-gerrit only
On 2015/01/08 22:54:27, Vitaly Buka wrote: > https://codereview.chromium.org/822133003/diff/1/components/components.gyp > File components/components.gyp (right): > > https://codereview.chromium.org/822133003/diff/1/components/components.gyp#newcode142 ...
5 years, 11 months ago (2015-01-09 02:42:53 UTC) #6
dgn
Sorry, I wrote it in a confusing way. My changes are the ones that broke ...
5 years, 11 months ago (2015-01-09 10:29:29 UTC) #7
Vitaly Buka (NO REVIEWS)
On 2015/01/09 10:29:29, dgn wrote: > Sorry, I wrote it in a confusing way. My ...
5 years, 11 months ago (2015-01-09 19:09:39 UTC) #8
chromium-reviews
Yes, Gmail prints fine with https://codereview.chromium.org/811563008/ The changes in 811563008 don't affect webview since on ...
5 years, 11 months ago (2015-01-09 19:18:47 UTC) #9
dgn
Sorry, I replied to the email instead of doing it from the review. Pasting the ...
5 years, 11 months ago (2015-01-09 19:31:07 UTC) #10
dgn
https://codereview.chromium.org/822133003/diff/20001/components/printing/renderer/print_web_view_helper.cc File components/printing/renderer/print_web_view_helper.cc (right): https://codereview.chromium.org/822133003/diff/20001/components/printing/renderer/print_web_view_helper.cc#newcode1271 components/printing/renderer/print_web_view_helper.cc:1271: !GetPrintSettingsFromUser(frame_ref.GetFrame(), node, This block is disabled with a #if ...
5 years, 11 months ago (2015-01-15 19:28:48 UTC) #11
sgurun-gerrit only
https://codereview.chromium.org/822133003/diff/20001/components/printing/renderer/print_web_view_helper.cc File components/printing/renderer/print_web_view_helper.cc (right): https://codereview.chromium.org/822133003/diff/20001/components/printing/renderer/print_web_view_helper.cc#newcode1271 components/printing/renderer/print_web_view_helper.cc:1271: !GetPrintSettingsFromUser(frame_ref.GetFrame(), node, On 2015/01/15 19:28:48, dgn wrote: > This ...
5 years, 11 months ago (2015-01-15 19:39:32 UTC) #12
Torne
There is no #ifdef to check for webview; webview is not intended to forever have ...
5 years, 11 months ago (2015-01-15 19:46:16 UTC) #13
dgn
@torne: That's very good to know, thanks! Does it mean that I don't need "android_webview_telemetry_build=1" ...
5 years, 11 months ago (2015-01-15 22:15:45 UTC) #14
sgurun-gerrit only
On 2015/01/15 22:15:45, dgn wrote: > @torne: That's very good to know, thanks! Does it ...
5 years, 11 months ago (2015-01-16 03:34:15 UTC) #15
dgn
> should_ask_print_settings does not exist in android_webview duplicate, so I think > it was added ...
5 years, 11 months ago (2015-01-16 10:26:43 UTC) #16
sgurun-gerrit only
On 2015/01/16 10:26:43, dgn wrote: > > should_ask_print_settings does not exist in android_webview duplicate, so ...
5 years, 11 months ago (2015-01-16 19:17:44 UTC) #17
Vitaly Buka (NO REVIEWS)
lgtm Thanks.
5 years, 11 months ago (2015-01-16 20:41:51 UTC) #18
sgurun-gerrit only
On 2015/01/16 20:41:51, Vitaly Buka wrote: > lgtm > > Thanks. Thanks for doing this. ...
5 years, 11 months ago (2015-01-16 21:21:51 UTC) #19
sgurun-gerrit only
https://codereview.chromium.org/822133003/diff/40001/android_webview/DEPS File android_webview/DEPS (right): https://codereview.chromium.org/822133003/diff/40001/android_webview/DEPS#newcode11 android_webview/DEPS:11: "+components/printing/common", is there a reason we cannot move the ...
5 years, 11 months ago (2015-01-16 21:22:05 UTC) #20
sgurun-gerrit only
On 2015/01/16 21:22:05, sgurun wrote: > https://codereview.chromium.org/822133003/diff/40001/android_webview/DEPS > File android_webview/DEPS (right): > > https://codereview.chromium.org/822133003/diff/40001/android_webview/DEPS#newcode11 > ...
5 years, 11 months ago (2015-01-16 21:22:55 UTC) #21
Bernhard Bauer
https://codereview.chromium.org/822133003/diff/40001/android_webview/renderer/aw_print_web_view_helper_delegate.cc File android_webview/renderer/aw_print_web_view_helper_delegate.cc (right): https://codereview.chromium.org/822133003/diff/40001/android_webview/renderer/aw_print_web_view_helper_delegate.cc#newcode9 android_webview/renderer/aw_print_web_view_helper_delegate.cc:9: #include "third_party/WebKit/public/web/WebLocalFrame.h" On 2015/01/16 21:22:04, sgurun wrote: > I ...
5 years, 11 months ago (2015-01-19 10:05:25 UTC) #23
dgn
https://codereview.chromium.org/822133003/diff/40001/android_webview/DEPS File android_webview/DEPS (right): https://codereview.chromium.org/822133003/diff/40001/android_webview/DEPS#newcode11 android_webview/DEPS:11: "+components/printing/common", On 2015/01/16 at 21:22:04, sgurun wrote: > is ...
5 years, 11 months ago (2015-01-19 17:48:08 UTC) #24
sgurun-gerrit only
https://codereview.chromium.org/822133003/diff/40001/android_webview/renderer/aw_content_renderer_client.cc File android_webview/renderer/aw_content_renderer_client.cc (right): https://codereview.chromium.org/822133003/diff/40001/android_webview/renderer/aw_content_renderer_client.cc#newcode155 android_webview/renderer/aw_content_renderer_client.cc:155: new AwPrintWebViewHelperDelegate())); On 2015/01/19 17:48:08, dgn wrote: > On ...
5 years, 11 months ago (2015-01-19 18:21:35 UTC) #25
dgn
https://codereview.chromium.org/822133003/diff/40001/android_webview/renderer/print_web_view_helper.cc File android_webview/renderer/print_web_view_helper.cc (left): https://codereview.chromium.org/822133003/diff/40001/android_webview/renderer/print_web_view_helper.cc#oldcode6 android_webview/renderer/print_web_view_helper.cc:6: On 2015/01/16 21:22:03, sgurun wrote: > Himm, it seems ...
5 years, 11 months ago (2015-01-19 18:27:09 UTC) #26
sgurun-gerrit only
On 2015/01/19 18:27:09, dgn wrote: > https://codereview.chromium.org/822133003/diff/40001/android_webview/renderer/print_web_view_helper.cc > File android_webview/renderer/print_web_view_helper.cc (left): > > https://codereview.chromium.org/822133003/diff/40001/android_webview/renderer/print_web_view_helper.cc#oldcode6 > ...
5 years, 11 months ago (2015-01-21 00:40:23 UTC) #27
dgn
sgurun@: does that mean lgtm? thestig@: Please review changes in chrome/renderer/chrome_content_renderer_client.cc blundell@: Please review changes ...
5 years, 11 months ago (2015-01-21 18:19:24 UTC) #29
sgurun-gerrit only
On 2015/01/21 18:19:24, dgn wrote: > sgurun@: does that mean lgtm? > > thestig@: Please ...
5 years, 11 months ago (2015-01-21 18:25:56 UTC) #30
chromium-reviews
/facepalm I forgot to upload the patch. Also, https://codereview.chromium.org/857053002 has to land first, my bad. ...
5 years, 11 months ago (2015-01-21 18:31:03 UTC) #31
dgn
https://codereview.chromium.org/822133003/diff/40001/android_webview/DEPS File android_webview/DEPS (right): https://codereview.chromium.org/822133003/diff/40001/android_webview/DEPS#newcode11 android_webview/DEPS:11: "+components/printing/common", On 2015/01/19 17:48:08, dgn wrote: > On 2015/01/16 ...
5 years, 11 months ago (2015-01-23 15:21:09 UTC) #32
dgn
https://codereview.chromium.org/822133003/diff/60001/android_webview/common/android_webview_message_generator.h File android_webview/common/android_webview_message_generator.h (right): https://codereview.chromium.org/822133003/diff/60001/android_webview/common/android_webview_message_generator.h#newcode8 android_webview/common/android_webview_message_generator.h:8: #include "components/printing/common/print_messages.h" Once https://codereview.chromium.org/857053002/ lands, I'll be able to ...
5 years, 11 months ago (2015-01-23 16:49:55 UTC) #33
sgurun-gerrit only
On 2015/01/23 16:49:55, dgn wrote: > https://codereview.chromium.org/822133003/diff/60001/android_webview/common/android_webview_message_generator.h > File android_webview/common/android_webview_message_generator.h (right): > > https://codereview.chromium.org/822133003/diff/60001/android_webview/common/android_webview_message_generator.h#newcode8 > ...
5 years, 11 months ago (2015-01-23 22:10:38 UTC) #34
dgn
+dcheng@: Please review android_webview/common/print_messages.h removal. Also probably relevant, changes in android_webview/common/android_webview_message_generator.h +blundell@:Please review changes in ...
5 years, 10 months ago (2015-01-27 14:29:08 UTC) #36
dcheng
android_web/view/common/*message* changes LGTM
5 years, 10 months ago (2015-01-27 18:22:38 UTC) #37
dgn
Rebased on master. It can now be merged. Some changes were made to android webview's ...
5 years, 10 months ago (2015-01-30 16:40:51 UTC) #38
Vitaly Buka (NO REVIEWS)
lgtm
5 years, 10 months ago (2015-01-30 18:42:30 UTC) #39
dgn
blundell@: can you please review the changes to components/components.gyp
5 years, 10 months ago (2015-02-02 17:02:45 UTC) #40
blundell
rubberstamp LGTM
5 years, 10 months ago (2015-02-02 19:56:01 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/822133003/100001
5 years, 10 months ago (2015-02-03 09:54:48 UTC) #43
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 10 months ago (2015-02-03 10:39:14 UTC) #44
commit-bot: I haz the power
5 years, 10 months ago (2015-02-03 10:40:07 UTC) #45
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/2fa98a5958ad5ecb86484acbeed3a05326647d4a
Cr-Commit-Position: refs/heads/master@{#314307}

Powered by Google App Engine
This is Rietveld 408576698