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

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

Issue 6258001: Add support for DumpRenderTree to use the GPU rather than software renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/webkit/tools/layout_tests
Patch Set: Splitting patch into two, to keep current software initialization working Created 9 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 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_WEBIT_SUPPORT_H_ 5 #ifndef WEBKIT_SUPPORT_WEBIT_SUPPORT_H_
6 #define WEBKIT_SUPPORT_WEBIT_SUPPORT_H_ 6 #define WEBKIT_SUPPORT_WEBIT_SUPPORT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 WebKit::WebMediaPlayer* CreateMediaPlayer(WebKit::WebFrame* frame, 68 WebKit::WebMediaPlayer* CreateMediaPlayer(WebKit::WebFrame* frame,
69 WebKit::WebMediaPlayerClient* client); 69 WebKit::WebMediaPlayerClient* client);
70 70
71 // This is used by WebFrameClient::createApplicationCacheHost(). 71 // This is used by WebFrameClient::createApplicationCacheHost().
72 WebKit::WebApplicationCacheHost* CreateApplicationCacheHost( 72 WebKit::WebApplicationCacheHost* CreateApplicationCacheHost(
73 WebKit::WebFrame* frame, WebKit::WebApplicationCacheHostClient* client); 73 WebKit::WebFrame* frame, WebKit::WebApplicationCacheHostClient* client);
74 74
75 // Returns the root directory of the WebKit code. 75 // Returns the root directory of the WebKit code.
76 WebKit::WebString GetWebKitRootDir(); 76 WebKit::WebString GetWebKitRootDir();
77 77
78 enum GLBindingPreferences {
79 GL_BINDING_DEFAULT,
80 GL_BINDING_SOFTWARE_RENDERER
81 };
82 void SetUpGLBindings(GLBindingPreferences);
83
78 // ------- URL load mocking. 84 // ------- URL load mocking.
79 // Registers the file at |file_path| to be served when |url| is requested. 85 // Registers the file at |file_path| to be served when |url| is requested.
80 // |response| is the response provided with the contents. 86 // |response| is the response provided with the contents.
81 void RegisterMockedURL(const WebKit::WebURL& url, 87 void RegisterMockedURL(const WebKit::WebURL& url,
82 const WebKit::WebURLResponse& response, 88 const WebKit::WebURLResponse& response,
83 const WebKit::WebString& file_path); 89 const WebKit::WebString& file_path);
84 90
85 // Unregisters URLs so they are no longer mocked. 91 // Unregisters URLs so they are no longer mocked.
86 void UnregisterMockedURL(const WebKit::WebURL& url); 92 void UnregisterMockedURL(const WebKit::WebURL& url);
87 void UnregisterAllMockedURLs(); 93 void UnregisterAllMockedURLs();
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 VKEY_NEXT = app::VKEY_NEXT, 178 VKEY_NEXT = app::VKEY_NEXT,
173 VKEY_HOME = app::VKEY_HOME, 179 VKEY_HOME = app::VKEY_HOME,
174 VKEY_END = app::VKEY_END, 180 VKEY_END = app::VKEY_END,
175 VKEY_SNAPSHOT = app::VKEY_SNAPSHOT, 181 VKEY_SNAPSHOT = app::VKEY_SNAPSHOT,
176 VKEY_F1 = app::VKEY_F1, 182 VKEY_F1 = app::VKEY_F1,
177 }; 183 };
178 184
179 } // namespace webkit_support 185 } // namespace webkit_support
180 186
181 #endif // WEBKIT_SUPPORT_WEBIT_CLIENT_IMPL_H_ 187 #endif // WEBKIT_SUPPORT_WEBIT_CLIENT_IMPL_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