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

Unified Diff: ui/views/view.h

Issue 25596002: aura: Use Layer::SetShowPaintedContent to stop showing external content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: layer-showpaintedcontent: nits Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/compositor/layer_unittest.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view.h
diff --git a/ui/views/view.h b/ui/views/view.h
index e433873f1e56fc9c62142d3bcacc659c064b4f6f..3d0a8b544145fc23a7a42aae5830e89e928c8c9a 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -1066,15 +1066,6 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// Accelerated painting ------------------------------------------------------
- // This creates a layer for the view, if one does not exist. It then
- // passes the texture to a layer associated with the view. While an external
- // texture is set, the view will not update the layer contents.
- //
- // |texture| cannot be NULL.
- //
- // Returns false if it cannot create a layer to which to assign the texture.
- bool SetExternalTexture(ui::Texture* texture);
-
// Returns the offset from this view to the nearest ancestor with a layer. If
// |layer_parent| is non-NULL it is set to the nearest ancestor with a layer.
virtual gfx::Vector2d CalculateOffsetToAncestorWithLayer(
« no previous file with comments | « ui/compositor/layer_unittest.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698