OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 #ifndef EXTENSIONS_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef EXTENSIONS_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ |
6 #define EXTENSIONS_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ | 6 #define EXTENSIONS_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 30 matching lines...) Expand all Loading... |
41 const GURL& first_party_for_cookies, | 41 const GURL& first_party_for_cookies, |
42 GURL* new_url) OVERRIDE; | 42 GURL* new_url) OVERRIDE; |
43 virtual void DidCreateScriptContext(blink::WebFrame* frame, | 43 virtual void DidCreateScriptContext(blink::WebFrame* frame, |
44 v8::Handle<v8::Context> context, | 44 v8::Handle<v8::Context> context, |
45 int extension_group, | 45 int extension_group, |
46 int world_id) OVERRIDE; | 46 int world_id) OVERRIDE; |
47 virtual const void* CreatePPAPIInterface( | 47 virtual const void* CreatePPAPIInterface( |
48 const std::string& interface_name) OVERRIDE; | 48 const std::string& interface_name) OVERRIDE; |
49 virtual bool IsExternalPepperPlugin(const std::string& module_name) OVERRIDE; | 49 virtual bool IsExternalPepperPlugin(const std::string& module_name) OVERRIDE; |
50 virtual bool ShouldEnableSiteIsolationPolicy() const OVERRIDE; | 50 virtual bool ShouldEnableSiteIsolationPolicy() const OVERRIDE; |
| 51 virtual content::BrowserPluginDelegate* CreateBrowserPluginDelegate( |
| 52 content::RenderFrame* render_frame, |
| 53 const std::string& mime_type) OVERRIDE; |
51 | 54 |
52 private: | 55 private: |
53 scoped_ptr<ShellExtensionsClient> extensions_client_; | 56 scoped_ptr<ShellExtensionsClient> extensions_client_; |
54 scoped_ptr<ShellExtensionsRendererClient> extensions_renderer_client_; | 57 scoped_ptr<ShellExtensionsRendererClient> extensions_renderer_client_; |
55 scoped_ptr<DispatcherDelegate> extension_dispatcher_delegate_; | 58 scoped_ptr<DispatcherDelegate> extension_dispatcher_delegate_; |
56 scoped_ptr<Dispatcher> extension_dispatcher_; | 59 scoped_ptr<Dispatcher> extension_dispatcher_; |
57 | 60 |
58 DISALLOW_COPY_AND_ASSIGN(ShellContentRendererClient); | 61 DISALLOW_COPY_AND_ASSIGN(ShellContentRendererClient); |
59 }; | 62 }; |
60 | 63 |
61 } // namespace extensions | 64 } // namespace extensions |
62 | 65 |
63 #endif // EXTENSIONS_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ | 66 #endif // EXTENSIONS_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |