summaryrefslogtreecommitdiffstats
path: root/cc/input/layer_selection_bound.h
Commit message (Collapse)AuthorAgeFilesLines
* Add support for (de)serializing LayerSelection.nyquist2015-12-181-0/+6
| | | | | | | | | | | | | | | | As part of serializing cc::LayerTreeHost, we also need to serialize the Selection<LayerSelectionBound>, which is typedef'ed to LayerSelection. We only support this type of the templated Selection for now, so the code lives together with the LayerSelectionBound. BUG=561210 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1531413002 Cr-Commit-Position: refs/heads/master@{#366202}
* Add support for (de)serializing LayerSelectionBound.nyquist2015-12-181-3/+10
| | | | | | | | | | | | As part of serializing cc::LayerTreeHost, we also need to serialize the cc::LayerTreeBounds. BUG=561210 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1532973002 Cr-Commit-Position: refs/heads/master@{#366155}
* cc: Make conversions from gfx::Point to PointF explicit.danakj2015-10-201-3/+3
| | | | | | | | | | | | This implicit conversion operator will be going away. TBR=vmpstr BUG=342848 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1417003002 Cr-Commit-Position: refs/heads/master@{#355180}
* Plumb selection bounds as a single unitjdduke2015-04-231-0/+3
| | | | | | | | | | | | | Route the new WebSelectionBounds selection unit from Blink atomically, rather than using a pair of data structures to indicate selection. This depends directly on crrev.com/929213004. BUG=466672,410543,417903 Review URL: https://codereview.chromium.org/1000243002 Cr-Commit-Position: refs/heads/master@{#326606}
* Plumb selection edge points through the compositorjdduke@chromium.org2014-08-221-2/+3
| | | | | | | | | | | | | | | Previously, a rect was used to convey selection bound edge geometry. This proved confusing and problematic, particularly for non-axis-aligned text. Instead, start using the bound edge points provided by Blink. This depends on the Blink change http://codereview.chromium.org/495673003/. BUG=405666 Review URL: https://codereview.chromium.org/494823002 Cr-Commit-Position: refs/heads/master@{#291460} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291460 0039d316-1c4b-4281-b951-d872f2087c98
* Route selection bounds updates through the compositorjdduke@chromium.org2014-07-011-0/+29
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