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

Unified Diff: content/browser/android/ui_resource_provider_impl.h

Issue 377013002: android: Use UIResource for overscroll glow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments Created 6 years, 5 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: content/browser/android/ui_resource_provider_impl.h
diff --git a/content/browser/android/ui_resource_provider_impl.h b/content/browser/android/ui_resource_provider_impl.h
index 79c23014d2d3735554d68a447ca7e44cc500617c..57c9ab86d80de39472528be4828ca637c788d5eb 100644
--- a/content/browser/android/ui_resource_provider_impl.h
+++ b/content/browser/android/ui_resource_provider_impl.h
@@ -6,6 +6,7 @@
#define CONTENT_BROWSER_ANDROID_UI_RESOURCE_PROVIDER_IMPL_H_
#include "base/containers/hash_tables.h"
+#include "content/browser/android/system_ui_resource_manager_impl.h"
#include "content/public/browser/android/ui_resource_provider.h"
namespace cc {
@@ -31,11 +32,13 @@ class UIResourceProviderImpl : public UIResourceProvider {
virtual void DeleteUIResource(cc::UIResourceId resource_id) OVERRIDE;
+ ui::SystemUIResourceManager& GetSystemUIResourceManager();
+
private:
typedef base::hash_map<cc::UIResourceId, UIResourceClientAndroid*>
UIResourceClientMap;
UIResourceClientMap ui_resource_client_map_;
-
+ SystemUIResourceManagerImpl system_ui_resource_manager_;
cc::LayerTreeHost* host_;
DISALLOW_COPY_AND_ASSIGN(UIResourceProviderImpl);

Powered by Google App Engine
This is Rietveld 408576698