| Index: cc/input/selection.h
|
| diff --git a/cc/input/selection.h b/cc/input/selection.h
|
| index 1f3c6ebac052e0fed32d44a1b2edb3ecc489423e..c84caa1fa1317f934e419e3cfc1e56b95879cee5 100644
|
| --- a/cc/input/selection.h
|
| +++ b/cc/input/selection.h
|
| @@ -11,12 +11,16 @@ namespace cc {
|
|
|
| template <typename BoundType>
|
| struct CC_EXPORT Selection {
|
| - Selection() : is_editable(false), is_empty_text_form_control(false) {}
|
| + Selection()
|
| + : is_editable(false),
|
| + is_empty_text_form_control(false),
|
| + is_handle_visible(true) {}
|
| ~Selection() {}
|
|
|
| BoundType start, end;
|
| bool is_editable;
|
| bool is_empty_text_form_control;
|
| + bool is_handle_visible;
|
| };
|
|
|
| template <typename BoundType>
|
| @@ -24,7 +28,8 @@ inline bool operator==(const Selection<BoundType>& lhs,
|
| const Selection<BoundType>& rhs) {
|
| return lhs.start == rhs.start && lhs.end == rhs.end &&
|
| lhs.is_editable == rhs.is_editable &&
|
| - lhs.is_empty_text_form_control == rhs.is_empty_text_form_control;
|
| + lhs.is_empty_text_form_control == rhs.is_empty_text_form_control &&
|
| + lhs.is_handle_visible == rhs.is_handle_visible;
|
| }
|
|
|
| template <typename BoundType>
|
|
|