OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "ui/events/gestures/gesture_recognizer.h" | 21 #include "ui/events/gestures/gesture_recognizer.h" |
22 #include "ui/events/gestures/gesture_types.h" | 22 #include "ui/events/gestures/gesture_types.h" |
23 #include "ui/gfx/geometry/rect.h" | 23 #include "ui/gfx/geometry/rect.h" |
24 #include "ui/gfx/geometry/vector2d_f.h" | 24 #include "ui/gfx/geometry/vector2d_f.h" |
25 #include "ui/gfx/native_widget_types.h" | 25 #include "ui/gfx/native_widget_types.h" |
26 | 26 |
27 namespace content { | 27 namespace content { |
28 class BrowserPluginGuest; | 28 class BrowserPluginGuest; |
29 class RenderWidgetHost; | 29 class RenderWidgetHost; |
30 class RenderWidgetHostImpl; | 30 class RenderWidgetHostImpl; |
31 struct NativeWebKeyboardEvent; | |
32 struct TextInputState; | 31 struct TextInputState; |
33 | 32 |
34 // See comments in render_widget_host_view.h about this class and its members. | 33 // See comments in render_widget_host_view.h about this class and its members. |
35 // This version is for the BrowserPlugin which handles a lot of the | 34 // This version is for the BrowserPlugin which handles a lot of the |
36 // functionality in a diffent place and isn't platform specific. | 35 // functionality in a diffent place and isn't platform specific. |
37 // The BrowserPlugin is currently a special case for out-of-process rendered | 36 // The BrowserPlugin is currently a special case for out-of-process rendered |
38 // content and therefore inherits from RenderWidgetHostViewChildFrame. | 37 // content and therefore inherits from RenderWidgetHostViewChildFrame. |
39 // Eventually all RenderWidgetHostViewGuest code will be subsumed by | 38 // Eventually all RenderWidgetHostViewGuest code will be subsumed by |
40 // RenderWidgetHostViewChildFrame and this class will be removed. | 39 // RenderWidgetHostViewChildFrame and this class will be removed. |
41 // | 40 // |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 // The platform view for this RenderWidgetHostView. | 159 // The platform view for this RenderWidgetHostView. |
161 // RenderWidgetHostViewGuest mostly only cares about stuff related to | 160 // RenderWidgetHostViewGuest mostly only cares about stuff related to |
162 // compositing, the rest are directly forwarded to this |platform_view_|. | 161 // compositing, the rest are directly forwarded to this |platform_view_|. |
163 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; | 162 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; |
164 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 163 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
165 }; | 164 }; |
166 | 165 |
167 } // namespace content | 166 } // namespace content |
168 | 167 |
169 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 168 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |