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

Issue 19693016: Hooking up setBackgroundColor from AwContents to render process (Closed)

Created:
7 years, 5 months ago by joth
Modified:
7 years, 5 months ago
CC:
chromium-reviews, android-webview-reviews_chromium.org
Visibility:
Public.

Description

Hooking up setBackgroundColor from AwContents to renderer Final call into WebKit API ommitted as it depends on blink change https://codereview.chromium.org/19883002/ BUG=263263 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=213255

Patch Set 1 #

Patch Set 2 : working #

Patch Set 3 : handle navigation edge cases #

Patch Set 4 : Add tests #

Patch Set 5 : decouple from the blink patch: there's enough here to land already #

Total comments: 2

Patch Set 6 : benm comments #

Total comments: 4

Patch Set 7 : mkosiba comments #

Patch Set 8 : RenderViewReady -> RenderViewCreated #

Patch Set 9 : ity. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -47 lines) Patch
M android_webview/browser/renderer_host/aw_render_view_host_ext.h View 1 2 3 4 5 6 7 3 chunks +5 lines, -0 lines 0 comments Download
M android_webview/browser/renderer_host/aw_render_view_host_ext.cc View 1 2 3 4 5 6 7 2 chunks +17 lines, -0 lines 0 comments Download
M android_webview/common/render_view_messages.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 1 2 5 chunks +25 lines, -4 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwContentsClient.java View 1 2 3 4 5 3 chunks +21 lines, -0 lines 0 comments Download
A android_webview/javatests/src/org/chromium/android_webview/test/AwContentsRenderTest.java View 1 2 3 4 5 6 7 8 1 chunk +119 lines, -0 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/ContentViewMiscTest.java View 1 2 3 2 chunks +0 lines, -26 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java View 1 2 3 4 5 6 7 8 5 chunks +27 lines, -0 lines 0 comments Download
M android_webview/native/aw_contents.h View 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/native/aw_contents.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M android_webview/renderer/aw_render_view_ext.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M android_webview/renderer/aw_render_view_ext.cc View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 2 1 chunk +0 lines, -9 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 2 chunks +0 lines, -8 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
joth
The blink side of this still needs some style fixup, but this is mostly there ...
7 years, 5 months ago (2013-07-20 06:22:50 UTC) #1
joth
+mkosiba for Aw java / test bits
7 years, 5 months ago (2013-07-22 04:55:32 UTC) #2
benm (inactive)
Martin's out today (back tomorrow I think), but looks reasonable to me! :) https://codereview.chromium.org/19693016/diff/11002/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java File ...
7 years, 5 months ago (2013-07-22 12:42:06 UTC) #3
joth
https://codereview.chromium.org/19693016/diff/11002/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java File android_webview/java/src/org/chromium/android_webview/AwContentsClient.java (right): https://codereview.chromium.org/19693016/diff/11002/android_webview/java/src/org/chromium/android_webview/AwContentsClient.java#newcode100 android_webview/java/src/org/chromium/android_webview/AwContentsClient.java:100: mCachedRendererBackgroundColor = color == 0 ? 1 : color; ...
7 years, 5 months ago (2013-07-23 02:22:52 UTC) #4
mkosiba (inactive)
lgtm https://codereview.chromium.org/19693016/diff/15001/android_webview/browser/renderer_host/aw_render_view_host_ext.cc File android_webview/browser/renderer_host/aw_render_view_host_ext.cc (right): https://codereview.chromium.org/19693016/diff/15001/android_webview/browser/renderer_host/aw_render_view_host_ext.cc#newcode89 android_webview/browser/renderer_host/aw_render_view_host_ext.cc:89: void AwRenderViewHostExt::SetBackgroundColor(SkColor c) { why not put it ...
7 years, 5 months ago (2013-07-23 11:14:40 UTC) #5
joth
Thanks! https://codereview.chromium.org/19693016/diff/15001/android_webview/browser/renderer_host/aw_render_view_host_ext.cc File android_webview/browser/renderer_host/aw_render_view_host_ext.cc (right): https://codereview.chromium.org/19693016/diff/15001/android_webview/browser/renderer_host/aw_render_view_host_ext.cc#newcode89 android_webview/browser/renderer_host/aw_render_view_host_ext.cc:89: void AwRenderViewHostExt::SetBackgroundColor(SkColor c) { On 2013/07/23 11:14:40, mkosiba ...
7 years, 5 months ago (2013-07-23 17:38:58 UTC) #6
joth
+palmer for android_webview/common/render_view_messages.h rubberstamp
7 years, 5 months ago (2013-07-23 17:40:58 UTC) #7
joth
+cdn for android_webview/common/render_view_messages.h
7 years, 5 months ago (2013-07-23 19:01:50 UTC) #8
Cris Neckar
IPC changes lgtm
7 years, 5 months ago (2013-07-23 19:03:42 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joth@chromium.org/19693016/30001
7 years, 5 months ago (2013-07-23 20:03:00 UTC) #10
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 5 months ago (2013-07-23 21:02:20 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joth@chromium.org/19693016/30001
7 years, 5 months ago (2013-07-23 21:20:00 UTC) #12
commit-bot: I haz the power
7 years, 5 months ago (2013-07-23 23:03:45 UTC) #13
Message was sent while issue was closed.
Change committed as 213255

Powered by Google App Engine
This is Rietveld 408576698