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

Side by Side Diff: sky/engine/core/rendering/RenderLayer.cpp

Issue 763013002: Get rid of the remaining uses of GraphicsLayer. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix diff Created 6 years 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 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
3 * 3 *
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
5 * 5 *
6 * Other contributors: 6 * Other contributors:
7 * Robert O'Callahan <roc+@cs.cmu.edu> 7 * Robert O'Callahan <roc+@cs.cmu.edu>
8 * David Baron <dbaron@fas.harvard.edu> 8 * David Baron <dbaron@fas.harvard.edu>
9 * Christian Biesinger <cbiesinger@web.de> 9 * Christian Biesinger <cbiesinger@web.de>
10 * Randall Jesup <rjesup@wgate.com> 10 * Randall Jesup <rjesup@wgate.com>
(...skipping 2069 matching lines...) Expand 10 before | Expand all | Expand 10 after
2080 2080
2081 if (shouldIncludeTransform) 2081 if (shouldIncludeTransform)
2082 result = transform()->mapRect(result); 2082 result = transform()->mapRect(result);
2083 2083
2084 LayoutPoint delta; 2084 LayoutPoint delta;
2085 convertToLayerCoords(ancestorLayer, delta); 2085 convertToLayerCoords(ancestorLayer, delta);
2086 result.moveBy(delta); 2086 result.moveBy(delta);
2087 return result; 2087 return result;
2088 } 2088 }
2089 2089
2090 GraphicsLayer* RenderLayer::graphicsLayerBacking() const
2091 {
2092 return 0;
2093 }
2094
2095 bool RenderLayer::hasCompositedMask() const 2090 bool RenderLayer::hasCompositedMask() const
2096 { 2091 {
2097 // FIXME(sky): Remove 2092 // FIXME(sky): Remove
2098 return false; 2093 return false;
2099 } 2094 }
2100 2095
2101 bool RenderLayer::hasCompositedClippingMask() const 2096 bool RenderLayer::hasCompositedClippingMask() const
2102 { 2097 {
2103 // FIXME(sky): Remove 2098 // FIXME(sky): Remove
2104 return false; 2099 return false;
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
2348 } 2343 }
2349 } 2344 }
2350 2345
2351 void showLayerTree(const blink::RenderObject* renderer) 2346 void showLayerTree(const blink::RenderObject* renderer)
2352 { 2347 {
2353 if (!renderer) 2348 if (!renderer)
2354 return; 2349 return;
2355 showLayerTree(renderer->enclosingLayer()); 2350 showLayerTree(renderer->enclosingLayer());
2356 } 2351 }
2357 #endif 2352 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderLayer.h ('k') | sky/engine/platform/graphics/Canvas2DLayerBridge.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698