OLD | NEW |
| (Empty) |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // The GearsExtension is a v8 extension to add a "google.gears.factory" getter | |
6 // on the page, which, when accessed, lazily inserts the gears plugin into | |
7 // the page and attaches it to the factory variable. | |
8 | |
9 #ifndef WEBKIT_EXTENSIONS_V8_GEARS_EXTENSION_H_ | |
10 #define WEBKIT_EXTENSIONS_V8_GEARS_EXTENSION_H_ | |
11 | |
12 #include "v8/include/v8.h" | |
13 | |
14 namespace extensions_v8 { | |
15 | |
16 class GearsExtension { | |
17 public: | |
18 static v8::Extension* Get(); | |
19 }; | |
20 | |
21 } // namespace extensions_v8 | |
22 | |
23 #endif // WEBKIT_EXTENSIONS_V8_GEARS_EXTENSION_H_ | |
OLD | NEW |