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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 // Used to track if a textfield was focused when the current tap gesture | 105 // Used to track if a textfield was focused when the current tap gesture |
106 // happened. | 106 // happened. |
107 bool textfield_was_focused_on_tap_; | 107 bool textfield_was_focused_on_tap_; |
108 | 108 |
109 DISALLOW_COPY_AND_ASSIGN(TouchEditableImplAura); | 109 DISALLOW_COPY_AND_ASSIGN(TouchEditableImplAura); |
110 }; | 110 }; |
111 | 111 |
112 } // namespace content | 112 } // namespace content |
113 | 113 |
114 #endif // CONTENT_BROWSER_WEB_CONTENTS_TOUCH_EDITABLE_IMPL_AURA_H_ | 114 #endif // CONTENT_BROWSER_WEB_CONTENTS_TOUCH_EDITABLE_IMPL_AURA_H_ |
OLD | NEW |