| 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/accessibility/browser_accessibility_manager.h" | 7 #include "content/browser/accessibility/browser_accessibility_manager.h" |
| 8 #include "content/browser/frame_host/cross_process_frame_connector.h" | 8 #include "content/browser/frame_host/cross_process_frame_connector.h" |
| 9 #include "content/browser/renderer_host/render_widget_host_impl.h" | 9 #include "content/browser/renderer_host/render_widget_host_impl.h" |
| 10 #include "content/common/gpu/gpu_messages.h" | 10 #include "content/common/gpu/gpu_messages.h" |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 | 264 |
| 265 bool RenderWidgetHostViewChildFrame::PostProcessEventForPluginIme( | 265 bool RenderWidgetHostViewChildFrame::PostProcessEventForPluginIme( |
| 266 const NativeWebKeyboardEvent& event) { | 266 const NativeWebKeyboardEvent& event) { |
| 267 return false; | 267 return false; |
| 268 } | 268 } |
| 269 #endif // defined(OS_MACOSX) | 269 #endif // defined(OS_MACOSX) |
| 270 | 270 |
| 271 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurface( | 271 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurface( |
| 272 const gfx::Rect& src_subrect, | 272 const gfx::Rect& src_subrect, |
| 273 const gfx::Size& /* dst_size */, | 273 const gfx::Size& /* dst_size */, |
| 274 CopyFromCompositingSurfaceCallback& callback, | 274 ReadbackRequestCallback& callback, |
| 275 const SkColorType color_type) { | 275 const SkColorType color_type) { |
| 276 callback.Run(false, SkBitmap()); | 276 callback.Run(SkBitmap(), READBACK_NOT_SUPPORTED); |
| 277 } | 277 } |
| 278 | 278 |
| 279 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurfaceToVideoFrame( | 279 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurfaceToVideoFrame( |
| 280 const gfx::Rect& src_subrect, | 280 const gfx::Rect& src_subrect, |
| 281 const scoped_refptr<media::VideoFrame>& target, | 281 const scoped_refptr<media::VideoFrame>& target, |
| 282 const base::Callback<void(bool)>& callback) { | 282 const base::Callback<void(bool)>& callback) { |
| 283 NOTIMPLEMENTED(); | 283 NOTIMPLEMENTED(); |
| 284 callback.Run(false); | 284 callback.Run(false); |
| 285 } | 285 } |
| 286 | 286 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 313 } | 313 } |
| 314 | 314 |
| 315 BrowserAccessibilityManager* | 315 BrowserAccessibilityManager* |
| 316 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager( | 316 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager( |
| 317 BrowserAccessibilityDelegate* delegate) { | 317 BrowserAccessibilityDelegate* delegate) { |
| 318 return BrowserAccessibilityManager::Create( | 318 return BrowserAccessibilityManager::Create( |
| 319 BrowserAccessibilityManager::GetEmptyDocument(), delegate); | 319 BrowserAccessibilityManager::GetEmptyDocument(), delegate); |
| 320 } | 320 } |
| 321 | 321 |
| 322 } // namespace content | 322 } // namespace content |
| OLD | NEW |