| 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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 | 317 |
| 318 bool RenderWidgetHostViewChildFrame::HasAcceleratedSurface( | 318 bool RenderWidgetHostViewChildFrame::HasAcceleratedSurface( |
| 319 const gfx::Size& desired_size) { | 319 const gfx::Size& desired_size) { |
| 320 return false; | 320 return false; |
| 321 } | 321 } |
| 322 | 322 |
| 323 gfx::GLSurfaceHandle RenderWidgetHostViewChildFrame::GetCompositingSurface() { | 323 gfx::GLSurfaceHandle RenderWidgetHostViewChildFrame::GetCompositingSurface() { |
| 324 return gfx::GLSurfaceHandle(gfx::kNullPluginWindow, gfx::TEXTURE_TRANSPORT); | 324 return gfx::GLSurfaceHandle(gfx::kNullPluginWindow, gfx::TEXTURE_TRANSPORT); |
| 325 } | 325 } |
| 326 | 326 |
| 327 void RenderWidgetHostViewChildFrame::SetScrollOffsetPinning( | |
| 328 bool is_pinned_to_left, bool is_pinned_to_right) { | |
| 329 } | |
| 330 | |
| 331 #if defined(OS_WIN) | 327 #if defined(OS_WIN) |
| 332 void RenderWidgetHostViewChildFrame::SetParentNativeViewAccessible( | 328 void RenderWidgetHostViewChildFrame::SetParentNativeViewAccessible( |
| 333 gfx::NativeViewAccessible accessible_parent) { | 329 gfx::NativeViewAccessible accessible_parent) { |
| 334 } | 330 } |
| 335 | 331 |
| 336 gfx::NativeViewId RenderWidgetHostViewChildFrame::GetParentForWindowlessPlugin() | 332 gfx::NativeViewId RenderWidgetHostViewChildFrame::GetParentForWindowlessPlugin() |
| 337 const { | 333 const { |
| 338 return NULL; | 334 return NULL; |
| 339 } | 335 } |
| 340 #endif // defined(OS_WIN) | 336 #endif // defined(OS_WIN) |
| 341 | 337 |
| 342 SkBitmap::Config RenderWidgetHostViewChildFrame::PreferredReadbackFormat() { | 338 SkBitmap::Config RenderWidgetHostViewChildFrame::PreferredReadbackFormat() { |
| 343 return SkBitmap::kARGB_8888_Config; | 339 return SkBitmap::kARGB_8888_Config; |
| 344 } | 340 } |
| 345 | 341 |
| 346 } // namespace content | 342 } // namespace content |
| OLD | NEW |