Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Issue 12437023: Expose a concept of bottom overdraw amount for cc drawing viewport. (Closed)

Created:
7 years, 9 months ago by Ted C
Modified:
7 years, 9 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, jam, penghuang+watch_chromium.org, apatrick_chromium, joi+watch-content_chromium.org, darin-cc_chromium.org, cc-bugs_chromium.org, James Su
Visibility:
Public.

Description

Expose a concept of bottom overdraw amount for cc drawing viewport. When the physical output surface is larger than the visible viewport, we need to subtract the overdraw to ensure you can scroll to the full content of the page. Resizing the output surface is expensive on mobile devices, so we minimize resizes and deal with this size mismatch. BUG=161303, 221995 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190142

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressing Alex's comments. #

Patch Set 3 : Missed update in render_view_test #

Patch Set 4 : Add missing initializations. #

Patch Set 5 : Specify float in test. #

Patch Set 6 : Initialization ordering hiccup #

Patch Set 7 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -14 lines) Patch
M cc/trees/layer_tree_host.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 3 chunks +10 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 6 3 chunks +11 lines, -1 line 0 comments Download
M content/browser/android/content_view_core_impl.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 5 6 3 chunks +6 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M content/port/browser/render_widget_host_view_port.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 3 chunks +20 lines, -0 lines 0 comments Download
M content/public/test/render_view_test.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/gpu/render_widget_compositor.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 chunks +5 lines, -4 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 4 5 6 3 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 5 chunks +11 lines, -4 lines 0 comments Download
M content/renderer/render_widget_fullscreen_pepper.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_widget_fullscreen_pepper.cc View 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Ted C
@aelias - PTAL First pass before I open this up to the larger masses
7 years, 9 months ago (2013-03-20 02:21:44 UTC) #1
aelias_OOO_until_Jul13
Looks generally fine. https://codereview.chromium.org/12437023/diff/1/cc/trees/layer_tree_host.cc File cc/trees/layer_tree_host.cc (right): https://codereview.chromium.org/12437023/diff/1/cc/trees/layer_tree_host.cc#newcode583 cc/trees/layer_tree_host.cc:583: SetPinchZoomScrollbarsBoundsAndPosition(); We actually don't use "PinchZoomScrollbars", ...
7 years, 9 months ago (2013-03-20 03:07:02 UTC) #2
Ted C
+jamesr - PTAL https://codereview.chromium.org/12437023/diff/1/cc/trees/layer_tree_host.cc File cc/trees/layer_tree_host.cc (right): https://codereview.chromium.org/12437023/diff/1/cc/trees/layer_tree_host.cc#newcode583 cc/trees/layer_tree_host.cc:583: SetPinchZoomScrollbarsBoundsAndPosition(); On 2013/03/20 03:07:07, aelias wrote: ...
7 years, 9 months ago (2013-03-20 17:17:55 UTC) #3
jamesr
lgtm (my OWNERS will only work for content/renderer/, though)
7 years, 9 months ago (2013-03-21 23:39:11 UTC) #4
Ted C
+sky - content/browser +joi - content/port +palmer - content/common -- IPC change
7 years, 9 months ago (2013-03-22 00:53:37 UTC) #5
palmer
IPC security LGTM
7 years, 9 months ago (2013-03-22 01:32:20 UTC) #6
Jói
LGTM for content/port. Please add jam+ as FYI once you have all content LGTMs. On ...
7 years, 9 months ago (2013-03-22 07:52:09 UTC) #7
sky
sky->pimany
7 years, 9 months ago (2013-03-22 18:13:57 UTC) #8
piman
lgtm
7 years, 9 months ago (2013-03-22 20:10:11 UTC) #9
Ted C
+jam - FYI for content changes
7 years, 9 months ago (2013-03-22 20:21:03 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/12437023/5001
7 years, 9 months ago (2013-03-22 20:34:19 UTC) #11
commit-bot: I haz the power
Failed to trigger a try job on win_rel HTTP Error 400: Bad Request
7 years, 9 months ago (2013-03-23 00:05:15 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/12437023/36002
7 years, 9 months ago (2013-03-23 00:05:34 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/12437023/36002
7 years, 9 months ago (2013-03-23 14:50:02 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/12437023/66001
7 years, 9 months ago (2013-03-23 21:29:20 UTC) #15
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 9 months ago (2013-03-23 21:55:55 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/12437023/67030
7 years, 9 months ago (2013-03-23 22:12:53 UTC) #17
commit-bot: I haz the power
7 years, 9 months ago (2013-03-24 01:36:44 UTC) #18
Message was sent while issue was closed.
Change committed as 190142

Powered by Google App Engine
This is Rietveld 408576698