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

Side by Side Diff: content/public/browser/content_browser_client.h

Issue 334923002: Remove ContentBrowserClient::GuestWebContentsAttached (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_adview
Patch Set: Hopefully fixed tests Created 6 years, 6 months 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
« no previous file with comments | « content/public/browser/browser_plugin_guest_delegate.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 // the delegate in the content embedder that will service the guest in the 152 // the delegate in the content embedder that will service the guest in the
153 // content layer. The content layer takes ownership of the |guest_delegate|. 153 // content layer. The content layer takes ownership of the |guest_delegate|.
154 virtual void GuestWebContentsCreated( 154 virtual void GuestWebContentsCreated(
155 int guest_instance_id, 155 int guest_instance_id,
156 SiteInstance* guest_site_instance, 156 SiteInstance* guest_site_instance,
157 WebContents* guest_web_contents, 157 WebContents* guest_web_contents,
158 WebContents* opener_web_contents, 158 WebContents* opener_web_contents,
159 BrowserPluginGuestDelegate** guest_delegate, 159 BrowserPluginGuestDelegate** guest_delegate,
160 scoped_ptr<base::DictionaryValue> extra_params) {} 160 scoped_ptr<base::DictionaryValue> extra_params) {}
161 161
162 // Notifies that a guest WebContents has been attached to a BrowserPlugin.
163 // A guest is attached to a BrowserPlugin when the guest has acquired an
164 // embedder WebContents. This happens on initial navigation or when a new
165 // window is attached to a BrowserPlugin. |extra_params| are params sent
166 // from javascript.
167 virtual void GuestWebContentsAttached(
168 WebContents* guest_web_contents,
169 WebContents* embedder_web_contents,
170 const base::DictionaryValue& extra_params) {}
171
172 // Notifies that a render process will be created. This is called before 162 // Notifies that a render process will be created. This is called before
173 // the content layer adds its own BrowserMessageFilters, so that the 163 // the content layer adds its own BrowserMessageFilters, so that the
174 // embedder's IPC filters have priority. 164 // embedder's IPC filters have priority.
175 virtual void RenderProcessWillLaunch(RenderProcessHost* host) {} 165 virtual void RenderProcessWillLaunch(RenderProcessHost* host) {}
176 166
177 // Notifies that a BrowserChildProcessHost has been created. 167 // Notifies that a BrowserChildProcessHost has been created.
178 virtual void BrowserChildProcessHostCreated(BrowserChildProcessHost* host) {} 168 virtual void BrowserChildProcessHostCreated(BrowserChildProcessHost* host) {}
179 169
180 // Get the effective URL for the given actual URL, to allow an embedder to 170 // Get the effective URL for the given actual URL, to allow an embedder to
181 // group different url schemes in the same SiteInstance. 171 // group different url schemes in the same SiteInstance.
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 // Allows an embedder to provide its own ExternalVideoSurfaceContainer 663 // Allows an embedder to provide its own ExternalVideoSurfaceContainer
674 // implementation. Return NULL to disable external surface video. 664 // implementation. Return NULL to disable external surface video.
675 virtual ExternalVideoSurfaceContainer* 665 virtual ExternalVideoSurfaceContainer*
676 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); 666 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents);
677 #endif 667 #endif
678 }; 668 };
679 669
680 } // namespace content 670 } // namespace content
681 671
682 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 672 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/public/browser/browser_plugin_guest_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698