OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 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 | 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 // The GearsExtension is a v8 extension to add a "google.gears.factory" getter | 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 | 6 // on the page, which, when accessed, lazily inserts the gears plugin into |
7 // the page and attaches it to the factory variable. | 7 // the page and attaches it to the factory variable. |
8 | 8 |
9 #ifndef GEARS_EXTENSION_H__ | 9 #ifndef WEBKIT_EXTENSIONS_V8_GEARS_EXTENSION_H_ |
10 #define GEARS_EXTENSION_H__ | 10 #define WEBKIT_EXTENSIONS_V8_GEARS_EXTENSION_H_ |
11 | 11 |
12 #include "v8.h" | 12 #include "v8/include/v8.h" |
13 | 13 |
14 namespace WebCore { | 14 namespace extensions_v8 { |
15 | 15 |
16 class GearsExtension { | 16 class GearsExtension { |
17 public: | 17 public: |
18 static v8::Extension* Get(); | 18 static v8::Extension* Get(); |
19 }; | 19 }; |
20 | 20 |
21 } | 21 } // namespace extensions_v8 |
22 | 22 |
23 #endif // GEARS_EXTENSION_H__ | 23 #endif // WEBKIT_EXTENSIONS_V8_GEARS_EXTENSION_H_ |
24 | 24 |
OLD | NEW |