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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 // TearDownTestEnvironment() calls WebKit::shutdown(). | 69 // TearDownTestEnvironment() calls WebKit::shutdown(). |
70 // SetUpTestEnvironmentForUnitTests() should be used when running in a | 70 // SetUpTestEnvironmentForUnitTests() should be used when running in a |
71 // TestSuite, in which case no AtExitManager is created and ICU is not | 71 // TestSuite, in which case no AtExitManager is created and ICU is not |
72 // initialized (as it is already done by the TestSuite). | 72 // initialized (as it is already done by the TestSuite). |
73 void SetUpTestEnvironment(); | 73 void SetUpTestEnvironment(); |
74 void SetUpTestEnvironmentForUnitTests(); | 74 void SetUpTestEnvironmentForUnitTests(); |
75 void SetUpTestEnvironment(WebKit::Platform* shadow_platform_delegate); | 75 void SetUpTestEnvironment(WebKit::Platform* shadow_platform_delegate); |
76 void SetUpTestEnvironmentForUnitTests( | 76 void SetUpTestEnvironmentForUnitTests( |
77 WebKit::Platform* shadow_platform_delegate); | 77 WebKit::Platform* shadow_platform_delegate); |
78 void TearDownTestEnvironment(); | 78 void TearDownTestEnvironment(); |
79 void ResetTestEnvironment(); | |
80 | 79 |
81 // Returns a pointer to a WebKitPlatformSupport implementation for | 80 // Returns a pointer to a WebKitPlatformSupport implementation for |
82 // DumpRenderTree. Needs to call SetUpTestEnvironment() before this. | 81 // DumpRenderTree. Needs to call SetUpTestEnvironment() before this. |
83 // This returns a pointer to a static instance. Don't delete it. | 82 // This returns a pointer to a static instance. Don't delete it. |
84 WebKit::WebKitPlatformSupport* GetWebKitPlatformSupport(); | 83 WebKit::WebKitPlatformSupport* GetWebKitPlatformSupport(); |
85 | 84 |
86 // This is used by WebFrameClient::createPlugin(). | 85 // This is used by WebFrameClient::createPlugin(). |
87 WebKit::WebPlugin* CreateWebPlugin(WebKit::WebFrame* frame, | 86 WebKit::WebPlugin* CreateWebPlugin(WebKit::WebFrame* frame, |
88 const WebKit::WebPluginParams& params); | 87 const WebKit::WebPluginParams& params); |
89 | 88 |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 | 289 |
291 void EnableWebCoreLogChannels(const std::string& channels); | 290 void EnableWebCoreLogChannels(const std::string& channels); |
292 | 291 |
293 // - Gamepad | 292 // - Gamepad |
294 | 293 |
295 void SetGamepadData(const WebKit::WebGamepads& pads); | 294 void SetGamepadData(const WebKit::WebGamepads& pads); |
296 | 295 |
297 } // namespace webkit_support | 296 } // namespace webkit_support |
298 | 297 |
299 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ | 298 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ |
OLD | NEW |