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

Unified Diff: webkit/glue/webkitplatformsupport_impl.h

Issue 10918037: Implementation of WebCompositorSupport when use_libcc_for_compositor=1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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: webkit/glue/webkitplatformsupport_impl.h
diff --git a/webkit/glue/webkitplatformsupport_impl.h b/webkit/glue/webkitplatformsupport_impl.h
index 59dc97eeacddeebf97c6d6b3817dc2ff879846c2..c9e7214f623964d2690692f19df7f2c9d0a732a5 100644
--- a/webkit/glue/webkitplatformsupport_impl.h
+++ b/webkit/glue/webkitplatformsupport_impl.h
@@ -11,6 +11,7 @@
#include "base/timer.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebKitPlatformSupport.h"
#include "ui/base/layout.h"
+#include "webkit/compositor/web_compositor_support_impl.h"
#include "webkit/glue/resource_loader_bridge.h"
#include "webkit/glue/webkit_glue_export.h"
@@ -119,6 +120,7 @@ class WEBKIT_GLUE_EXPORT WebKitPlatformSupportImpl :
virtual void callOnMainThread(void (*func)(void*), void* context);
virtual WebKit::WebThread* createThread(const char* name);
virtual WebKit::WebThread* currentThread();
+ virtual WebKit::WebCompositorSupport* compositorSupport();
// Embedder functions. The following are not implemented by the glue layer and
@@ -171,6 +173,7 @@ class WEBKIT_GLUE_EXPORT WebKitPlatformSupportImpl :
int shared_timer_suspended_; // counter
WebThemeEngineImpl theme_engine_;
base::ThreadLocalStorage::Slot current_thread_slot_;
+ webkit::WebCompositorSupportImpl compositor_support_;
tfarina 2012/09/01 01:55:09 can this be a scoped_ptr? up to you though. At lea
};
} // namespace webkit_glue

Powered by Google App Engine
This is Rietveld 408576698