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/frame_host/cross_process_frame_connector.h" | 7 #include "content/browser/frame_host/cross_process_frame_connector.h" |
8 #include "content/browser/renderer_host/render_widget_host_impl.h" | 8 #include "content/browser/renderer_host/render_widget_host_impl.h" |
9 #include "content/common/gpu/gpu_messages.h" | 9 #include "content/common/gpu/gpu_messages.h" |
10 #include "content/common/view_messages.h" | 10 #include "content/common/view_messages.h" |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 void RenderWidgetHostViewChildFrame::LockCompositingSurface() { | 199 void RenderWidgetHostViewChildFrame::LockCompositingSurface() { |
200 } | 200 } |
201 | 201 |
202 void RenderWidgetHostViewChildFrame::UnlockCompositingSurface() { | 202 void RenderWidgetHostViewChildFrame::UnlockCompositingSurface() { |
203 } | 203 } |
204 #endif | 204 #endif |
205 | 205 |
206 void RenderWidgetHostViewChildFrame::ScrollOffsetChanged() { | 206 void RenderWidgetHostViewChildFrame::ScrollOffsetChanged() { |
207 } | 207 } |
208 | 208 |
209 void RenderWidgetHostViewChildFrame::OnAcceleratedCompositingStateChange() { | |
210 } | |
211 | |
212 void RenderWidgetHostViewChildFrame::AcceleratedSurfaceInitialized(int host_id, | 209 void RenderWidgetHostViewChildFrame::AcceleratedSurfaceInitialized(int host_id, |
213 int route_id) { | 210 int route_id) { |
214 } | 211 } |
215 | 212 |
216 void RenderWidgetHostViewChildFrame::AcceleratedSurfaceBuffersSwapped( | 213 void RenderWidgetHostViewChildFrame::AcceleratedSurfaceBuffersSwapped( |
217 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 214 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
218 int gpu_host_id) { | 215 int gpu_host_id) { |
219 if (frame_connector_) | 216 if (frame_connector_) |
220 frame_connector_->ChildFrameBuffersSwapped(params, gpu_host_id); | 217 frame_connector_->ChildFrameBuffersSwapped(params, gpu_host_id); |
221 } | 218 } |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 const { | 342 const { |
346 return NULL; | 343 return NULL; |
347 } | 344 } |
348 #endif // defined(OS_WIN) | 345 #endif // defined(OS_WIN) |
349 | 346 |
350 SkBitmap::Config RenderWidgetHostViewChildFrame::PreferredReadbackFormat() { | 347 SkBitmap::Config RenderWidgetHostViewChildFrame::PreferredReadbackFormat() { |
351 return SkBitmap::kARGB_8888_Config; | 348 return SkBitmap::kARGB_8888_Config; |
352 } | 349 } |
353 | 350 |
354 } // namespace content | 351 } // namespace content |
OLD | NEW |