| 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 e3cc42e1ad56e9b43d6428bb2d67ed5e4bfd885a..2e18318db9985f5ec5a98d54ef26836d965f9252 100644
|
| --- a/content/browser/renderer_host/compositor_impl_android.h
|
| +++ b/content/browser/renderer_host/compositor_impl_android.h
|
| @@ -8,12 +8,11 @@
|
| #include "base/basictypes.h"
|
| #include "base/cancelable_callback.h"
|
| #include "base/compiler_specific.h"
|
| -#include "base/containers/scoped_ptr_hash_map.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/memory/weak_ptr.h"
|
| -#include "cc/resources/ui_resource_client.h"
|
| #include "cc/trees/layer_tree_host_client.h"
|
| #include "cc/trees/layer_tree_host_single_thread_client.h"
|
| +#include "content/browser/android/system_ui_resource_manager_impl.h"
|
| #include "content/browser/android/ui_resource_provider_impl.h"
|
| #include "content/browser/renderer_host/image_transport_factory_android.h"
|
| #include "content/common/content_export.h"
|
| @@ -31,7 +30,6 @@ class LayerTreeHost;
|
|
|
| namespace content {
|
| class CompositorClient;
|
| -class UIResourceProvider;
|
|
|
| // -----------------------------------------------------------------------------
|
| // Browser-side compositor that manages a tree of content and UI layers.
|
| @@ -65,7 +63,6 @@ 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;
|
|
|
| // LayerTreeHostClient implementation.
|
| virtual void WillBeginMainFrame(int frame_id) OVERRIDE {}
|
| @@ -98,6 +95,8 @@ class CONTENT_EXPORT CompositorImpl
|
| virtual void OnVSync(base::TimeTicks frame_time,
|
| base::TimeDelta vsync_period) OVERRIDE;
|
| virtual void SetNeedsAnimate() OVERRIDE;
|
| + virtual ui::UIResourceProvider& GetUIResourceProvider() OVERRIDE;
|
| + virtual ui::SystemUIResourceManager& GetSystemUIResourceManager() OVERRIDE;
|
|
|
| enum CompositingTrigger {
|
| DO_NOT_COMPOSITE,
|
| @@ -127,14 +126,12 @@ class CONTENT_EXPORT CompositorImpl
|
| composite_on_vsync_trigger_ = DO_NOT_COMPOSITE;
|
| will_composite_immediately_ = false;
|
| }
|
| - cc::UIResourceId GenerateUIResourceFromUIResourceBitmap(
|
| - const cc::UIResourceBitmap& bitmap,
|
| - bool is_transient);
|
| void OnGpuChannelEstablished();
|
|
|
| scoped_refptr<cc::Layer> root_layer_;
|
| scoped_ptr<cc::LayerTreeHost> host_;
|
| content::UIResourceProviderImpl ui_resource_provider_;
|
| + content::SystemUIResourceManagerImpl system_ui_resource_manager_;
|
|
|
| gfx::Size size_;
|
| bool has_transparent_background_;
|
|
|