Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(333)

Side by Side Diff: webkit/extensions/v8/gears_extension.h

Issue 40132: Refactor v8 extensions to make registration avoid having to use ChromiumBridg... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
Property Changes:
Deleted: svn:executable
- *
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698