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 #if defined(OS_WIN) | 164 #if defined(OS_WIN) |
165 void SetParentNativeViewAccessible( | 165 void SetParentNativeViewAccessible( |
166 gfx::NativeViewAccessible accessible_parent) override; | 166 gfx::NativeViewAccessible accessible_parent) override; |
167 gfx::NativeViewId GetParentForWindowlessPlugin() const override; | 167 gfx::NativeViewId GetParentForWindowlessPlugin() const override; |
168 #endif | 168 #endif |
169 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( | 169 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( |
170 BrowserAccessibilityDelegate* delegate) override; | 170 BrowserAccessibilityDelegate* delegate) override; |
171 | 171 |
172 // cc::SurfaceFactoryClient implementation. | 172 // cc::SurfaceFactoryClient implementation. |
173 void ReturnResources(const cc::ReturnedResourceArray& resources) override; | 173 void ReturnResources(const cc::ReturnedResourceArray& resources) override; |
174 void SetBeginFrameSource(cc::SurfaceId surface_id, | 174 void SetBeginFrameSource(cc::BeginFrameSource* begin_frame_source) override; |
175 cc::BeginFrameSource* begin_frame_source) override; | |
176 | 175 |
177 // Declared 'public' instead of 'protected' here to allow derived classes | 176 // Declared 'public' instead of 'protected' here to allow derived classes |
178 // to Bind() to it. | 177 // to Bind() to it. |
179 void SurfaceDrawn(uint32_t output_surface_id, cc::SurfaceDrawStatus drawn); | 178 void SurfaceDrawn(uint32_t output_surface_id, cc::SurfaceDrawStatus drawn); |
180 | 179 |
181 protected: | 180 protected: |
182 friend class RenderWidgetHostView; | 181 friend class RenderWidgetHostView; |
183 friend class RenderWidgetHostViewChildFrameTest; | 182 friend class RenderWidgetHostViewChildFrameTest; |
184 friend class RenderWidgetHostViewGuestSurfaceTest; | 183 friend class RenderWidgetHostViewGuestSurfaceTest; |
185 | 184 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 // it convenient to swap() when processing the list. | 227 // it convenient to swap() when processing the list. |
229 FrameSwappedCallbackList frame_swapped_callbacks_; | 228 FrameSwappedCallbackList frame_swapped_callbacks_; |
230 | 229 |
231 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; | 230 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; |
232 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 231 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
233 }; | 232 }; |
234 | 233 |
235 } // namespace content | 234 } // namespace content |
236 | 235 |
237 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 236 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
OLD | NEW |