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> |
11 | 11 |
12 #include "content/browser/renderer_host/render_widget_host_view_aura.h" | 12 #include "content/browser/renderer_host/render_widget_host_view_aura.h" |
13 #include "ui/aura/window_observer.h" | 13 #include "ui/aura/window_observer.h" |
14 #include "ui/base/touch/touch_editing_controller.h" | 14 #include "ui/base/touch/touch_editing_controller.h" |
| 15 #include "ui/gfx/geometry/point.h" |
15 #include "ui/gfx/native_widget_types.h" | 16 #include "ui/gfx/native_widget_types.h" |
16 #include "ui/gfx/point.h" | |
17 #include "ui/gfx/rect.h" | 17 #include "ui/gfx/rect.h" |
18 | 18 |
19 namespace ui { | 19 namespace ui { |
20 class Accelerator; | 20 class Accelerator; |
21 } | 21 } |
22 | 22 |
23 namespace content { | 23 namespace content { |
24 class TouchEditableImplAuraTest; | 24 class TouchEditableImplAuraTest; |
25 | 25 |
26 // Aura specific implementation of ui::TouchEditable for a RenderWidgetHostView. | 26 // Aura specific implementation of ui::TouchEditable for a RenderWidgetHostView. |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 // Used to track if a textfield was focused when the current tap gesture | 106 // Used to track if a textfield was focused when the current tap gesture |
107 // happened. | 107 // happened. |
108 bool textfield_was_focused_on_tap_; | 108 bool textfield_was_focused_on_tap_; |
109 | 109 |
110 DISALLOW_COPY_AND_ASSIGN(TouchEditableImplAura); | 110 DISALLOW_COPY_AND_ASSIGN(TouchEditableImplAura); |
111 }; | 111 }; |
112 | 112 |
113 } // namespace content | 113 } // namespace content |
114 | 114 |
115 #endif // CONTENT_BROWSER_WEB_CONTENTS_TOUCH_EDITABLE_IMPL_AURA_H_ | 115 #endif // CONTENT_BROWSER_WEB_CONTENTS_TOUCH_EDITABLE_IMPL_AURA_H_ |
OLD | NEW |