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

Side by Side Diff: chrome/renderer/extensions/js_only_v8_extensions.h

Issue 173263: Change the way json_schema.js is loaded. This is required so (Closed)
Patch Set: New approach using chromeHidden Created 11 years, 4 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #ifndef CHROME_RENDERER_JS_ONLY_V8_EXTENSIONS_H_ 5 #ifndef CHROME_RENDERER_EXTENSIONS_JS_ONLY_V8_EXTENSIONS_H_
6 #define CHROME_RENDERER_JS_ONLY_V8_EXTENSIONS_H_ 6 #define CHROME_RENDERER_EXTENSIONS_JS_ONLY_V8_EXTENSIONS_H_
7 7
8 #include "v8/include/v8.h" 8 #include "v8/include/v8.h"
9 9
10 // This file contains various V8 Extensions that are JavaScript only, and 10 // This file contains various V8 Extensions that are JavaScript only, and
11 // don't have any C++ native functions. 11 // don't have any C++ native functions.
12 12
13 class BaseJsV8Extension { 13 class BaseJsV8Extension {
14 public: 14 public:
15 static const char* kName; 15 static const char* kName;
16 static v8::Extension* Get(); 16 static v8::Extension* Get();
17 }; 17 };
18 18
19 class JsonSchemaJsV8Extension { 19 class JsonSchemaJsV8Extension {
20 public: 20 public:
21 static const char* kName; 21 static const char* kName;
22 static v8::Extension* Get(); 22 static v8::Extension* Get();
23 }; 23 };
24 24
25 #endif // CHROME_RENDERER_JS_ONLY_V8_EXTENSIONS_H_ 25 #endif // CHROME_RENDERER_JS_ONLY_V8_EXTENSIONS_H_
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/extension_process_bindings.cc ('k') | chrome/renderer/extensions/js_only_v8_extensions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698