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

Unified Diff: cc/trees/layer_tree_host.h

Issue 23805002: [cc] Enable specifying a overhang/gutter texture. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't require Webkit patch 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
Index: cc/trees/layer_tree_host.h
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
index be0ab06c868f6ac6fd5c95f822d4f8ad5689bea1..dd178346dad611bc1d065170f42e873d299ea7dc 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -24,6 +24,7 @@
#include "cc/input/top_controls_state.h"
#include "cc/layers/layer_lists.h"
#include "cc/output/output_surface.h"
+#include "cc/resources/scoped_ui_resource.h"
#include "cc/resources/ui_resource_bitmap.h"
#include "cc/resources/ui_resource_client.h"
#include "cc/scheduler/rate_limiter.h"
@@ -224,6 +225,8 @@ class CC_EXPORT LayerTreeHost : NON_EXPORTED_BASE(public RateLimiterClient) {
has_transparent_background_ = transparent;
}
+ void SetOverhangBitmap(const SkBitmap& bitmap);
+
PrioritizedResourceManager* contents_texture_manager() const {
return contents_texture_manager_.get();
}
@@ -379,6 +382,8 @@ class CC_EXPORT LayerTreeHost : NON_EXPORTED_BASE(public RateLimiterClient) {
SkColor background_color_;
bool has_transparent_background_;
+ scoped_ptr<ScopedUIResource> overhang_ui_resource_;
enne (OOO) 2013/09/03 23:18:26 Can you leave a comment about what this is, e.g. "
ccameron 2013/09/04 02:36:47 Done.
+
typedef ScopedPtrVector<PrioritizedResource> TextureList;
size_t partial_texture_update_requests_;

Powered by Google App Engine
This is Rietveld 408576698