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

Unified Diff: webkit/glue/webkitplatformsupport_impl.cc

Issue 10918037: Implementation of WebCompositorSupport when use_libcc_for_compositor=1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ignore c4800 in webkit_glue Created 8 years, 3 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
« no previous file with comments | « webkit/glue/webkitplatformsupport_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webkitplatformsupport_impl.cc
diff --git a/webkit/glue/webkitplatformsupport_impl.cc b/webkit/glue/webkitplatformsupport_impl.cc
index 8cc850a08a3ea244a5f84dcf5f5b10f5b402885c..6083d0f1becd2bbae0857deab2529db16423da4e 100644
--- a/webkit/glue/webkitplatformsupport_impl.cc
+++ b/webkit/glue/webkitplatformsupport_impl.cc
@@ -39,6 +39,7 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h"
#include "ui/base/layout.h"
+#include "webkit/compositor_bindings/web_compositor_support_impl.h"
#include "webkit/glue/webkit_glue.h"
#include "webkit/glue/websocketstreamhandle_impl.h"
#include "webkit/glue/webthread_impl.h"
@@ -233,7 +234,8 @@ WebKitPlatformSupportImpl::WebKitPlatformSupportImpl()
shared_timer_func_(NULL),
shared_timer_fire_time_(0.0),
shared_timer_suspended_(0),
- current_thread_slot_(&DestroyCurrentThread) {
+ current_thread_slot_(&DestroyCurrentThread),
+ compositor_support_(new webkit::WebCompositorSupportImpl) {
}
WebKitPlatformSupportImpl::~WebKitPlatformSupportImpl() {
@@ -652,6 +654,10 @@ WebKit::WebThread* WebKitPlatformSupportImpl::currentThread() {
return thread;
}
+WebKit::WebCompositorSupport* WebKitPlatformSupportImpl::compositorSupport() {
+ return compositor_support_.get();
+}
+
base::PlatformFile WebKitPlatformSupportImpl::databaseOpenFile(
const WebKit::WebString& vfs_file_name, int desired_flags) {
return base::kInvalidPlatformFileValue;
« no previous file with comments | « webkit/glue/webkitplatformsupport_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698