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

Unified Diff: content/browser/renderer_host/compositor_impl_android.h

Issue 755643004: Replace SystemUIResourceManager with ResourceManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix clang build failure 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/compositor_impl_android.h
diff --git a/content/browser/renderer_host/compositor_impl_android.h b/content/browser/renderer_host/compositor_impl_android.h
index 3cd223f2bdfdac121ccdf35c6bbe110985ba2a02..63669e7231ecc7e58740a517629ff3c0f73d8439 100644
--- a/content/browser/renderer_host/compositor_impl_android.h
+++ b/content/browser/renderer_host/compositor_impl_android.h
@@ -12,14 +12,13 @@
#include "base/memory/weak_ptr.h"
#include "cc/trees/layer_tree_host_client.h"
#include "cc/trees/layer_tree_host_single_thread_client.h"
-#include "content/browser/android/ui_resource_provider_impl.h"
#include "content/common/content_export.h"
#include "content/common/gpu/client/context_provider_command_buffer.h"
#include "content/public/browser/android/compositor.h"
#include "gpu/command_buffer/common/capabilities.h"
#include "third_party/khronos/GLES2/gl2.h"
#include "ui/android/resources/resource_manager.h"
-#include "ui/base/android/system_ui_resource_manager.h"
+#include "ui/android/resources/ui_resource_provider.h"
#include "ui/base/android/window_android_compositor.h"
class SkBitmap;
@@ -34,7 +33,6 @@ class SurfaceIdAllocator;
namespace content {
class CompositorClient;
class OnscreenDisplayClient;
-class UIResourceProvider;
// -----------------------------------------------------------------------------
// Browser-side compositor that manages a tree of content and UI layers.
@@ -61,7 +59,7 @@ class CONTENT_EXPORT CompositorImpl
virtual void SetWindowBounds(const gfx::Size& size) override;
virtual void SetHasTransparentBackground(bool flag) override;
virtual void SetNeedsComposite() override;
- virtual UIResourceProvider& GetUIResourceProvider() override;
+ virtual ui::UIResourceProvider& GetUIResourceProvider() override;
virtual ui::ResourceManager& GetResourceManager() override;
// LayerTreeHostClient implementation.
@@ -99,7 +97,6 @@ class CONTENT_EXPORT CompositorImpl
virtual void OnVSync(base::TimeTicks frame_time,
base::TimeDelta vsync_period) override;
virtual void SetNeedsAnimate() override;
- virtual ui::SystemUIResourceManager& GetSystemUIResourceManager() override;
void SetWindowSurface(ANativeWindow* window);
@@ -142,7 +139,7 @@ class CONTENT_EXPORT CompositorImpl
scoped_refptr<cc::Layer> subroot_layer_;
scoped_ptr<cc::LayerTreeHost> host_;
- content::UIResourceProviderImpl ui_resource_provider_;
+ ui::UIResourceProvider ui_resource_provider_;
ui::ResourceManager resource_manager_;
scoped_ptr<OnscreenDisplayClient> display_client_;
« no previous file with comments | « content/browser/android/ui_resource_provider_impl.cc ('k') | content/browser/renderer_host/compositor_impl_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698