summaryrefslogtreecommitdiffstats
path: root/webkit/extensions/v8/gears_extension.h
blob: cb828438dcb97ed1ea4cf0867a653af92c3d5b2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (c) 2006-2009 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.

// The GearsExtension is a v8 extension to add a "google.gears.factory" getter
// on the page, which, when accessed, lazily inserts the gears plugin into
// the page and attaches it to the factory variable.

#ifndef WEBKIT_EXTENSIONS_V8_GEARS_EXTENSION_H_
#define WEBKIT_EXTENSIONS_V8_GEARS_EXTENSION_H_

#include "v8/include/v8.h"

namespace extensions_v8 {

class GearsExtension {
 public:
  static v8::Extension* Get();
};

}  // namespace extensions_v8

#endif  // WEBKIT_EXTENSIONS_V8_GEARS_EXTENSION_H_