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

Unified Diff: trunk/src/cc/trees/layer_tree_host_impl.h

Issue 23740010: Revert 223162 "Update the nine patch layer to use UI resources" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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 | « trunk/src/cc/trees/layer_tree_host.cc ('k') | trunk/src/cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/cc/trees/layer_tree_host_impl.h
===================================================================
--- trunk/src/cc/trees/layer_tree_host_impl.h (revision 223178)
+++ trunk/src/cc/trees/layer_tree_host_impl.h (working copy)
@@ -50,8 +50,8 @@
class TextureMailboxDeleter;
class TopControlsManager;
class UIResourceBitmap;
-class UIResourceRequest;
struct RendererCapabilities;
+struct UIResourceRequest;
// LayerTreeHost->Proxy callback interface.
class LayerTreeHostImplClient {
@@ -398,15 +398,14 @@
bool page_scale_animation_active() const { return !!page_scale_animation_; }
- virtual void CreateUIResource(UIResourceId uid,
- const UIResourceBitmap& bitmap);
+ void CreateUIResource(UIResourceId uid,
+ scoped_refptr<UIResourceBitmap> bitmap);
// Deletes a UI resource. May safely be called more than once.
- virtual void DeleteUIResource(UIResourceId uid);
+ void DeleteUIResource(UIResourceId uid);
void EvictAllUIResources();
bool EvictedUIResourcesExist() const;
- virtual ResourceProvider::ResourceId ResourceIdForUIResource(
- UIResourceId uid) const;
+ ResourceProvider::ResourceId ResourceIdForUIResource(UIResourceId uid) const;
void DidInitializeVisibleTileForTesting() { DidInitializeVisibleTile(); }
« no previous file with comments | « trunk/src/cc/trees/layer_tree_host.cc ('k') | trunk/src/cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698