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

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

Issue 9297046: Add WebKitPlatformSupport::createOffscreenGraphicsContext3D (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: churn Created 8 years, 10 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 | « webkit/support/test_webkit_platform_support.cc ('k') | 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 93
94 enum GraphicsContext3DImplementation { 94 enum GraphicsContext3DImplementation {
95 IN_PROCESS, 95 IN_PROCESS,
96 IN_PROCESS_COMMAND_BUFFER 96 IN_PROCESS_COMMAND_BUFFER
97 }; 97 };
98 // Registers which GraphicsContext3D Implementation to use. 98 // Registers which GraphicsContext3D Implementation to use.
99 void SetGraphicsContext3DImplementation(GraphicsContext3DImplementation); 99 void SetGraphicsContext3DImplementation(GraphicsContext3DImplementation);
100 GraphicsContext3DImplementation GetGraphicsContext3DImplementation(); 100 GraphicsContext3DImplementation GetGraphicsContext3DImplementation();
101 101
102 WebKit::WebGraphicsContext3D* CreateGraphicsContext3D( 102 WebKit::WebGraphicsContext3D* CreateGraphicsContext3D(
103 WebKit::WebGraphicsContext3D::Attributes attributes, 103 const WebKit::WebGraphicsContext3D::Attributes& attributes,
104 WebKit::WebView* web_view, 104 WebKit::WebView* web_view,
105 bool direct); 105 bool direct);
106 106
107 // ------- URL load mocking. 107 // ------- URL load mocking.
108 // Registers the file at |file_path| to be served when |url| is requested. 108 // Registers the file at |file_path| to be served when |url| is requested.
109 // |response| is the response provided with the contents. 109 // |response| is the response provided with the contents.
110 void RegisterMockedURL(const WebKit::WebURL& url, 110 void RegisterMockedURL(const WebKit::WebURL& url,
111 const WebKit::WebURLResponse& response, 111 const WebKit::WebURLResponse& response,
112 const WebKit::WebString& file_path); 112 const WebKit::WebString& file_path);
113 113
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 239
240 void EnableWebCoreLogChannels(const std::string& channels); 240 void EnableWebCoreLogChannels(const std::string& channels);
241 241
242 // - Gamepad 242 // - Gamepad
243 243
244 void SetGamepadData(const WebKit::WebGamepads& pads); 244 void SetGamepadData(const WebKit::WebGamepads& pads);
245 245
246 } // namespace webkit_support 246 } // namespace webkit_support
247 247
248 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ 248 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_
OLDNEW
« no previous file with comments | « webkit/support/test_webkit_platform_support.cc ('k') | webkit/support/webkit_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698