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

Side by Side Diff: content/renderer/web_ui_extension.h

Issue 10873038: Replacing WebUIBindings use of CPPBoundClass with v8::Extension. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Using typeof == "function" Created 8 years 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
« no previous file with comments | « content/renderer/web_ui_bindings.cc ('k') | content/renderer/web_ui_extension.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2012 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 #ifndef CONTENT_RENDERER_WEBUI_EXTENSION_H_
6 #define CONTENT_RENDERER_WEBUI_EXTENSION_H_
7
8 #include "base/basictypes.h"
9
10 namespace v8 {
11 class Extension;
12 }
13
14 namespace content {
15
16 class WebUIExtension {
17 public:
18 // Returns the v8::Extension object handling WebUI bindings. Caller takes
19 // ownership of returned object.
20 static v8::Extension* Get();
21
22 private:
23 DISALLOW_IMPLICIT_CONSTRUCTORS(WebUIExtension);
24 };
25
26 } // namespace content
27
28 #endif // CONTENT_RENDERER_WEBUI_EXTENSION_H_
OLDNEW
« no previous file with comments | « content/renderer/web_ui_bindings.cc ('k') | content/renderer/web_ui_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698