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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 void ShowDisambiguationPopup(const gfx::Rect& rect_pixels, | 130 void ShowDisambiguationPopup(const gfx::Rect& rect_pixels, |
131 const SkBitmap& zoomed_bitmap) override; | 131 const SkBitmap& zoomed_bitmap) override; |
132 #endif // defined(OS_ANDROID) || defined(USE_AURA) | 132 #endif // defined(OS_ANDROID) || defined(USE_AURA) |
133 | 133 |
134 void LockCompositingSurface() override; | 134 void LockCompositingSurface() override; |
135 void UnlockCompositingSurface() override; | 135 void UnlockCompositingSurface() override; |
136 | 136 |
137 #if defined(OS_WIN) | 137 #if defined(OS_WIN) |
138 void SetParentNativeViewAccessible( | 138 void SetParentNativeViewAccessible( |
139 gfx::NativeViewAccessible accessible_parent) override; | 139 gfx::NativeViewAccessible accessible_parent) override; |
| 140 gfx::NativeViewId GetParentForWindowlessPlugin() const override; |
140 #endif | 141 #endif |
141 | 142 |
142 void WheelEventAck(const blink::WebMouseWheelEvent& event, | 143 void WheelEventAck(const blink::WebMouseWheelEvent& event, |
143 InputEventAckState ack_result) override; | 144 InputEventAckState ack_result) override; |
144 | 145 |
145 void GestureEventAck(const blink::WebGestureEvent& event, | 146 void GestureEventAck(const blink::WebGestureEvent& event, |
146 InputEventAckState ack_result) override; | 147 InputEventAckState ack_result) override; |
147 | 148 |
148 protected: | 149 protected: |
149 friend class RenderWidgetHostView; | 150 friend class RenderWidgetHostView; |
(...skipping 15 matching lines...) Expand all Loading... |
165 // The platform view for this RenderWidgetHostView. | 166 // The platform view for this RenderWidgetHostView. |
166 // RenderWidgetHostViewGuest mostly only cares about stuff related to | 167 // RenderWidgetHostViewGuest mostly only cares about stuff related to |
167 // compositing, the rest are directly forwared to this |platform_view_|. | 168 // compositing, the rest are directly forwared to this |platform_view_|. |
168 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; | 169 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; |
169 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 170 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
170 }; | 171 }; |
171 | 172 |
172 } // namespace content | 173 } // namespace content |
173 | 174 |
174 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 175 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |