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_CHILD_FRAME_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 const NativeWebKeyboardEvent& event) override; | 160 const NativeWebKeyboardEvent& event) override; |
161 #endif // defined(OS_MACOSX) | 161 #endif // defined(OS_MACOSX) |
162 | 162 |
163 // RenderWidgetHostViewBase implementation. | 163 // RenderWidgetHostViewBase implementation. |
164 void LockCompositingSurface() override; | 164 void LockCompositingSurface() override; |
165 void UnlockCompositingSurface() override; | 165 void UnlockCompositingSurface() override; |
166 | 166 |
167 #if defined(OS_WIN) | 167 #if defined(OS_WIN) |
168 void SetParentNativeViewAccessible( | 168 void SetParentNativeViewAccessible( |
169 gfx::NativeViewAccessible accessible_parent) override; | 169 gfx::NativeViewAccessible accessible_parent) override; |
| 170 gfx::NativeViewId GetParentForWindowlessPlugin() const override; |
170 #endif | 171 #endif |
171 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( | 172 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( |
172 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; | 173 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; |
173 | 174 |
174 // cc::SurfaceFactoryClient implementation. | 175 // cc::SurfaceFactoryClient implementation. |
175 void ReturnResources(const cc::ReturnedResourceArray& resources) override; | 176 void ReturnResources(const cc::ReturnedResourceArray& resources) override; |
176 void SetBeginFrameSource(cc::BeginFrameSource* begin_frame_source) override; | 177 void SetBeginFrameSource(cc::BeginFrameSource* begin_frame_source) override; |
177 | 178 |
178 // Declared 'public' instead of 'protected' here to allow derived classes | 179 // Declared 'public' instead of 'protected' here to allow derived classes |
179 // to Bind() to it. | 180 // to Bind() to it. |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 // it convenient to swap() when processing the list. | 236 // it convenient to swap() when processing the list. |
236 FrameSwappedCallbackList frame_swapped_callbacks_; | 237 FrameSwappedCallbackList frame_swapped_callbacks_; |
237 | 238 |
238 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; | 239 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; |
239 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 240 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
240 }; | 241 }; |
241 | 242 |
242 } // namespace content | 243 } // namespace content |
243 | 244 |
244 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 245 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
OLD | NEW |