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

Issue 23478022: [android_webview] Fixes for wrap_content layouts. (Closed)

Created:
7 years, 3 months ago by mkosiba (inactive)
Modified:
7 years, 3 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, android-webview-reviews_chromium.org
Visibility:
Public.

Description

[android_webview] Fixes for wrap_content layouts. This changes AwContents to work correctly when in a WRAP_CONTENT layout mode. TBR=danakj@chromium.org BUG=246621 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223386

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : fix findbugs #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : fix comment nit #

Total comments: 6

Patch Set 8 : address nits #

Patch Set 9 : fix findbugs + rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+371 lines, -34 lines) Patch
M android_webview/browser/renderer_host/aw_render_view_host_ext.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M android_webview/browser/renderer_host/aw_render_view_host_ext.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M android_webview/common/render_view_messages.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 1 2 3 4 5 6 7 8 3 chunks +7 lines, -0 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java View 1 2 3 4 5 6 7 8 6 chunks +61 lines, -15 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/AndroidViewIntegrationTest.java View 4 chunks +50 lines, -12 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/AwLayoutSizerTest.java View 1 2 3 4 5 15 chunks +207 lines, -0 lines 0 comments Download
M android_webview/native/aw_contents.h View 1 2 3 4 5 1 chunk +6 lines, -3 lines 0 comments Download
M android_webview/native/aw_contents.cc View 1 2 3 4 5 6 7 8 3 chunks +14 lines, -4 lines 0 comments Download
M android_webview/renderer/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/renderer/aw_render_view_ext.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M android_webview/renderer/aw_render_view_ext.cc View 1 2 3 4 5 6 7 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
mkosiba (inactive)
This patch depends on Blink changes (https://codereview.chromium.org/23441020/) which are still pending/subject to change, so no ...
7 years, 3 months ago (2013-09-05 18:28:23 UTC) #1
aelias_OOO_until_Jul13
https://codereview.chromium.org/23478022/diff/1/android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java File android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java (right): https://codereview.chromium.org/23478022/diff/1/android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java#newcode241 android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java:241: int fixedLayoutOverrideHeight = FIXED_LAYOUT_HEIGHT; On 2013/09/05 18:28:24, mkosiba wrote: ...
7 years, 3 months ago (2013-09-06 02:01:35 UTC) #2
aelias_OOO_until_Jul13
https://codereview.chromium.org/23478022/diff/1/content/browser/android/content_view_core_impl.h File content/browser/android/content_view_core_impl.h (right): https://codereview.chromium.org/23478022/diff/1/content/browser/android/content_view_core_impl.h#newcode358 content/browser/android/content_view_core_impl.h:358: gfx::Size viewport_dip_size_override_; On second thought, I guess it probably ...
7 years, 3 months ago (2013-09-06 02:14:21 UTC) #3
joth
basically l2tm ping me when you have resolve aelias comment if you want another detailed ...
7 years, 3 months ago (2013-09-06 02:15:17 UTC) #4
mkosiba (inactive)
https://codereview.chromium.org/23478022/diff/1/android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java File android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java (right): https://codereview.chromium.org/23478022/diff/1/android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java#newcode241 android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java:241: int fixedLayoutOverrideHeight = FIXED_LAYOUT_HEIGHT; On 2013/09/06 02:01:35, aelias wrote: ...
7 years, 3 months ago (2013-09-06 18:23:08 UTC) #5
aelias_OOO_until_Jul13
lgtm https://codereview.chromium.org/23478022/diff/1/android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java File android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java (right): https://codereview.chromium.org/23478022/diff/1/android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java#newcode241 android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java:241: int fixedLayoutOverrideHeight = FIXED_LAYOUT_HEIGHT; On 2013/09/06 18:23:09, mkosiba ...
7 years, 3 months ago (2013-09-06 22:27:46 UTC) #6
mkosiba (inactive)
https://codereview.chromium.org/23478022/diff/1/android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java File android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java (right): https://codereview.chromium.org/23478022/diff/1/android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java#newcode241 android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java:241: int fixedLayoutOverrideHeight = FIXED_LAYOUT_HEIGHT; On 2013/09/06 22:27:47, aelias wrote: ...
7 years, 3 months ago (2013-09-09 16:40:03 UTC) #7
mkosiba (inactive)
joth - PTAL again +yfriedman for OWNERS LGTM +palmer for IPC OWNERS LGTM +asvitkine for ...
7 years, 3 months ago (2013-09-10 12:47:36 UTC) #8
Yaron
content lgtm
7 years, 3 months ago (2013-09-10 17:43:52 UTC) #9
aelias_OOO_until_Jul13
Still lgtm with page scale simplification. Thanks for exploring that route further. I'd suggest double-checking ...
7 years, 3 months ago (2013-09-12 19:04:14 UTC) #10
palmer
IPC security LGTM. Some nits. https://codereview.chromium.org/23478022/diff/27001/android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java File android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java (right): https://codereview.chromium.org/23478022/diff/27001/android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java#newcode41 android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java:41: // Was our heightSpec ...
7 years, 3 months ago (2013-09-12 19:14:41 UTC) #11
joth
lgtm https://codereview.chromium.org/23478022/diff/27001/android_webview/renderer/aw_render_view_ext.cc File android_webview/renderer/aw_render_view_ext.cc (right): https://codereview.chromium.org/23478022/diff/27001/android_webview/renderer/aw_render_view_ext.cc#newcode168 android_webview/renderer/aw_render_view_ext.cc:168: OnSetFixedLayoutSize) ubernit: all on one line
7 years, 3 months ago (2013-09-12 20:31:12 UTC) #12
mkosiba (inactive)
On 2013/09/12 19:04:14, aelias wrote: > Still lgtm with page scale simplification. Thanks for exploring ...
7 years, 3 months ago (2013-09-13 15:29:04 UTC) #13
mkosiba (inactive)
+danakj for incoming ui/gfx DEPS OWNER approval. https://chromiumcodereview.appspot.com/23478022/diff/27001/android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java File android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java (right): https://chromiumcodereview.appspot.com/23478022/diff/27001/android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java#newcode41 android_webview/java/src/org/chromium/android_webview/AwLayoutSizer.java:41: // Was ...
7 years, 3 months ago (2013-09-13 15:31:00 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/23478022/38001
7 years, 3 months ago (2013-09-16 01:44:28 UTC) #15
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=197720
7 years, 3 months ago (2013-09-16 04:20:15 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/23478022/38001
7 years, 3 months ago (2013-09-16 16:50:09 UTC) #17
commit-bot: I haz the power
7 years, 3 months ago (2013-09-16 19:56:50 UTC) #18
Message was sent while issue was closed.
Change committed as 223386

Powered by Google App Engine
This is Rietveld 408576698