OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_CLIENT_AU
RA_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_SELECTION_CONTROLLER_CLIENT_AU
RA_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_SELECTION_CONTROLLER_CLIENT_AU
RA_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_SELECTION_CONTROLLER_CLIENT_AU
RA_H_ |
7 | 7 |
| 8 #include <memory> |
| 9 |
8 #include "base/macros.h" | 10 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | |
10 #include "base/timer/timer.h" | 11 #include "base/timer/timer.h" |
11 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
12 #include "ui/touch_selection/touch_selection_controller.h" | 13 #include "ui/touch_selection/touch_selection_controller.h" |
13 #include "ui/touch_selection/touch_selection_menu_runner.h" | 14 #include "ui/touch_selection/touch_selection_menu_runner.h" |
14 | 15 |
15 namespace content { | 16 namespace content { |
16 struct ContextMenuParams; | 17 struct ContextMenuParams; |
17 class RenderWidgetHostViewAura; | 18 class RenderWidgetHostViewAura; |
18 | 19 |
19 // An implementation of |TouchSelectionControllerClient| to be used in Aura's | 20 // An implementation of |TouchSelectionControllerClient| to be used in Aura's |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 // A pre-target event handler for aura::Env which deactivates touch selection | 85 // A pre-target event handler for aura::Env which deactivates touch selection |
85 // on mouse and keyboard events. | 86 // on mouse and keyboard events. |
86 std::unique_ptr<EnvPreTargetHandler> env_pre_target_handler_; | 87 std::unique_ptr<EnvPreTargetHandler> env_pre_target_handler_; |
87 | 88 |
88 DISALLOW_COPY_AND_ASSIGN(TouchSelectionControllerClientAura); | 89 DISALLOW_COPY_AND_ASSIGN(TouchSelectionControllerClientAura); |
89 }; | 90 }; |
90 | 91 |
91 } // namespace content | 92 } // namespace content |
92 | 93 |
93 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_SELECTION_CONTROLLER_CLIENT
_AURA_H_ | 94 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_SELECTION_CONTROLLER_CLIENT
_AURA_H_ |
OLD | NEW |