| 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_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 5 #ifndef CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
| 6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/process/kill.h" | 11 #include "base/process/kill.h" |
| 12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
| 13 #include "cc/output/compositor_frame.h" | 13 #include "cc/output/compositor_frame.h" |
| 14 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
| 15 #include "content/port/browser/event_with_latency_info.h" | 15 #include "content/port/browser/event_with_latency_info.h" |
| 16 #include "content/port/common/input_event_ack_state.h" | 16 #include "content/port/common/input_event_ack_state.h" |
| 17 #include "content/public/browser/render_widget_host_view.h" | 17 #include "content/public/browser/render_widget_host_view.h" |
| 18 #include "ipc/ipc_listener.h" | 18 #include "ipc/ipc_listener.h" |
| 19 #include "third_party/WebKit/public/web/WebPopupType.h" | 19 #include "third_party/WebKit/public/web/WebPopupType.h" |
| 20 #include "third_party/WebKit/public/web/WebTextDirection.h" | 20 #include "third_party/WebKit/public/web/WebTextDirection.h" |
| 21 #include "ui/base/ime/text_input_mode.h" | 21 #include "ui/base/ime/text_input_mode.h" |
| 22 #include "ui/base/ime/text_input_type.h" | 22 #include "ui/base/ime/text_input_type.h" |
| 23 #include "ui/gfx/range/range.h" | 23 #include "ui/gfx/range/range.h" |
| 24 #include "ui/surface/transport_dib.h" | 24 #include "ui/surface/transport_dib.h" |
| 25 | 25 |
| 26 class SkBitmap; | 26 class SkBitmap; |
| 27 class WebCursor; | |
| 28 | 27 |
| 29 struct AccessibilityHostMsg_EventParams; | 28 struct AccessibilityHostMsg_EventParams; |
| 30 struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params; | 29 struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params; |
| 31 struct GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params; | 30 struct GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params; |
| 32 struct ViewHostMsg_TextInputState_Params; | 31 struct ViewHostMsg_TextInputState_Params; |
| 33 struct ViewHostMsg_SelectionBounds_Params; | 32 struct ViewHostMsg_SelectionBounds_Params; |
| 34 | 33 |
| 35 namespace media { | 34 namespace media { |
| 36 class VideoFrame; | 35 class VideoFrame; |
| 37 } | 36 } |
| 38 | 37 |
| 39 namespace blink { | 38 namespace blink { |
| 40 struct WebScreenInfo; | 39 struct WebScreenInfo; |
| 41 } | 40 } |
| 42 | 41 |
| 43 namespace content { | 42 namespace content { |
| 44 class BackingStore; | 43 class BackingStore; |
| 45 class RenderWidgetHostViewFrameSubscriber; | 44 class RenderWidgetHostViewFrameSubscriber; |
| 46 class SyntheticGesture; | 45 class SyntheticGesture; |
| 47 class SyntheticGestureTarget; | 46 class SyntheticGestureTarget; |
| 47 class WebCursor; |
| 48 struct WebPluginGeometry; | 48 struct WebPluginGeometry; |
| 49 struct NativeWebKeyboardEvent; | 49 struct NativeWebKeyboardEvent; |
| 50 | 50 |
| 51 // This is the larger RenderWidgetHostView interface exposed only | 51 // This is the larger RenderWidgetHostView interface exposed only |
| 52 // within content/ and to embedders looking to port to new platforms. | 52 // within content/ and to embedders looking to port to new platforms. |
| 53 // RenderWidgetHostView class hierarchy described in render_widget_host_view.h. | 53 // RenderWidgetHostView class hierarchy described in render_widget_host_view.h. |
| 54 class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView, | 54 class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView, |
| 55 public IPC::Listener { | 55 public IPC::Listener { |
| 56 public: | 56 public: |
| 57 virtual ~RenderWidgetHostViewPort() {} | 57 virtual ~RenderWidgetHostViewPort() {} |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 | 353 |
| 354 // Returns an HWND that's given as the parent window for windowless Flash to | 354 // Returns an HWND that's given as the parent window for windowless Flash to |
| 355 // workaround crbug.com/301548. | 355 // workaround crbug.com/301548. |
| 356 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const = 0; | 356 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const = 0; |
| 357 #endif | 357 #endif |
| 358 }; | 358 }; |
| 359 | 359 |
| 360 } // namespace content | 360 } // namespace content |
| 361 | 361 |
| 362 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 362 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
| OLD | NEW |