summaryrefslogtreecommitdiffstats
path: root/webkit/support/webkit_support.h
diff options
context:
space:
mode:
authorjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-16 01:00:52 +0000
committerjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-16 01:00:52 +0000
commitb8ddb890fad790a663d1caaf56846a0788ff867a (patch)
tree5774323dad99575547adda1a0da9a4453976e2cb /webkit/support/webkit_support.h
parent380aeaf0c6f3e4ab8ae8b2acbab2616eb83e445a (diff)
downloadchromium_src-b8ddb890fad790a663d1caaf56846a0788ff867a.zip
chromium_src-b8ddb890fad790a663d1caaf56846a0788ff867a.tar.gz
chromium_src-b8ddb890fad790a663d1caaf56846a0788ff867a.tar.bz2
Deprecate 'direct' parameter on webkit_support::CreateGraphicsContext3D
There is only one caller to this function (WebViewHost.cpp in the WebKit repo) and it always specifies the literal "true". Removing this parameter will let us remove a really nasty getter from WebView. BUG=none TEST=compiles Review URL: https://chromiumcodereview.appspot.com/10532174 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142549 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/support/webkit_support.h')
-rw-r--r--webkit/support/webkit_support.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/webkit/support/webkit_support.h b/webkit/support/webkit_support.h
index 17d58bc..f736106 100644
--- a/webkit/support/webkit_support.h
+++ b/webkit/support/webkit_support.h
@@ -108,9 +108,15 @@ GraphicsContext3DImplementation GetGraphicsContext3DImplementation();
WebKit::WebGraphicsContext3D* CreateGraphicsContext3D(
const WebKit::WebGraphicsContext3D::Attributes& attributes,
+ WebKit::WebView* web_view);
+
+// Deprecated, call the version above.
+WebKit::WebGraphicsContext3D* CreateGraphicsContext3D(
+ const WebKit::WebGraphicsContext3D::Attributes& attributes,
WebKit::WebView* web_view,
bool direct);
+
// ------- URL load mocking.
// Registers the file at |file_path| to be served when |url| is requested.
// |response| is the response provided with the contents.