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

Issue 23922006: Plumb PinchVirtualViewport layers into CC. (Closed)

Created:
7 years, 3 months ago by wjmaclean
Modified:
7 years, 3 months ago
Reviewers:
jamesr, enne (OOO)
CC:
chromium-reviews, jam, apatrick_chromium, joi+watch-content_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, cc-bugs_chromium.org
Visibility:
Public.

Description

Plumb PinchVirtualViewport layers into CC. This CL plumbs pointers from the inner/outer-viewport layers and page scale layer into CC from Blink. At present this has no effect on CC unless --enable-pinch-virtual-viewport is specified on the command line. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223305

Patch Set 1 #

Total comments: 8

Patch Set 2 : Rename function, remove clip layer. #

Total comments: 8

Patch Set 3 : Address comments, remove some pinchVirtualViewportEnabled checks. #

Total comments: 6

Patch Set 4 : Address comments, patch for landing. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -2 lines) Patch
M cc/trees/layer_tree_host.h View 1 2 chunks +8 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 4 chunks +26 lines, -1 line 0 comments Download
M cc/trees/layer_tree_impl.h View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 3 5 chunks +37 lines, -1 line 0 comments Download
M content/renderer/gpu/render_widget_compositor.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
wjmaclean
This CL is an updated version of https://codereview.chromium.org/16679011/, but is sufficiently different that I'm opening ...
7 years, 3 months ago (2013-09-09 20:58:00 UTC) #1
enne (OOO)
https://codereview.chromium.org/23922006/diff/1/content/renderer/gpu/render_widget_compositor.cc File content/renderer/gpu/render_widget_compositor.cc (right): https://codereview.chromium.org/23922006/diff/1/content/renderer/gpu/render_widget_compositor.cc#newcode493 content/renderer/gpu/render_widget_compositor.cc:493: const WebKit::WebLayer* innerViewportClipLayer, I understand setting the inner and ...
7 years, 3 months ago (2013-09-10 17:03:04 UTC) #2
wjmaclean
Here are some answers to the comments/questions ... let me know if what I'm proposing ...
7 years, 3 months ago (2013-09-11 00:19:25 UTC) #3
enne (OOO)
https://codereview.chromium.org/23922006/diff/1/content/renderer/gpu/render_widget_compositor.cc File content/renderer/gpu/render_widget_compositor.cc (right): https://codereview.chromium.org/23922006/diff/1/content/renderer/gpu/render_widget_compositor.cc#newcode493 content/renderer/gpu/render_widget_compositor.cc:493: const WebKit::WebLayer* innerViewportClipLayer, On 2013/09/11 00:19:25, wjmaclean wrote: > ...
7 years, 3 months ago (2013-09-11 00:49:46 UTC) #4
wjmaclean
PTAL https://codereview.chromium.org/23922006/diff/1/content/renderer/gpu/render_widget_compositor.cc File content/renderer/gpu/render_widget_compositor.cc (right): https://codereview.chromium.org/23922006/diff/1/content/renderer/gpu/render_widget_compositor.cc#newcode493 content/renderer/gpu/render_widget_compositor.cc:493: const WebKit::WebLayer* innerViewportClipLayer, On 2013/09/11 00:49:46, enne wrote: ...
7 years, 3 months ago (2013-09-11 17:30:37 UTC) #5
enne (OOO)
https://codereview.chromium.org/23922006/diff/8001/cc/trees/layer_tree_impl.cc File cc/trees/layer_tree_impl.cc (right): https://codereview.chromium.org/23922006/diff/8001/cc/trees/layer_tree_impl.cc#newcode121 cc/trees/layer_tree_impl.cc:121: if (settings().use_pinch_virtual_viewport) style nit: {} https://codereview.chromium.org/23922006/diff/8001/cc/trees/layer_tree_impl.cc#newcode267 cc/trees/layer_tree_impl.cc:267: void LayerTreeImpl::SetPinchViewportLayerIds( ...
7 years, 3 months ago (2013-09-11 20:13:03 UTC) #6
wjmaclean
PTAL? https://codereview.chromium.org/23922006/diff/8001/cc/trees/layer_tree_impl.cc File cc/trees/layer_tree_impl.cc (right): https://codereview.chromium.org/23922006/diff/8001/cc/trees/layer_tree_impl.cc#newcode121 cc/trees/layer_tree_impl.cc:121: if (settings().use_pinch_virtual_viewport) On 2013/09/11 20:13:03, enne wrote: > ...
7 years, 3 months ago (2013-09-12 18:16:46 UTC) #7
enne (OOO)
lgtm https://codereview.chromium.org/23922006/diff/16001/cc/trees/layer_tree_impl.cc File cc/trees/layer_tree_impl.cc (right): https://codereview.chromium.org/23922006/diff/16001/cc/trees/layer_tree_impl.cc#newcode289 cc/trees/layer_tree_impl.cc:289: page_scale_layer_ = 0; s/0/NULL/g https://codereview.chromium.org/23922006/diff/16001/content/renderer/gpu/render_widget_compositor.cc File content/renderer/gpu/render_widget_compositor.cc (right): ...
7 years, 3 months ago (2013-09-12 18:57:01 UTC) #8
wjmaclean
https://codereview.chromium.org/23922006/diff/16001/cc/trees/layer_tree_impl.cc File cc/trees/layer_tree_impl.cc (right): https://codereview.chromium.org/23922006/diff/16001/cc/trees/layer_tree_impl.cc#newcode289 cc/trees/layer_tree_impl.cc:289: page_scale_layer_ = 0; On 2013/09/12 18:57:02, enne wrote: > ...
7 years, 3 months ago (2013-09-12 19:06:17 UTC) #9
jamesr
lgtm
7 years, 3 months ago (2013-09-12 21:49:59 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wjmaclean@chromium.org/23922006/23001
7 years, 3 months ago (2013-09-13 01:47:49 UTC) #11
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-09-13 02:15:40 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wjmaclean@chromium.org/23922006/23001
7 years, 3 months ago (2013-09-15 15:19:05 UTC) #13
commit-bot: I haz the power
7 years, 3 months ago (2013-09-16 02:55:44 UTC) #14
Message was sent while issue was closed.
Change committed as 223305

Powered by Google App Engine
This is Rietveld 408576698