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

Issue 54963005: Upstream printing changes. (Closed)

Created:
7 years, 1 month ago by sgurun-gerrit only
Modified:
7 years ago
CC:
chromium-reviews, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

For implementing printing in android K release, we had to temporarily fork chromium. The first patchset below is equivalent to what we have in KLP branch (minus machine generated makefiles). This is to unfork the implementation. Note that the print messages and print_web_view_helper are same (or very slightly different) from their counterpart in chrome/renderer/printing and chrome/common/print_messages. The plan is to start componentizing printing immediately after and remove the duplicate code TBR=danakj@chromium.org BUG=322276 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238196

Patch Set 1 #

Patch Set 2 : compiling and running #

Patch Set 3 : cleanup #

Total comments: 8

Patch Set 4 : address code review #

Total comments: 28

Patch Set 5 : fix issues found by clang #

Patch Set 6 : address code review #

Patch Set 7 : remove redundant file #

Patch Set 8 : more clang related fixes #

Patch Set 9 : minor fix #

Patch Set 10 : narrow the scope of deps #

Total comments: 4

Patch Set 11 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+776 lines, -48 lines) Patch
M android_webview/android_webview.gyp View 1 2 3 4 5 6 7 8 9 10 4 chunks +10 lines, -0 lines 0 comments Download
M android_webview/browser/DEPS View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A android_webview/browser/renderer_host/print_manager.h View 1 2 3 4 5 6 7 1 chunk +89 lines, -0 lines 0 comments Download
A android_webview/browser/renderer_host/print_manager.cc View 1 1 chunk +143 lines, -0 lines 0 comments Download
M android_webview/common/DEPS View 1 2 3 4 5 6 7 8 9 1 chunk +7 lines, -0 lines 0 comments Download
M android_webview/common/android_webview_message_generator.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + android_webview/common/print_messages.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +15 lines, -12 lines 0 comments Download
A + android_webview/common/print_messages.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 1 2 3 4 5 6 7 8 9 10 3 chunks +16 lines, -0 lines 0 comments Download
A android_webview/java/src/org/chromium/android_webview/AwPdfExporter.java View 1 2 3 4 5 6 7 8 9 10 1 chunk +142 lines, -0 lines 0 comments Download
A android_webview/java/src/org/chromium/android_webview/AwPrintDocumentAdapter.java View 1 2 3 4 5 6 7 8 1 chunk +74 lines, -0 lines 0 comments Download
M android_webview/native/DEPS View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M android_webview/native/android_webview_jni_registrar.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M android_webview/native/aw_contents.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +3 lines, -0 lines 0 comments Download
M android_webview/native/aw_contents.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +11 lines, -0 lines 0 comments Download
A android_webview/native/aw_pdf_exporter.h View 1 2 3 4 5 1 chunk +64 lines, -0 lines 0 comments Download
A android_webview/native/aw_pdf_exporter.cc View 1 2 3 4 5 1 chunk +120 lines, -0 lines 0 comments Download
M android_webview/native/webview_native.gyp View 1 2 3 4 5 6 7 8 9 10 5 chunks +15 lines, -2 lines 0 comments Download
M android_webview/renderer/DEPS View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -1 line 0 comments Download
M android_webview/renderer/aw_content_renderer_client.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -0 lines 0 comments Download
A + android_webview/renderer/print_web_view_helper.h View 1 2 3 4 5 2 chunks +6 lines, -4 lines 0 comments Download
A + android_webview/renderer/print_web_view_helper.cc View 1 2 3 4 5 6 7 8 9 10 17 chunks +35 lines, -14 lines 0 comments Download
A + android_webview/renderer/print_web_view_helper_android.cc View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download
A + android_webview/renderer/print_web_view_helper_linux.cc View 1 2 3 4 5 2 chunks +6 lines, -4 lines 0 comments Download
M build/common.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
sgurun-gerrit only
ptal, thanks
7 years, 1 month ago (2013-11-02 03:05:49 UTC) #1
joth
https://codereview.chromium.org/54963005/diff/70001/android_webview/renderer/print_web_view_helper.cc File android_webview/renderer/print_web_view_helper.cc (right): https://codereview.chromium.org/54963005/diff/70001/android_webview/renderer/print_web_view_helper.cc#newcode46 android_webview/renderer/print_web_view_helper.cc:46: should we put a comment here about where this ...
7 years, 1 month ago (2013-11-04 20:30:37 UTC) #2
Peter Beverloo
Could you please write a clearer description for this CL, since it's hard to understand ...
7 years, 1 month ago (2013-11-12 13:38:28 UTC) #3
sgurun-gerrit only
On 2013/11/12 13:38:28, Peter Beverloo wrote: > Could you please write a clearer description for ...
7 years, 1 month ago (2013-11-13 21:49:53 UTC) #4
sgurun-gerrit only
https://codereview.chromium.org/54963005/diff/70001/android_webview/renderer/print_web_view_helper.cc File android_webview/renderer/print_web_view_helper.cc (right): https://codereview.chromium.org/54963005/diff/70001/android_webview/renderer/print_web_view_helper.cc#newcode46 android_webview/renderer/print_web_view_helper.cc:46: On 2013/11/04 20:30:38, joth wrote: > should we put ...
7 years, 1 month ago (2013-11-21 18:25:42 UTC) #5
sgurun-gerrit only
joth: PTAL to the all CL palmer: please review android_webview/common/print_messages
7 years, 1 month ago (2013-11-21 18:33:23 UTC) #6
joth
https://codereview.chromium.org/54963005/diff/580001/android_webview/common/DEPS File android_webview/common/DEPS (right): https://codereview.chromium.org/54963005/diff/580001/android_webview/common/DEPS#newcode8 android_webview/common/DEPS:8: "+ui/gfx", group these three together with a TODO to ...
7 years, 1 month ago (2013-11-21 19:38:02 UTC) #7
Torne
I'm updating the automerger and AOSP bot configurations to add the sfntly sources needed by ...
7 years, 1 month ago (2013-11-21 23:56:26 UTC) #8
Torne
sfntly is now in the deps whitelist as of r236647, so if you kick off ...
7 years, 1 month ago (2013-11-22 00:30:42 UTC) #9
Torne
sfntly is now in the deps whitelist as of r236647, so if you kick off ...
7 years, 1 month ago (2013-11-22 00:30:44 UTC) #10
joth
lgtm
7 years, 1 month ago (2013-11-23 01:31:13 UTC) #11
sgurun-gerrit only
https://codereview.chromium.org/54963005/diff/580001/android_webview/common/DEPS File android_webview/common/DEPS (right): https://codereview.chromium.org/54963005/diff/580001/android_webview/common/DEPS#newcode8 android_webview/common/DEPS:8: "+ui/gfx", On 2013/11/21 19:38:03, joth wrote: > group these ...
7 years, 1 month ago (2013-11-23 01:49:11 UTC) #12
sgurun-gerrit only
@thestig need LGTM for adding printing to DEPS @tkent need LGTM for adding third_party/WebKit/public/web to ...
7 years ago (2013-11-25 20:29:24 UTC) #13
Peter Beverloo
Please refer to a public bug as well.
7 years ago (2013-11-25 20:49:23 UTC) #14
Lei Zhang
DEPS change lgtm https://codereview.chromium.org/54963005/diff/1000001/android_webview/renderer/print_web_view_helper_android.cc File android_webview/renderer/print_web_view_helper_android.cc (right): https://codereview.chromium.org/54963005/diff/1000001/android_webview/renderer/print_web_view_helper_android.cc#newcode10 android_webview/renderer/print_web_view_helper_android.cc:10: #include "android_webview/renderer/print_web_view_helper_linux.cc" Are you doing this ...
7 years ago (2013-11-25 22:00:14 UTC) #15
joth
https://codereview.chromium.org/54963005/diff/1000001/android_webview/renderer/print_web_view_helper_android.cc File android_webview/renderer/print_web_view_helper_android.cc (right): https://codereview.chromium.org/54963005/diff/1000001/android_webview/renderer/print_web_view_helper_android.cc#newcode10 android_webview/renderer/print_web_view_helper_android.cc:10: #include "android_webview/renderer/print_web_view_helper_linux.cc" On 2013/11/25 22:00:15, Lei Zhang wrote: > ...
7 years ago (2013-11-25 22:19:02 UTC) #16
sgurun-gerrit only
https://codereview.chromium.org/54963005/diff/1000001/android_webview/renderer/print_web_view_helper_android.cc File android_webview/renderer/print_web_view_helper_android.cc (right): https://codereview.chromium.org/54963005/diff/1000001/android_webview/renderer/print_web_view_helper_android.cc#newcode10 android_webview/renderer/print_web_view_helper_android.cc:10: #include "android_webview/renderer/print_web_view_helper_linux.cc" Yep, exactly to be in sync as ...
7 years ago (2013-11-25 23:30:21 UTC) #17
tkent
https://codereview.chromium.org/54963005/diff/1000001/android_webview/common/DEPS File android_webview/common/DEPS (right): https://codereview.chromium.org/54963005/diff/1000001/android_webview/common/DEPS#newcode7 android_webview/common/DEPS:7: "+third_party/WebKit/public/web/WebPrintScalingOption.h", lgtm. Adding it because a source file is ...
7 years ago (2013-11-26 06:43:07 UTC) #18
joth
On 2013/11/26 06:43:07, tkent wrote: > https://codereview.chromium.org/54963005/diff/1000001/android_webview/common/DEPS > File android_webview/common/DEPS (right): > > https://codereview.chromium.org/54963005/diff/1000001/android_webview/common/DEPS#newcode7 > ...
7 years ago (2013-11-27 19:26:07 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sgurun@chromium.org/54963005/1000001
7 years ago (2013-11-27 19:30:13 UTC) #20
commit-bot: I haz the power
Failed to apply patch for android_webview/renderer/DEPS: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years ago (2013-11-27 19:30:25 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sgurun@chromium.org/54963005/1020001
7 years ago (2013-12-02 19:06:58 UTC) #22
commit-bot: I haz the power
7 years ago (2013-12-02 21:52:04 UTC) #23
Message was sent while issue was closed.
Change committed as 238196

Powered by Google App Engine
This is Rietveld 408576698