summaryrefslogtreecommitdiffstats
path: root/content/shell/layout_test_controller_bindings.h
blob: 0ffcf45fd2e66e9f299ec6bb5444938d39394acd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CONTENT_SHELL_LAYOUT_TEST_CONTROLLER_BINDINGS_H_
#define CONTENT_SHELL_LAYOUT_TEST_CONTROLLER_BINDINGS_H_

#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "v8/include/v8.h"

namespace content {

class LayoutTestControllerBindings : public v8::Extension {
 public:
  LayoutTestControllerBindings();
  virtual ~LayoutTestControllerBindings();

  // v8::Extension implementation.
  virtual v8::Handle<v8::FunctionTemplate>
      GetNativeFunction(v8::Handle<v8::String> name) OVERRIDE;

 private:
  DISALLOW_COPY_AND_ASSIGN(LayoutTestControllerBindings);
};

}  // namespace content

#endif  // CONTENT_SHELL_LAYOUT_TEST_CONTROLLER_BINDINGS_H_