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