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..14008648d9861e28ef7cd964a2da26721d7c49c8 100644 |
--- a/content/browser/renderer_host/compositor_impl_android.h |
+++ b/content/browser/renderer_host/compositor_impl_android.h |
@@ -8,10 +8,8 @@ |
#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/ui_resource_provider_impl.h" |
@@ -31,7 +29,6 @@ class LayerTreeHost; |
namespace content { |
class CompositorClient; |
-class UIResourceProvider; |
// ----------------------------------------------------------------------------- |
// Browser-side compositor that manages a tree of content and UI layers. |
@@ -65,7 +62,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 +94,7 @@ 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; |
enum CompositingTrigger { |
DO_NOT_COMPOSITE, |
@@ -127,9 +124,6 @@ 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_; |