OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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_RENDERER_HOST_INPUT_INPUT_ROUTER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "content/port/browser/event_with_latency_info.h" | 9 #include "content/browser/renderer_host/event_with_latency_info.h" |
10 #include "content/port/common/input_event_ack_state.h" | 10 #include "content/common/input/input_event_ack_state.h" |
11 #include "content/public/browser/native_web_keyboard_event.h" | 11 #include "content/public/browser/native_web_keyboard_event.h" |
12 #include "ipc/ipc_listener.h" | 12 #include "ipc/ipc_listener.h" |
13 #include "third_party/WebKit/public/web/WebInputEvent.h" | 13 #include "third_party/WebKit/public/web/WebInputEvent.h" |
14 | 14 |
15 namespace content { | 15 namespace content { |
16 | 16 |
17 class InputRouterClient; | 17 class InputRouterClient; |
18 | 18 |
19 // The InputRouter allows the embedder to customize how input events are | 19 // The InputRouter allows the embedder to customize how input events are |
20 // sent to the renderer, and how responses are dispatched to the browser. | 20 // sent to the renderer, and how responses are dispatched to the browser. |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 VIEW_FLAGS_NONE = 0, | 61 VIEW_FLAGS_NONE = 0, |
62 FIXED_PAGE_SCALE = 1 << 0, | 62 FIXED_PAGE_SCALE = 1 << 0, |
63 MOBILE_VIEWPORT = 1 << 1 | 63 MOBILE_VIEWPORT = 1 << 1 |
64 }; | 64 }; |
65 virtual void OnViewUpdated(int view_flags) = 0; | 65 virtual void OnViewUpdated(int view_flags) = 0; |
66 }; | 66 }; |
67 | 67 |
68 } // namespace content | 68 } // namespace content |
69 | 69 |
70 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_H_ | 70 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ROUTER_H_ |
OLD | NEW |