| 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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <queue> | 10 #include <queue> |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 #include "base/timer.h" | 21 #include "base/timer.h" |
| 22 #include "build/build_config.h" | 22 #include "build/build_config.h" |
| 23 #include "content/common/view_message_enums.h" | 23 #include "content/common/view_message_enums.h" |
| 24 #include "content/public/browser/render_widget_host.h" | 24 #include "content/public/browser/render_widget_host.h" |
| 25 #include "content/public/common/page_zoom.h" | 25 #include "content/public/common/page_zoom.h" |
| 26 #include "ui/base/ime/text_input_type.h" | 26 #include "ui/base/ime/text_input_type.h" |
| 27 #include "ui/gfx/native_widget_types.h" | 27 #include "ui/gfx/native_widget_types.h" |
| 28 | 28 |
| 29 class MockRenderWidgetHost; | 29 class MockRenderWidgetHost; |
| 30 class WebCursor; | 30 class WebCursor; |
| 31 struct EditCommand; | |
| 32 struct ViewHostMsg_UpdateRect_Params; | 31 struct ViewHostMsg_UpdateRect_Params; |
| 33 struct ViewHostMsg_TextInputState_Params; | 32 struct ViewHostMsg_TextInputState_Params; |
| 34 struct ViewHostMsg_BeginSmoothScroll_Params; | 33 struct ViewHostMsg_BeginSmoothScroll_Params; |
| 35 | 34 |
| 36 namespace base { | 35 namespace base { |
| 37 class TimeTicks; | 36 class TimeTicks; |
| 38 } | 37 } |
| 39 | 38 |
| 40 namespace ui { | 39 namespace ui { |
| 41 class KeyEvent; | 40 class KeyEvent; |
| 42 class Range; | 41 class Range; |
| 43 } | 42 } |
| 44 | 43 |
| 45 namespace WebKit { | 44 namespace WebKit { |
| 46 class WebInputEvent; | 45 class WebInputEvent; |
| 47 class WebMouseEvent; | 46 class WebMouseEvent; |
| 48 struct WebCompositionUnderline; | 47 struct WebCompositionUnderline; |
| 49 struct WebScreenInfo; | 48 struct WebScreenInfo; |
| 50 } | 49 } |
| 51 | 50 |
| 52 #if defined(OS_ANDROID) | 51 #if defined(OS_ANDROID) |
| 53 namespace WebKit { | 52 namespace WebKit { |
| 54 class WebLayer; | 53 class WebLayer; |
| 55 } | 54 } |
| 56 #endif | 55 #endif |
| 57 | 56 |
| 58 namespace content { | 57 namespace content { |
| 59 class BackingStore; | 58 class BackingStore; |
| 59 struct EditCommand; |
| 60 class GestureEventFilter; | 60 class GestureEventFilter; |
| 61 class RenderWidgetHostDelegate; | 61 class RenderWidgetHostDelegate; |
| 62 class RenderWidgetHostViewPort; | 62 class RenderWidgetHostViewPort; |
| 63 class SmoothScrollGesture; | 63 class SmoothScrollGesture; |
| 64 class TouchEventQueue; | 64 class TouchEventQueue; |
| 65 | 65 |
| 66 // This implements the RenderWidgetHost interface that is exposed to | 66 // This implements the RenderWidgetHost interface that is exposed to |
| 67 // embedders of content, and adds things only visible to content. | 67 // embedders of content, and adds things only visible to content. |
| 68 class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, | 68 class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
| 69 public IPC::Listener { | 69 public IPC::Listener { |
| (...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 838 | 838 |
| 839 scoped_ptr<TouchEventQueue> touch_event_queue_; | 839 scoped_ptr<TouchEventQueue> touch_event_queue_; |
| 840 scoped_ptr<GestureEventFilter> gesture_event_filter_; | 840 scoped_ptr<GestureEventFilter> gesture_event_filter_; |
| 841 | 841 |
| 842 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 842 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 843 }; | 843 }; |
| 844 | 844 |
| 845 } // namespace content | 845 } // namespace content |
| 846 | 846 |
| 847 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 847 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |