| 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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 } | 294 } |
| 295 #endif // defined(OS_MACOSX) | 295 #endif // defined(OS_MACOSX) |
| 296 | 296 |
| 297 #if defined(OS_ANDROID) | 297 #if defined(OS_ANDROID) |
| 298 void RenderWidgetHostViewChildFrame::ShowDisambiguationPopup( | 298 void RenderWidgetHostViewChildFrame::ShowDisambiguationPopup( |
| 299 const gfx::Rect& target_rect, | 299 const gfx::Rect& target_rect, |
| 300 const SkBitmap& zoomed_bitmap) { | 300 const SkBitmap& zoomed_bitmap) { |
| 301 } | 301 } |
| 302 #endif // defined(OS_ANDROID) | 302 #endif // defined(OS_ANDROID) |
| 303 | 303 |
| 304 #if defined(TOOLKIT_GTK) | |
| 305 GdkEventButton* RenderWidgetHostViewChildFrame::GetLastMouseDown() { | |
| 306 return NULL; | |
| 307 } | |
| 308 | |
| 309 gfx::NativeView RenderWidgetHostViewChildFrame::BuildInputMethodsGtkMenu() { | |
| 310 return NULL; | |
| 311 } | |
| 312 #endif // defined(TOOLKIT_GTK) | |
| 313 | |
| 314 BackingStore* RenderWidgetHostViewChildFrame::AllocBackingStore( | 304 BackingStore* RenderWidgetHostViewChildFrame::AllocBackingStore( |
| 315 const gfx::Size& size) { | 305 const gfx::Size& size) { |
| 316 NOTREACHED(); | 306 NOTREACHED(); |
| 317 return NULL; | 307 return NULL; |
| 318 } | 308 } |
| 319 | 309 |
| 320 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurface( | 310 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurface( |
| 321 const gfx::Rect& src_subrect, | 311 const gfx::Rect& src_subrect, |
| 322 const gfx::Size& /* dst_size */, | 312 const gfx::Size& /* dst_size */, |
| 323 const base::Callback<void(bool, const SkBitmap&)>& callback, | 313 const base::Callback<void(bool, const SkBitmap&)>& callback, |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 const { | 360 const { |
| 371 return NULL; | 361 return NULL; |
| 372 } | 362 } |
| 373 #endif // defined(OS_WIN) | 363 #endif // defined(OS_WIN) |
| 374 | 364 |
| 375 SkBitmap::Config RenderWidgetHostViewChildFrame::PreferredReadbackFormat() { | 365 SkBitmap::Config RenderWidgetHostViewChildFrame::PreferredReadbackFormat() { |
| 376 return SkBitmap::kARGB_8888_Config; | 366 return SkBitmap::kARGB_8888_Config; |
| 377 } | 367 } |
| 378 | 368 |
| 379 } // namespace content | 369 } // namespace content |
| OLD | NEW |