| 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 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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( | 327 void RenderWidgetHostViewChildFrame::SetScrollOffsetPinning( |
| 328 bool is_pinned_to_left, bool is_pinned_to_right) { | 328 bool is_pinned_to_left, bool is_pinned_to_right) { |
| 329 } | 329 } |
| 330 | 330 |
| 331 #if defined(OS_WIN) | 331 #if defined(OS_WIN) |
| 332 void RenderWidgetHostViewChildFrame::SetParentNativeViewAccessible( | 332 HWND RenderWidgetHostViewChildFrame::GetAccessibleParentHWND() const { |
| 333 gfx::NativeViewAccessible accessible_parent) { | 333 return NULL; |
| 334 } |
| 335 |
| 336 IAccessible* RenderWidgetHostViewChildFrame::GetParentIAccessible() const { |
| 337 return NULL; |
| 334 } | 338 } |
| 335 | 339 |
| 336 gfx::NativeViewId RenderWidgetHostViewChildFrame::GetParentForWindowlessPlugin() | 340 gfx::NativeViewId RenderWidgetHostViewChildFrame::GetParentForWindowlessPlugin() |
| 337 const { | 341 const { |
| 338 return NULL; | 342 return NULL; |
| 339 } | 343 } |
| 340 #endif // defined(OS_WIN) | 344 #endif // defined(OS_WIN) |
| 341 | 345 |
| 342 SkBitmap::Config RenderWidgetHostViewChildFrame::PreferredReadbackFormat() { | 346 SkBitmap::Config RenderWidgetHostViewChildFrame::PreferredReadbackFormat() { |
| 343 return SkBitmap::kARGB_8888_Config; | 347 return SkBitmap::kARGB_8888_Config; |
| 344 } | 348 } |
| 345 | 349 |
| 346 } // namespace content | 350 } // namespace content |
| OLD | NEW |