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