diff options
author | jdduke <jdduke@chromium.org> | 2015-04-23 12:36:44 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-23 19:36:51 +0000 |
commit | 449b529362950ccdfc48715146a466d7278b75dd (patch) | |
tree | ec64c472a9264aa6a4f0d0cccf198a2610e9d58e /cc/input/layer_selection_bound.h | |
parent | 2c2273d86f318ab7a46ce047266432e1f1089443 (diff) | |
download | chromium_src-449b529362950ccdfc48715146a466d7278b75dd.zip chromium_src-449b529362950ccdfc48715146a466d7278b75dd.tar.gz chromium_src-449b529362950ccdfc48715146a466d7278b75dd.tar.bz2 |
Plumb selection bounds as a single unit
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}
Diffstat (limited to 'cc/input/layer_selection_bound.h')
-rw-r--r-- | cc/input/layer_selection_bound.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cc/input/layer_selection_bound.h b/cc/input/layer_selection_bound.h index 21d5284..10b14d9 100644 --- a/cc/input/layer_selection_bound.h +++ b/cc/input/layer_selection_bound.h @@ -6,6 +6,7 @@ #define CC_INPUT_LAYER_SELECTION_BOUND_H_ #include "cc/base/cc_export.h" +#include "cc/input/selection.h" #include "cc/input/selection_bound_type.h" #include "ui/gfx/geometry/point_f.h" @@ -25,6 +26,8 @@ struct CC_EXPORT LayerSelectionBound { bool operator==(const LayerSelectionBound& lhs, const LayerSelectionBound& rhs); bool operator!=(const LayerSelectionBound& lhs, const LayerSelectionBound& rhs); +typedef Selection<LayerSelectionBound> LayerSelection; + } // namespace cc #endif // CC_INPUT_LAYER_SELECTION_BOUND_H_ |