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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 // RenderWidgetHostViewBase implementation. | 164 // RenderWidgetHostViewBase implementation. |
165 void LockCompositingSurface() override; | 165 void LockCompositingSurface() override; |
166 void UnlockCompositingSurface() override; | 166 void UnlockCompositingSurface() override; |
167 | 167 |
168 #if defined(OS_WIN) | 168 #if defined(OS_WIN) |
169 void SetParentNativeViewAccessible( | 169 void SetParentNativeViewAccessible( |
170 gfx::NativeViewAccessible accessible_parent) override; | 170 gfx::NativeViewAccessible accessible_parent) override; |
171 gfx::NativeViewId GetParentForWindowlessPlugin() const override; | 171 gfx::NativeViewId GetParentForWindowlessPlugin() const override; |
172 #endif | 172 #endif |
173 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( | 173 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( |
174 BrowserAccessibilityDelegate* delegate) override; | 174 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; |
175 | 175 |
176 // cc::SurfaceFactoryClient implementation. | 176 // cc::SurfaceFactoryClient implementation. |
177 void ReturnResources(const cc::ReturnedResourceArray& resources) override; | 177 void ReturnResources(const cc::ReturnedResourceArray& resources) override; |
178 void SetBeginFrameSource(cc::BeginFrameSource* begin_frame_source) override; | 178 void SetBeginFrameSource(cc::BeginFrameSource* begin_frame_source) override; |
179 | 179 |
180 // Declared 'public' instead of 'protected' here to allow derived classes | 180 // Declared 'public' instead of 'protected' here to allow derived classes |
181 // to Bind() to it. | 181 // to Bind() to it. |
182 void SurfaceDrawn(uint32_t output_surface_id, cc::SurfaceDrawStatus drawn); | 182 void SurfaceDrawn(uint32_t output_surface_id, cc::SurfaceDrawStatus drawn); |
183 | 183 |
184 // Exposed for tests. | 184 // Exposed for tests. |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 // it convenient to swap() when processing the list. | 237 // it convenient to swap() when processing the list. |
238 FrameSwappedCallbackList frame_swapped_callbacks_; | 238 FrameSwappedCallbackList frame_swapped_callbacks_; |
239 | 239 |
240 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; | 240 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; |
241 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 241 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
242 }; | 242 }; |
243 | 243 |
244 } // namespace content | 244 } // namespace content |
245 | 245 |
246 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 246 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
OLD | NEW |