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

Side by Side Diff: webkit/support/webkit_support.h

Issue 10532174: Deprecate 'direct' parameter on webkit_support::CreateGraphicsContext3D (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | webkit/support/webkit_support.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ 5 #ifndef WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_
6 #define WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ 6 #define WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 enum GraphicsContext3DImplementation { 101 enum GraphicsContext3DImplementation {
102 IN_PROCESS, 102 IN_PROCESS,
103 IN_PROCESS_COMMAND_BUFFER 103 IN_PROCESS_COMMAND_BUFFER
104 }; 104 };
105 // Registers which GraphicsContext3D Implementation to use. 105 // Registers which GraphicsContext3D Implementation to use.
106 void SetGraphicsContext3DImplementation(GraphicsContext3DImplementation); 106 void SetGraphicsContext3DImplementation(GraphicsContext3DImplementation);
107 GraphicsContext3DImplementation GetGraphicsContext3DImplementation(); 107 GraphicsContext3DImplementation GetGraphicsContext3DImplementation();
108 108
109 WebKit::WebGraphicsContext3D* CreateGraphicsContext3D( 109 WebKit::WebGraphicsContext3D* CreateGraphicsContext3D(
110 const WebKit::WebGraphicsContext3D::Attributes& attributes, 110 const WebKit::WebGraphicsContext3D::Attributes& attributes,
111 WebKit::WebView* web_view);
112
113 // Deprecated, call the version above.
114 WebKit::WebGraphicsContext3D* CreateGraphicsContext3D(
115 const WebKit::WebGraphicsContext3D::Attributes& attributes,
111 WebKit::WebView* web_view, 116 WebKit::WebView* web_view,
112 bool direct); 117 bool direct);
113 118
119
114 // ------- URL load mocking. 120 // ------- URL load mocking.
115 // Registers the file at |file_path| to be served when |url| is requested. 121 // Registers the file at |file_path| to be served when |url| is requested.
116 // |response| is the response provided with the contents. 122 // |response| is the response provided with the contents.
117 void RegisterMockedURL(const WebKit::WebURL& url, 123 void RegisterMockedURL(const WebKit::WebURL& url,
118 const WebKit::WebURLResponse& response, 124 const WebKit::WebURLResponse& response,
119 const WebKit::WebString& file_path); 125 const WebKit::WebString& file_path);
120 126
121 // Unregisters URLs so they are no longer mocked. 127 // Unregisters URLs so they are no longer mocked.
122 void UnregisterMockedURL(const WebKit::WebURL& url); 128 void UnregisterMockedURL(const WebKit::WebURL& url);
123 void UnregisterAllMockedURLs(); 129 void UnregisterAllMockedURLs();
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 260
255 void EnableWebCoreLogChannels(const std::string& channels); 261 void EnableWebCoreLogChannels(const std::string& channels);
256 262
257 // - Gamepad 263 // - Gamepad
258 264
259 void SetGamepadData(const WebKit::WebGamepads& pads); 265 void SetGamepadData(const WebKit::WebGamepads& pads);
260 266
261 } // namespace webkit_support 267 } // namespace webkit_support
262 268
263 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ 269 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/support/webkit_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698