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

Side by Side Diff: chrome/renderer/external_extension.cc

Issue 387020: Upstreaming WebKit.gyp (Closed)
Patch Set: Created 11 years, 1 month 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 #include "chrome/renderer/external_extension.h" 5 #include "chrome/renderer/external_extension.h"
6 #include "chrome/renderer/render_view.h" 6 #include "chrome/renderer/render_view.h"
7 #include "webkit/api/public/WebFrame.h" 7 #include "third_party/WebKit/WebKit/chromium/public/WebFrame.h"
8 8
9 using WebKit::WebFrame; 9 using WebKit::WebFrame;
10 using WebKit::WebView; 10 using WebKit::WebView;
11 11
12 namespace extensions_v8 { 12 namespace extensions_v8 {
13 13
14 const char* const kExternalExtensionName = "v8/External"; 14 const char* const kExternalExtensionName = "v8/External";
15 15
16 class ExternalExtensionWrapper : public v8::Extension { 16 class ExternalExtensionWrapper : public v8::Extension {
17 public: 17 public:
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 renderview->AddSearchProvider(name); 56 renderview->AddSearchProvider(name);
57 return v8::Undefined(); 57 return v8::Undefined();
58 } 58 }
59 }; 59 };
60 60
61 v8::Extension* ExternalExtension::Get() { 61 v8::Extension* ExternalExtension::Get() {
62 return new ExternalExtensionWrapper(); 62 return new ExternalExtensionWrapper();
63 } 63 }
64 64
65 } // namespace extensions_v8 65 } // namespace extensions_v8
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/extension_process_bindings.cc ('k') | chrome/renderer/external_host_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698