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

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

Issue 801173002: Fix message routing for BrowserPlugin in iframe (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests that don't have a RenderThreadImpl Created 6 years 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 17 matching lines...) Expand all
28 void RenderThreadStarted() override; 28 void RenderThreadStarted() override;
29 void RenderFrameCreated(content::RenderFrame* render_frame) override; 29 void RenderFrameCreated(content::RenderFrame* render_frame) override;
30 void RenderViewCreated(content::RenderView* render_view) override; 30 void RenderViewCreated(content::RenderView* render_view) override;
31 bool OverrideCreatePlugin(content::RenderFrame* render_frame, 31 bool OverrideCreatePlugin(content::RenderFrame* render_frame,
32 blink::WebLocalFrame* frame, 32 blink::WebLocalFrame* frame,
33 const blink::WebPluginParams& params, 33 const blink::WebPluginParams& params,
34 blink::WebPlugin** plugin) override; 34 blink::WebPlugin** plugin) override;
35 blink::WebPlugin* CreatePluginReplacement( 35 blink::WebPlugin* CreatePluginReplacement(
36 content::RenderFrame* render_frame, 36 content::RenderFrame* render_frame,
37 const base::FilePath& plugin_path) override; 37 const base::FilePath& plugin_path) override;
38 bool ShouldForwardToGuestContainer(const IPC::Message& msg) override;
38 bool WillSendRequest(blink::WebFrame* frame, 39 bool WillSendRequest(blink::WebFrame* frame,
39 ui::PageTransition transition_type, 40 ui::PageTransition transition_type,
40 const GURL& url, 41 const GURL& url,
41 const GURL& first_party_for_cookies, 42 const GURL& first_party_for_cookies,
42 GURL* new_url) override; 43 GURL* new_url) override;
43 void DidCreateScriptContext(blink::WebFrame* frame, 44 void DidCreateScriptContext(blink::WebFrame* frame,
44 v8::Handle<v8::Context> context, 45 v8::Handle<v8::Context> context,
45 int extension_group, 46 int extension_group,
46 int world_id) override; 47 int world_id) override;
47 const void* CreatePPAPIInterface(const std::string& interface_name) override; 48 const void* CreatePPAPIInterface(const std::string& interface_name) override;
(...skipping 14 matching lines...) Expand all
62 scoped_ptr<ShellExtensionsRendererClient> extensions_renderer_client_; 63 scoped_ptr<ShellExtensionsRendererClient> extensions_renderer_client_;
63 scoped_ptr<DispatcherDelegate> extension_dispatcher_delegate_; 64 scoped_ptr<DispatcherDelegate> extension_dispatcher_delegate_;
64 scoped_ptr<Dispatcher> extension_dispatcher_; 65 scoped_ptr<Dispatcher> extension_dispatcher_;
65 66
66 DISALLOW_COPY_AND_ASSIGN(ShellContentRendererClient); 67 DISALLOW_COPY_AND_ASSIGN(ShellContentRendererClient);
67 }; 68 };
68 69
69 } // namespace extensions 70 } // namespace extensions
70 71
71 #endif // EXTENSIONS_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ 72 #endif // EXTENSIONS_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698