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 #include "content/browser/frame_host/render_widget_host_view_child_frame.h" | 5 #include "content/browser/frame_host/render_widget_host_view_child_frame.h" |
6 | 6 |
7 #include "content/browser/accessibility/browser_accessibility_manager.h" | 7 #include "content/browser/accessibility/browser_accessibility_manager.h" |
8 #include "content/browser/frame_host/cross_process_frame_connector.h" | 8 #include "content/browser/frame_host/cross_process_frame_connector.h" |
9 #include "content/browser/renderer_host/render_widget_host_impl.h" | 9 #include "content/browser/renderer_host/render_widget_host_impl.h" |
10 #include "content/common/gpu/gpu_messages.h" | 10 #include "content/common/gpu/gpu_messages.h" |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 } | 200 } |
201 #endif | 201 #endif |
202 | 202 |
203 void RenderWidgetHostViewChildFrame::AcceleratedSurfaceInitialized(int host_id, | 203 void RenderWidgetHostViewChildFrame::AcceleratedSurfaceInitialized(int host_id, |
204 int route_id) { | 204 int route_id) { |
205 } | 205 } |
206 | 206 |
207 void RenderWidgetHostViewChildFrame::AcceleratedSurfaceBuffersSwapped( | 207 void RenderWidgetHostViewChildFrame::AcceleratedSurfaceBuffersSwapped( |
208 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 208 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
209 int gpu_host_id) { | 209 int gpu_host_id) { |
210 if (frame_connector_) | 210 NOTREACHED(); |
211 frame_connector_->ChildFrameBuffersSwapped(params, gpu_host_id); | |
212 } | 211 } |
213 | 212 |
214 void RenderWidgetHostViewChildFrame::AcceleratedSurfacePostSubBuffer( | 213 void RenderWidgetHostViewChildFrame::AcceleratedSurfacePostSubBuffer( |
215 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, | 214 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, |
216 int gpu_host_id) { | 215 int gpu_host_id) { |
217 } | 216 } |
218 | 217 |
219 void RenderWidgetHostViewChildFrame::OnSwapCompositorFrame( | 218 void RenderWidgetHostViewChildFrame::OnSwapCompositorFrame( |
220 uint32 output_surface_id, | 219 uint32 output_surface_id, |
221 scoped_ptr<cc::CompositorFrame> frame) { | 220 scoped_ptr<cc::CompositorFrame> frame) { |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 } | 339 } |
341 | 340 |
342 BrowserAccessibilityManager* | 341 BrowserAccessibilityManager* |
343 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager( | 342 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager( |
344 BrowserAccessibilityDelegate* delegate) { | 343 BrowserAccessibilityDelegate* delegate) { |
345 return BrowserAccessibilityManager::Create( | 344 return BrowserAccessibilityManager::Create( |
346 BrowserAccessibilityManager::GetEmptyDocument(), delegate); | 345 BrowserAccessibilityManager::GetEmptyDocument(), delegate); |
347 } | 346 } |
348 | 347 |
349 } // namespace content | 348 } // namespace content |
OLD | NEW |