Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Side by Side Diff: content/browser/frame_host/render_widget_host_view_child_frame.cc

Issue 571413002: Declare a new name for CompositingSurface completion callback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed build issue. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 284
285 bool RenderWidgetHostViewChildFrame::PostProcessEventForPluginIme( 285 bool RenderWidgetHostViewChildFrame::PostProcessEventForPluginIme(
286 const NativeWebKeyboardEvent& event) { 286 const NativeWebKeyboardEvent& event) {
287 return false; 287 return false;
288 } 288 }
289 #endif // defined(OS_MACOSX) 289 #endif // defined(OS_MACOSX)
290 290
291 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurface( 291 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurface(
292 const gfx::Rect& src_subrect, 292 const gfx::Rect& src_subrect,
293 const gfx::Size& /* dst_size */, 293 const gfx::Size& /* dst_size */,
294 const base::Callback<void(bool, const SkBitmap&)>& callback, 294 CopyFromCompositingSurfaceCallback& callback,
295 const SkColorType color_type) { 295 const SkColorType color_type) {
296 callback.Run(false, SkBitmap()); 296 callback.Run(false, SkBitmap());
297 } 297 }
298 298
299 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurfaceToVideoFrame( 299 void RenderWidgetHostViewChildFrame::CopyFromCompositingSurfaceToVideoFrame(
300 const gfx::Rect& src_subrect, 300 const gfx::Rect& src_subrect,
301 const scoped_refptr<media::VideoFrame>& target, 301 const scoped_refptr<media::VideoFrame>& target,
302 const base::Callback<void(bool)>& callback) { 302 const base::Callback<void(bool)>& callback) {
303 NOTIMPLEMENTED(); 303 NOTIMPLEMENTED();
304 callback.Run(false); 304 callback.Run(false);
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 } 340 }
341 341
342 BrowserAccessibilityManager* 342 BrowserAccessibilityManager*
343 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager( 343 RenderWidgetHostViewChildFrame::CreateBrowserAccessibilityManager(
344 BrowserAccessibilityDelegate* delegate) { 344 BrowserAccessibilityDelegate* delegate) {
345 return BrowserAccessibilityManager::Create( 345 return BrowserAccessibilityManager::Create(
346 BrowserAccessibilityManager::GetEmptyDocument(), delegate); 346 BrowserAccessibilityManager::GetEmptyDocument(), delegate);
347 } 347 }
348 348
349 } // namespace content 349 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/compositor/delegated_frame_host.cc ('k') | content/browser/frame_host/render_widget_host_view_guest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698