| 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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 #if defined(TOOLKIT_GTK) | 293 #if defined(TOOLKIT_GTK) |
| 294 GdkEventButton* RenderWidgetHostViewChildFrame::GetLastMouseDown() { | 294 GdkEventButton* RenderWidgetHostViewChildFrame::GetLastMouseDown() { |
| 295 return NULL; | 295 return NULL; |
| 296 } | 296 } |
| 297 | 297 |
| 298 gfx::NativeView RenderWidgetHostViewChildFrame::BuildInputMethodsGtkMenu() { | 298 gfx::NativeView RenderWidgetHostViewChildFrame::BuildInputMethodsGtkMenu() { |
| 299 return NULL; | 299 return NULL; |
| 300 } | 300 } |
| 301 #endif // defined(TOOLKIT_GTK) | 301 #endif // defined(TOOLKIT_GTK) |
| 302 | 302 |
| 303 #if defined(OS_WIN) && !defined(USE_AURA) | |
| 304 void RenderWidgetHostViewChildFrame::WillWmDestroy() { | |
| 305 } | |
| 306 #endif // defined(OS_WIN) && !defined(USE_AURA) | |
| 307 | |
| 308 BackingStore* RenderWidgetHostViewChildFrame::AllocBackingStore( | 303 BackingStore* RenderWidgetHostViewChildFrame::AllocBackingStore( |
| 309 const gfx::Size& size) { | 304 const gfx::Size& size) { |
| 310 NOTREACHED(); | 305 NOTREACHED(); |
| 311 return NULL; | 306 return NULL; |
| 312 } | 307 } |
| 313 | 308 |
| 314 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurface( | 309 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurface( |
| 315 const gfx::Rect& src_subrect, | 310 const gfx::Rect& src_subrect, |
| 316 const gfx::Size& /* dst_size */, | 311 const gfx::Size& /* dst_size */, |
| 317 const base::Callback<void(bool, const SkBitmap&)>& callback) { | 312 const base::Callback<void(bool, const SkBitmap&)>& callback) { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 335 } | 330 } |
| 336 | 331 |
| 337 void RenderWidgetHostViewChildFrame::AcceleratedSurfaceRelease() { | 332 void RenderWidgetHostViewChildFrame::AcceleratedSurfaceRelease() { |
| 338 } | 333 } |
| 339 | 334 |
| 340 bool RenderWidgetHostViewChildFrame::HasAcceleratedSurface( | 335 bool RenderWidgetHostViewChildFrame::HasAcceleratedSurface( |
| 341 const gfx::Size& desired_size) { | 336 const gfx::Size& desired_size) { |
| 342 return false; | 337 return false; |
| 343 } | 338 } |
| 344 | 339 |
| 345 #if defined(OS_WIN) && !defined(USE_AURA) | |
| 346 void RenderWidgetHostViewChildFrame::SetClickthroughRegion(SkRegion* region) { | |
| 347 } | |
| 348 #endif // defined(OS_WIN) && !defined(USE_AURA) | |
| 349 | |
| 350 gfx::GLSurfaceHandle RenderWidgetHostViewChildFrame::GetCompositingSurface() { | 340 gfx::GLSurfaceHandle RenderWidgetHostViewChildFrame::GetCompositingSurface() { |
| 351 return gfx::GLSurfaceHandle(gfx::kNullPluginWindow, gfx::TEXTURE_TRANSPORT); | 341 return gfx::GLSurfaceHandle(gfx::kNullPluginWindow, gfx::TEXTURE_TRANSPORT); |
| 352 } | 342 } |
| 353 | 343 |
| 354 void RenderWidgetHostViewChildFrame::SetHasHorizontalScrollbar( | 344 void RenderWidgetHostViewChildFrame::SetHasHorizontalScrollbar( |
| 355 bool has_horizontal_scrollbar) { | 345 bool has_horizontal_scrollbar) { |
| 356 } | 346 } |
| 357 | 347 |
| 358 void RenderWidgetHostViewChildFrame::SetScrollOffsetPinning( | 348 void RenderWidgetHostViewChildFrame::SetScrollOffsetPinning( |
| 359 bool is_pinned_to_left, bool is_pinned_to_right) { | 349 bool is_pinned_to_left, bool is_pinned_to_right) { |
| 360 } | 350 } |
| 361 | 351 |
| 362 #if defined(OS_WIN) && defined(USE_AURA) | 352 #if defined(OS_WIN) |
| 363 void RenderWidgetHostViewChildFrame::SetParentNativeViewAccessible( | 353 void RenderWidgetHostViewChildFrame::SetParentNativeViewAccessible( |
| 364 gfx::NativeViewAccessible accessible_parent) { | 354 gfx::NativeViewAccessible accessible_parent) { |
| 365 } | 355 } |
| 366 | 356 |
| 367 gfx::NativeViewId RenderWidgetHostViewChildFrame::GetParentForWindowlessPlugin() | 357 gfx::NativeViewId RenderWidgetHostViewChildFrame::GetParentForWindowlessPlugin() |
| 368 const { | 358 const { |
| 369 return NULL; | 359 return NULL; |
| 370 } | 360 } |
| 371 #endif // defined(OS_WIN) && defined(USE_AURA) | 361 #endif // defined(OS_WIN) && defined(USE_AURA) |
| 372 | 362 |
| 373 } // namespace content | 363 } // namespace content |
| OLD | NEW |