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

Unified Diff: webkit/glue/webkitplatformsupport_impl.h

Issue 9249048: Add overloaded WebKitPlatformSupportImpl::createGraphicsContext3D (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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 | « no previous file | webkit/glue/webkitplatformsupport_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webkitplatformsupport_impl.h
diff --git a/webkit/glue/webkitplatformsupport_impl.h b/webkit/glue/webkitplatformsupport_impl.h
index 02a7266933f3b10a801aeea3cc8b412ec154cd9f..e6cb6c9ba5afcf033753a6922ea9c04b7b59fe8e 100644
--- a/webkit/glue/webkitplatformsupport_impl.h
+++ b/webkit/glue/webkitplatformsupport_impl.h
@@ -9,6 +9,7 @@
#include "base/platform_file.h"
#include "base/threading/thread_local_storage.h"
#include "base/timer.h"
+#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsContext3D.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebKitPlatformSupport.h"
#include "webkit/glue/resource_loader_bridge.h"
#include "webkit/glue/webkit_glue_export.h"
@@ -97,6 +98,11 @@ 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::WebGraphicsContext3D* createGraphicsContext3D();
Ken Russell (switch to Gerrit) 2012/01/19 02:05:20 Since your goal is to remove this variant anyway,
piman 2012/01/19 02:16:37 The reason is that if I just define the 3-params o
+ virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D(
+ WebKit::WebGraphicsContext3D::Attributes attributes,
+ WebKit::WebView* web_view,
+ bool render_to_web_view);
// Embedder functions. The following are not implemented by the glue layer and
« no previous file with comments | « no previous file | webkit/glue/webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698