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

Unified Diff: android_webview/renderer/aw_content_renderer_client.h

Issue 13135004: android_webview: changes to support Android GraphicBuffers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add GetStride() API on the GraphicBuffer Created 7 years, 9 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: android_webview/renderer/aw_content_renderer_client.h
diff --git a/android_webview/renderer/aw_content_renderer_client.h b/android_webview/renderer/aw_content_renderer_client.h
index 513e5891e50c85c732b3750a6943a40915b7f99b..be59f34f0277803f5f53071aec85849347fcb909 100644
--- a/android_webview/renderer/aw_content_renderer_client.h
+++ b/android_webview/renderer/aw_content_renderer_client.h
@@ -7,8 +7,9 @@
#include "content/public/renderer/content_renderer_client.h"
-#include "base/compiler_specific.h"
#include "android_webview/renderer/aw_render_process_observer.h"
+#include "base/compiler_specific.h"
+#include "cc/resources/graphic_buffer.h"
namespace components {
class VisitedLinkSlave;
@@ -42,6 +43,7 @@ class AwContentRendererClient : public content::ContentRendererClient {
virtual void PrefetchHostName(const char* hostname, size_t length) OVERRIDE;
virtual MessageLoop* OverrideCompositorMessageLoop() const OVERRIDE;
virtual bool ShouldCreateCompositorInputHandler() const OVERRIDE;
+ virtual cc::GraphicBuffer::Factory GetGraphicBufferFactory() const OVERRIDE;
joth 2013/04/02 19:12:11 you need to add this to the base class too. Otherw
kaanb 2013/04/02 23:16:54 I'd prefer not to add new files to this patch, so
private:
scoped_ptr<AwRenderProcessObserver> aw_render_process_observer_;

Powered by Google App Engine
This is Rietveld 408576698