| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_SELECTION_CONTROLLER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_SELECTION_CONTROLLER_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_SELECTION_CONTROLLER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_SELECTION_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "content/browser/renderer_host/input/selection_event_type.h" | 8 #include "content/browser/renderer_host/input/selection_event_type.h" |
| 9 #include "content/browser/renderer_host/input/touch_handle.h" | 9 #include "content/browser/renderer_host/input/touch_handle.h" |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 gfx::PointF GetStartPosition() const; | 110 gfx::PointF GetStartPosition() const; |
| 111 gfx::PointF GetEndPosition() const; | 111 gfx::PointF GetEndPosition() const; |
| 112 float GetStartLineHeight() const; | 112 float GetStartLineHeight() const; |
| 113 float GetEndLineHeight() const; | 113 float GetEndLineHeight() const; |
| 114 bool GetStartVisible() const; | 114 bool GetStartVisible() const; |
| 115 bool GetEndVisible() const; | 115 bool GetEndVisible() const; |
| 116 TouchHandle::AnimationStyle GetAnimationStyle(bool was_active) const; | 116 TouchHandle::AnimationStyle GetAnimationStyle(bool was_active) const; |
| 117 | 117 |
| 118 TouchSelectionControllerClient* const client_; | 118 TouchSelectionControllerClient* const client_; |
| 119 | 119 |
| 120 InputEventType last_input_event_type_; | 120 InputEventType response_pending_input_event_; |
| 121 | 121 |
| 122 gfx::RectF start_rect_; | 122 gfx::RectF start_rect_; |
| 123 TouchHandleOrientation start_orientation_; | 123 TouchHandleOrientation start_orientation_; |
| 124 bool start_visible_; | 124 bool start_visible_; |
| 125 gfx::RectF end_rect_; | 125 gfx::RectF end_rect_; |
| 126 TouchHandleOrientation end_orientation_; | 126 TouchHandleOrientation end_orientation_; |
| 127 bool end_visible_; | 127 bool end_visible_; |
| 128 | 128 |
| 129 scoped_ptr<TouchHandle> insertion_handle_; | 129 scoped_ptr<TouchHandle> insertion_handle_; |
| 130 bool is_insertion_active_; | 130 bool is_insertion_active_; |
| 131 bool activate_insertion_automatically_; | 131 bool activate_insertion_automatically_; |
| 132 | 132 |
| 133 scoped_ptr<TouchHandle> start_selection_handle_; | 133 scoped_ptr<TouchHandle> start_selection_handle_; |
| 134 scoped_ptr<TouchHandle> end_selection_handle_; | 134 scoped_ptr<TouchHandle> end_selection_handle_; |
| 135 gfx::PointF fixed_handle_position_; | 135 gfx::PointF fixed_handle_position_; |
| 136 bool is_selection_active_; | 136 bool is_selection_active_; |
| 137 bool activate_selection_automatically_; | 137 bool activate_selection_automatically_; |
| 138 | 138 |
| 139 bool selection_empty_; | 139 bool selection_empty_; |
| 140 bool selection_editable_; | 140 bool selection_editable_; |
| 141 | 141 |
| 142 bool temporarily_hidden_; | 142 bool temporarily_hidden_; |
| 143 | 143 |
| 144 DISALLOW_COPY_AND_ASSIGN(TouchSelectionController); | 144 DISALLOW_COPY_AND_ASSIGN(TouchSelectionController); |
| 145 }; | 145 }; |
| 146 | 146 |
| 147 } // namespace content | 147 } // namespace content |
| 148 | 148 |
| 149 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_SELECTION_CONTROLLER_H_ | 149 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_SELECTION_CONTROLLER_H_ |
| OLD | NEW |