Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / extensions / renderer / default_dispatcher_delegate.h
blob1ee92ab7ad0a1f6f7464128611bcb84f20b2a901
1 // Copyright 2014 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.
5 #ifndef EXTENSIONS_RENDERER_DEFAULT_DISPATCHER_DELEGATE_H
6 #define EXTENSIONS_RENDERER_DEFAULT_DISPATCHER_DELEGATE_H
8 #include "extensions/renderer/dispatcher_delegate.h"
10 namespace extensions {
12 class DefaultDispatcherDelegate : public DispatcherDelegate {
13 public:
14 DefaultDispatcherDelegate();
15 virtual ~DefaultDispatcherDelegate();
17 // DispatcherDelegate implementation.
18 virtual scoped_ptr<ScriptContext> CreateScriptContext(
19 const v8::Handle<v8::Context>& v8_context,
20 blink::WebFrame* frame,
21 const Extension* extension,
22 Feature::Context context_type) OVERRIDE;
25 } // namespace extensions
27 #endif // EXTENSIONS_RENDERER_DEFAULT_DISPATCHER_DELEGATE_H