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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.cc

Issue 228083002: Make ReflectorImpl use mailboxes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/renderer_host/render_widget_host_view_aura.h" 5 #include "content/browser/renderer_host/render_widget_host_view_aura.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback_helpers.h" 10 #include "base/callback_helpers.h"
(...skipping 1472 matching lines...) Expand 10 before | Expand all | Expand 10 after
1483 } 1483 }
1484 1484
1485 bool RenderWidgetHostViewAura::HasAcceleratedSurface( 1485 bool RenderWidgetHostViewAura::HasAcceleratedSurface(
1486 const gfx::Size& desired_size) { 1486 const gfx::Size& desired_size) {
1487 // Aura doesn't use GetBackingStore for accelerated pages, so it doesn't 1487 // Aura doesn't use GetBackingStore for accelerated pages, so it doesn't
1488 // matter what is returned here as GetBackingStore is the only caller of this 1488 // matter what is returned here as GetBackingStore is the only caller of this
1489 // method. TODO(jbates) implement this if other Aura code needs it. 1489 // method. TODO(jbates) implement this if other Aura code needs it.
1490 return false; 1490 return false;
1491 } 1491 }
1492 1492
1493 void RenderWidgetHostViewAura::SetSurfaceNotInUseByCompositor(
1494 scoped_refptr<ui::Texture>) {
1495 }
1496
1497 // static 1493 // static
1498 void RenderWidgetHostViewAura::CopyFromCompositingSurfaceHasResult( 1494 void RenderWidgetHostViewAura::CopyFromCompositingSurfaceHasResult(
1499 const gfx::Size& dst_size_in_pixel, 1495 const gfx::Size& dst_size_in_pixel,
1500 const SkBitmap::Config config, 1496 const SkBitmap::Config config,
1501 const base::Callback<void(bool, const SkBitmap&)>& callback, 1497 const base::Callback<void(bool, const SkBitmap&)>& callback,
1502 scoped_ptr<cc::CopyOutputResult> result) { 1498 scoped_ptr<cc::CopyOutputResult> result) {
1503 if (result->IsEmpty() || result->size().IsEmpty()) { 1499 if (result->IsEmpty() || result->size().IsEmpty()) {
1504 callback.Run(false, SkBitmap()); 1500 callback.Run(false, SkBitmap());
1505 return; 1501 return;
1506 } 1502 }
(...skipping 1712 matching lines...) Expand 10 before | Expand all | Expand 10 after
3219 RenderWidgetHost* widget) { 3215 RenderWidgetHost* widget) {
3220 return new RenderWidgetHostViewAura(widget); 3216 return new RenderWidgetHostViewAura(widget);
3221 } 3217 }
3222 3218
3223 // static 3219 // static
3224 void RenderWidgetHostViewPort::GetDefaultScreenInfo(WebScreenInfo* results) { 3220 void RenderWidgetHostViewPort::GetDefaultScreenInfo(WebScreenInfo* results) {
3225 GetScreenInfoForWindow(results, NULL); 3221 GetScreenInfoForWindow(results, NULL);
3226 } 3222 }
3227 3223
3228 } // namespace content 3224 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698