OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_WEB_CONTENTS_TOUCH_EDITABLE_IMPL_AURA_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_TOUCH_EDITABLE_IMPL_AURA_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_TOUCH_EDITABLE_IMPL_AURA_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_TOUCH_EDITABLE_IMPL_AURA_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 #include <queue> | 10 #include <queue> |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 virtual bool HandleInputEvent(const ui::Event* event) OVERRIDE; | 50 virtual bool HandleInputEvent(const ui::Event* event) OVERRIDE; |
51 virtual void GestureEventAck(int gesture_event_type) OVERRIDE; | 51 virtual void GestureEventAck(int gesture_event_type) OVERRIDE; |
52 virtual void OnViewDestroyed() OVERRIDE; | 52 virtual void OnViewDestroyed() OVERRIDE; |
53 | 53 |
54 // Overridden from ui::TouchEditable: | 54 // Overridden from ui::TouchEditable: |
55 virtual void SelectRect(const gfx::Point& start, | 55 virtual void SelectRect(const gfx::Point& start, |
56 const gfx::Point& end) OVERRIDE; | 56 const gfx::Point& end) OVERRIDE; |
57 virtual void MoveCaretTo(const gfx::Point& point) OVERRIDE; | 57 virtual void MoveCaretTo(const gfx::Point& point) OVERRIDE; |
58 virtual void GetSelectionEndPoints(gfx::Rect* p1, gfx::Rect* p2) OVERRIDE; | 58 virtual void GetSelectionEndPoints(gfx::Rect* p1, gfx::Rect* p2) OVERRIDE; |
59 virtual gfx::Rect GetBounds() OVERRIDE; | 59 virtual gfx::Rect GetBounds() OVERRIDE; |
60 virtual gfx::NativeView GetNativeView() OVERRIDE; | 60 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
61 virtual void ConvertPointToScreen(gfx::Point* point) OVERRIDE; | 61 virtual void ConvertPointToScreen(gfx::Point* point) OVERRIDE; |
62 virtual void ConvertPointFromScreen(gfx::Point* point) OVERRIDE; | 62 virtual void ConvertPointFromScreen(gfx::Point* point) OVERRIDE; |
63 virtual bool DrawsHandles() OVERRIDE; | 63 virtual bool DrawsHandles() OVERRIDE; |
64 virtual void OpenContextMenu(const gfx::Point& anchor) OVERRIDE; | 64 virtual void OpenContextMenu(const gfx::Point& anchor) OVERRIDE; |
65 virtual bool IsCommandIdChecked(int command_id) const OVERRIDE; | 65 virtual bool IsCommandIdChecked(int command_id) const OVERRIDE; |
66 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE; | 66 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE; |
67 virtual bool GetAcceleratorForCommandId( | 67 virtual bool GetAcceleratorForCommandId( |
68 int command_id, | 68 int command_id, |
69 ui::Accelerator* accelerator) OVERRIDE; | 69 ui::Accelerator* accelerator) OVERRIDE; |
70 virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE; | 70 virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 // this queue to keep track of the the tap count so that we can distinguish | 109 // this queue to keep track of the the tap count so that we can distinguish |
110 // between double and single tap when we get the ack. | 110 // between double and single tap when we get the ack. |
111 std::queue<int> tap_gesture_tap_count_queue_; | 111 std::queue<int> tap_gesture_tap_count_queue_; |
112 | 112 |
113 DISALLOW_COPY_AND_ASSIGN(TouchEditableImplAura); | 113 DISALLOW_COPY_AND_ASSIGN(TouchEditableImplAura); |
114 }; | 114 }; |
115 | 115 |
116 } // namespace content | 116 } // namespace content |
117 | 117 |
118 #endif // CONTENT_BROWSER_WEB_CONTENTS_TOUCH_EDITABLE_IMPL_AURA_H_ | 118 #endif // CONTENT_BROWSER_WEB_CONTENTS_TOUCH_EDITABLE_IMPL_AURA_H_ |
OLD | NEW |