• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 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 #include "chrome/renderer/extensions/chrome_v8_context.h"
6 
7 #include "base/memory/scoped_ptr.h"
8 #include "base/strings/string_split.h"
9 #include "base/values.h"
10 #include "extensions/common/extension_api.h"
11 #include "extensions/common/extension_urls.h"
12 #include "extensions/common/features/base_feature_provider.h"
13 #include "extensions/renderer/module_system.h"
14 #include "extensions/renderer/user_script_slave.h"
15 #include "third_party/WebKit/public/web/WebFrame.h"
16 #include "v8/include/v8.h"
17 
18 namespace extensions {
19 
ChromeV8Context(const v8::Handle<v8::Context> & v8_context,blink::WebFrame * web_frame,const Extension * extension,Feature::Context context_type)20 ChromeV8Context::ChromeV8Context(const v8::Handle<v8::Context>& v8_context,
21                                  blink::WebFrame* web_frame,
22                                  const Extension* extension,
23                                  Feature::Context context_type)
24     : ScriptContext(v8_context, web_frame, extension, context_type) {
25 }
26 
27 }  // namespace extensions
28