Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Side by Side Diff: extensions/shell/renderer/shell_content_renderer_client.h

Issue 702433002: Refactor GuestViewContainer to split out WebView related logic and MimeHandlerView related logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 29 matching lines...) Expand all
40 const GURL& url, 40 const GURL& url,
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 void DidCreateScriptContext(blink::WebFrame* frame, 43 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 const void* CreatePPAPIInterface(const std::string& interface_name) override; 47 const void* CreatePPAPIInterface(const std::string& interface_name) override;
48 bool IsExternalPepperPlugin(const std::string& module_name) override; 48 bool IsExternalPepperPlugin(const std::string& module_name) override;
49 bool ShouldEnableSiteIsolationPolicy() const override; 49 bool ShouldEnableSiteIsolationPolicy() const override;
50 content::BrowserPluginDelegate* CreateBrowserPluginDelegate( 50 content::BrowserPluginDelegate* CreateWebViewContainer(
51 content::RenderFrame* render_frame) override;
52 content::BrowserPluginDelegate* CreateMimeHandlerViewContainer(
51 content::RenderFrame* render_frame, 53 content::RenderFrame* render_frame,
52 const std::string& mime_type) override; 54 const std::string& mime_type) override;
53 55
54 private: 56 private:
55 scoped_ptr<ShellExtensionsClient> extensions_client_; 57 scoped_ptr<ShellExtensionsClient> extensions_client_;
56 scoped_ptr<ShellExtensionsRendererClient> extensions_renderer_client_; 58 scoped_ptr<ShellExtensionsRendererClient> extensions_renderer_client_;
57 scoped_ptr<DispatcherDelegate> extension_dispatcher_delegate_; 59 scoped_ptr<DispatcherDelegate> extension_dispatcher_delegate_;
58 scoped_ptr<Dispatcher> extension_dispatcher_; 60 scoped_ptr<Dispatcher> extension_dispatcher_;
59 61
60 DISALLOW_COPY_AND_ASSIGN(ShellContentRendererClient); 62 DISALLOW_COPY_AND_ASSIGN(ShellContentRendererClient);
61 }; 63 };
62 64
63 } // namespace extensions 65 } // namespace extensions
64 66
65 #endif // EXTENSIONS_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ 67 #endif // EXTENSIONS_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698