| 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 <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 16 #include "base/process_util.h" | 16 #include "base/process_util.h" |
| 17 #include "base/property_bag.h" | 17 #include "base/property_bag.h" |
| 18 #include "base/string16.h" | 18 #include "base/string16.h" |
| 19 #include "base/timer.h" | 19 #include "base/timer.h" |
| 20 #include "build/build_config.h" | 20 #include "build/build_config.h" |
| 21 #include "content/common/view_message_enums.h" | 21 #include "content/common/view_message_enums.h" |
| 22 #include "content/public/browser/render_widget_host.h" | 22 #include "content/public/browser/render_widget_host.h" |
| 23 #include "content/public/common/page_zoom.h" | 23 #include "content/public/common/page_zoom.h" |
| 24 #include "ui/base/ime/text_input_type.h" | 24 #include "ui/base/ime/text_input_type.h" |
| 25 #include "ui/gfx/native_widget_types.h" | 25 #include "ui/gfx/native_widget_types.h" |
| 26 | 26 |
| 27 class BackingStore; | |
| 28 class MockRenderWidgetHost; | 27 class MockRenderWidgetHost; |
| 29 class WebCursor; | 28 class WebCursor; |
| 30 struct EditCommand; | 29 struct EditCommand; |
| 31 struct ViewHostMsg_UpdateRect_Params; | 30 struct ViewHostMsg_UpdateRect_Params; |
| 32 | 31 |
| 33 namespace base { | 32 namespace base { |
| 34 class TimeTicks; | 33 class TimeTicks; |
| 35 } | 34 } |
| 36 | 35 |
| 37 namespace ui { | 36 namespace ui { |
| 38 class Range; | 37 class Range; |
| 39 } | 38 } |
| 40 | 39 |
| 41 namespace WebKit { | 40 namespace WebKit { |
| 42 class WebInputEvent; | 41 class WebInputEvent; |
| 43 class WebMouseEvent; | 42 class WebMouseEvent; |
| 44 struct WebCompositionUnderline; | 43 struct WebCompositionUnderline; |
| 45 struct WebScreenInfo; | 44 struct WebScreenInfo; |
| 46 } | 45 } |
| 47 | 46 |
| 48 namespace content { | 47 namespace content { |
| 49 | 48 class BackingStore; |
| 50 class RenderWidgetHostDelegate; | 49 class RenderWidgetHostDelegate; |
| 51 class RenderWidgetHostViewPort; | 50 class RenderWidgetHostViewPort; |
| 52 class SmoothScrollGesture; | 51 class SmoothScrollGesture; |
| 53 class TapSuppressionController; | 52 class TapSuppressionController; |
| 54 | 53 |
| 55 // This implements the RenderWidgetHost interface that is exposed to | 54 // This implements the RenderWidgetHost interface that is exposed to |
| 56 // embedders of content, and adds things only visible to content. | 55 // embedders of content, and adds things only visible to content. |
| 57 class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, | 56 class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
| 58 public IPC::Listener { | 57 public IPC::Listener { |
| 59 public: | 58 public: |
| (...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 765 scoped_ptr<TapSuppressionController> tap_suppression_controller_; | 764 scoped_ptr<TapSuppressionController> tap_suppression_controller_; |
| 766 | 765 |
| 767 scoped_ptr<SmoothScrollGesture> active_smooth_scroll_gesture_; | 766 scoped_ptr<SmoothScrollGesture> active_smooth_scroll_gesture_; |
| 768 | 767 |
| 769 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 768 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 770 }; | 769 }; |
| 771 | 770 |
| 772 } // namespace content | 771 } // namespace content |
| 773 | 772 |
| 774 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 773 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |