Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / chrome / renderer / extensions / chrome_v8_context.cc
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 namespace extensions {
8
9 ChromeV8Context::ChromeV8Context(const v8::Handle<v8::Context>& v8_context,
10                                  blink::WebFrame* web_frame,
11                                  const Extension* extension,
12                                  Feature::Context context_type,
13                                  const Extension* effective_extension,
14                                  Feature::Context effective_context_type)
15     : ScriptContext(v8_context,
16                     web_frame,
17                     extension,
18                     context_type,
19                     effective_extension,
20                     effective_context_type) {
21 }
22
23 }  // namespace extensions