summaryrefslogtreecommitdiffstats
path: root/cc/cc.gyp
diff options
context:
space:
mode:
authorjdduke@chromium.org <jdduke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-01 19:08:49 +0000
committerjdduke@chromium.org <jdduke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-01 19:08:49 +0000
commit19aec37d615420b1001e3f0505b06307a4fcfe0d (patch)
tree0790994e5d7c71e6496ed3c9ea4963dc2f0a87d6 /cc/cc.gyp
parentadc6eb89e31942c80eda20db6abb1391c5b0a159 (diff)
downloadchromium_src-19aec37d615420b1001e3f0505b06307a4fcfe0d.zip
chromium_src-19aec37d615420b1001e3f0505b06307a4fcfe0d.tar.gz
chromium_src-19aec37d615420b1001e3f0505b06307a4fcfe0d.tar.bz2
Route selection bounds updates through the compositor
Currently, the selection bounds are queried at the start of each frame on the main thread. If the bounds differ from the previous bounds, an updated notification is sent to the browser. This approach is problematic for many reasons, the chief of which being the inability of such updates to remain in sync with content that is transformed on the compositor thread. Instead, plumb the selection bounds region through the compositor, anchoring each bound to the appropriate composited layer. This allows the compositor to generated transformed bounds synchronized with transformed content, passed to the browser with the CompositorFrameMetdadata. Note that this patch only implements the compositor portion of the plumbing. Enabling the feature in Blink and consuming the handle positions in the browser will be done in https://codereview.chromium.org/359033002. BUG=135959 Review URL: https://codereview.chromium.org/300323005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280858 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/cc.gyp')
-rw-r--r--cc/cc.gyp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cc/cc.gyp b/cc/cc.gyp
index 79b15c3..3f1444f 100644
--- a/cc/cc.gyp
+++ b/cc/cc.gyp
@@ -140,6 +140,9 @@
'input/input_handler.h',
'input/page_scale_animation.cc',
'input/page_scale_animation.h',
+ 'input/layer_selection_bound.cc',
+ 'input/layer_selection_bound.h',
+ 'input/selection_bound_type.h',
'input/top_controls_manager.cc',
'input/top_controls_manager.h',
'input/top_controls_manager_client.h',
@@ -295,6 +298,8 @@
'output/software_output_device.h',
'output/software_renderer.cc',
'output/software_renderer.h',
+ 'output/viewport_selection_bound.cc',
+ 'output/viewport_selection_bound.h',
'quads/checkerboard_draw_quad.cc',
'quads/checkerboard_draw_quad.h',
'quads/content_draw_quad_base.cc',