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 CONTENT_SHELL_LAYOUT_TEST_CONTROLLER_BINDINGS_H_ | 5 #ifndef CONTENT_SHELL_WEBKIT_TEST_RUNNER_BINDINGS_H_ |
6 #define CONTENT_SHELL_LAYOUT_TEST_CONTROLLER_BINDINGS_H_ | 6 #define CONTENT_SHELL_WEBKIT_TEST_RUNNER_BINDINGS_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "v8/include/v8.h" | 10 #include "v8/include/v8.h" |
11 | 11 |
12 namespace content { | 12 namespace content { |
13 | 13 |
14 class LayoutTestControllerBindings : public v8::Extension { | 14 class WebKitTestRunnerBindings : public v8::Extension { |
15 public: | 15 public: |
16 LayoutTestControllerBindings(); | 16 WebKitTestRunnerBindings(); |
17 virtual ~LayoutTestControllerBindings(); | 17 virtual ~WebKitTestRunnerBindings(); |
18 | 18 |
19 // v8::Extension implementation. | 19 // v8::Extension implementation. |
20 virtual v8::Handle<v8::FunctionTemplate> | 20 virtual v8::Handle<v8::FunctionTemplate> |
21 GetNativeFunction(v8::Handle<v8::String> name) OVERRIDE; | 21 GetNativeFunction(v8::Handle<v8::String> name) OVERRIDE; |
22 | 22 |
23 private: | 23 private: |
24 DISALLOW_COPY_AND_ASSIGN(LayoutTestControllerBindings); | 24 DISALLOW_COPY_AND_ASSIGN(WebKitTestRunnerBindings); |
25 }; | 25 }; |
26 | 26 |
27 } // namespace content | 27 } // namespace content |
28 | 28 |
29 #endif // CONTENT_SHELL_LAYOUT_TEST_CONTROLLER_BINDINGS_H_ | 29 #endif // CONTENT_SHELL_WEBKIT_TEST_RUNNER_BINDINGS_H_ |
OLD | NEW |