| OLD | NEW |
| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 // TestSuite, in which case no AtExitManager is created and ICU is not | 67 // TestSuite, in which case no AtExitManager is created and ICU is not |
| 68 // initialized (as it is already done by the TestSuite). | 68 // initialized (as it is already done by the TestSuite). |
| 69 void SetUpTestEnvironmentForUnitTests(); | 69 void SetUpTestEnvironmentForUnitTests(); |
| 70 void TearDownTestEnvironment(); | 70 void TearDownTestEnvironment(); |
| 71 | 71 |
| 72 // Returns a pointer to a Platform implementation for | 72 // Returns a pointer to a Platform implementation for |
| 73 // DumpRenderTree. Needs to call SetUpTestEnvironment() before this. | 73 // DumpRenderTree. Needs to call SetUpTestEnvironment() before this. |
| 74 // This returns a pointer to a static instance. Don't delete it. | 74 // This returns a pointer to a static instance. Don't delete it. |
| 75 WebKit::Platform* GetWebKitPlatformSupport(); | 75 WebKit::Platform* GetWebKitPlatformSupport(); |
| 76 | 76 |
| 77 // This is used by WebFrameClient::createPlugin(). | |
| 78 WebKit::WebPlugin* CreateWebPlugin(WebKit::WebFrame* frame, | |
| 79 const WebKit::WebPluginParams& params); | |
| 80 | |
| 81 // Returns the root directory of the WebKit code. | 77 // Returns the root directory of the WebKit code. |
| 82 WebKit::WebString GetWebKitRootDir(); | 78 WebKit::WebString GetWebKitRootDir(); |
| 83 | 79 |
| 84 enum GLBindingPreferences { | 80 enum GLBindingPreferences { |
| 85 GL_BINDING_DEFAULT, | 81 GL_BINDING_DEFAULT, |
| 86 GL_BINDING_SOFTWARE_RENDERER | 82 GL_BINDING_SOFTWARE_RENDERER |
| 87 }; | 83 }; |
| 88 void SetUpGLBindings(GLBindingPreferences); | 84 void SetUpGLBindings(GLBindingPreferences); |
| 89 | 85 |
| 90 enum GraphicsContext3DImplementation { | 86 enum GraphicsContext3DImplementation { |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 | 242 |
| 247 void EnableWebCoreLogChannels(const std::string& channels); | 243 void EnableWebCoreLogChannels(const std::string& channels); |
| 248 | 244 |
| 249 // - Gamepad | 245 // - Gamepad |
| 250 | 246 |
| 251 void SetGamepadData(const WebKit::WebGamepads& pads); | 247 void SetGamepadData(const WebKit::WebGamepads& pads); |
| 252 | 248 |
| 253 } // namespace webkit_support | 249 } // namespace webkit_support |
| 254 | 250 |
| 255 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ | 251 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ |
| OLD | NEW |