OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_DEVTOOLS_PROTOCOL_INPUT_HANDLER_H_ | 5 #ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_INPUT_HANDLER_H_ |
6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_INPUT_HANDLER_H_ | 6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_INPUT_HANDLER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "content/browser/devtools/protocol/devtools_protocol_dispatcher.h" | 10 #include "content/browser/devtools/protocol/devtools_protocol_dispatcher.h" |
11 #include "content/browser/renderer_host/input/synthetic_gesture.h" | 11 #include "content/browser/renderer_host/input/synthetic_gesture.h" |
12 #include "content/common/input/synthetic_smooth_scroll_gesture_params.h" | 12 #include "content/common/input/synthetic_smooth_scroll_gesture_params.h" |
13 #include "ui/gfx/geometry/size_f.h" | 13 #include "ui/gfx/geometry/size_f.h" |
14 | 14 |
15 namespace cc { | 15 namespace cc { |
16 class CompositorFrameMetadata; | 16 class CompositorFrameMetadata; |
17 } | 17 } |
18 | 18 |
19 namespace gfx { | |
20 class Point; | |
21 } | |
22 | |
23 namespace content { | 19 namespace content { |
24 | 20 |
25 class RenderWidgetHostImpl; | 21 class RenderWidgetHostImpl; |
26 | 22 |
27 namespace devtools { | 23 namespace devtools { |
28 namespace input { | 24 namespace input { |
29 | 25 |
30 class InputHandler { | 26 class InputHandler { |
31 public: | 27 public: |
32 typedef DevToolsProtocolClient::Response Response; | 28 typedef DevToolsProtocolClient::Response Response; |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 base::WeakPtrFactory<InputHandler> weak_factory_; | 126 base::WeakPtrFactory<InputHandler> weak_factory_; |
131 | 127 |
132 DISALLOW_COPY_AND_ASSIGN(InputHandler); | 128 DISALLOW_COPY_AND_ASSIGN(InputHandler); |
133 }; | 129 }; |
134 | 130 |
135 } // namespace input | 131 } // namespace input |
136 } // namespace devtools | 132 } // namespace devtools |
137 } // namespace content | 133 } // namespace content |
138 | 134 |
139 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_INPUT_HANDLER_H_ | 135 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_INPUT_HANDLER_H_ |
OLD | NEW |