// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "extensions/renderer/default_dispatcher_delegate.h" #include "extensions/renderer/script_context.h" namespace extensions { DefaultDispatcherDelegate::DefaultDispatcherDelegate() { } DefaultDispatcherDelegate::~DefaultDispatcherDelegate() { } // DispatcherDelegate implementation. scoped_ptr DefaultDispatcherDelegate::CreateScriptContext( const v8::Handle& v8_context, blink::WebFrame* frame, const Extension* extension, Feature::Context context_type, const Extension* effective_extension, Feature::Context effective_context_type) { return make_scoped_ptr(new ScriptContext(v8_context, frame, extension, context_type, effective_extension, effective_context_type)); } } // namespace extensions