OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_RENDERER_GPU_INPUT_HANDLER_MANAGER_H_ | 5 #ifndef CONTENT_RENDERER_GPU_INPUT_HANDLER_MANAGER_H_ |
6 #define CONTENT_RENDERER_GPU_INPUT_HANDLER_MANAGER_H_ | 6 #define CONTENT_RENDERER_GPU_INPUT_HANDLER_MANAGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "content/port/common/input_event_ack_state.h" | 12 #include "content/port/common/input_event_ack_state.h" |
13 #include "content/renderer/render_view_impl.h" | 13 #include "content/renderer/render_view_impl.h" |
14 | 14 |
15 namespace base { | 15 namespace base { |
16 class MessageLoopProxy; | 16 class MessageLoopProxy; |
17 } | 17 } |
18 | 18 |
19 namespace cc { | 19 namespace cc { |
20 class InputHandler; | 20 class InputHandler; |
| 21 class LayerScrollOffsetDelegate; |
21 } | 22 } |
22 | 23 |
23 namespace WebKit { | 24 namespace WebKit { |
24 class WebInputEvent; | 25 class WebInputEvent; |
25 } | 26 } |
26 | 27 |
27 namespace content { | 28 namespace content { |
28 | 29 |
29 class InputHandlerWrapper; | 30 class InputHandlerWrapper; |
30 class InputHandlerManagerClient; | 31 class InputHandlerManagerClient; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 scoped_refptr<InputHandlerWrapper> > InputHandlerMap; | 66 scoped_refptr<InputHandlerWrapper> > InputHandlerMap; |
66 InputHandlerMap input_handlers_; | 67 InputHandlerMap input_handlers_; |
67 | 68 |
68 scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; | 69 scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; |
69 InputHandlerManagerClient* client_; | 70 InputHandlerManagerClient* client_; |
70 }; | 71 }; |
71 | 72 |
72 } // namespace content | 73 } // namespace content |
73 | 74 |
74 #endif // CONTENT_RENDERER_GPU_INPUT_HANDLER_MANAGER_H_ | 75 #endif // CONTENT_RENDERER_GPU_INPUT_HANDLER_MANAGER_H_ |
OLD | NEW |