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

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

Issue 21930006: <webview>: Allocate the view instance ID from the WebView shim (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with ToT Created 7 years, 4 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
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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 scoped_ptr<base::DictionaryValue> extra_params) {} 156 scoped_ptr<base::DictionaryValue> extra_params) {}
157 157
158 // Notifies that a guest WebContents has been attached to a BrowserPlugin. 158 // Notifies that a guest WebContents has been attached to a BrowserPlugin.
159 // A guest is attached to a BrowserPlugin when the guest has acquired an 159 // A guest is attached to a BrowserPlugin when the guest has acquired an
160 // embedder WebContents. This happens on initial navigation or when a new 160 // embedder WebContents. This happens on initial navigation or when a new
161 // window is attached to a BrowserPlugin. |extra_params| are params sent 161 // window is attached to a BrowserPlugin. |extra_params| are params sent
162 // from javascript. 162 // from javascript.
163 virtual void GuestWebContentsAttached( 163 virtual void GuestWebContentsAttached(
164 WebContents* guest_web_contents, 164 WebContents* guest_web_contents,
165 WebContents* embedder_web_contents, 165 WebContents* embedder_web_contents,
166 int browser_plugin_instance_id,
167 const base::DictionaryValue& extra_params) {} 166 const base::DictionaryValue& extra_params) {}
168 167
169 // Notifies that a RenderProcessHost has been created. This is called before 168 // Notifies that a RenderProcessHost has been created. This is called before
170 // the content layer adds its own BrowserMessageFilters, so that the 169 // the content layer adds its own BrowserMessageFilters, so that the
171 // embedder's IPC filters have priority. 170 // embedder's IPC filters have priority.
172 virtual void RenderProcessHostCreated(RenderProcessHost* host) {} 171 virtual void RenderProcessHostCreated(RenderProcessHost* host) {}
173 172
174 // Notifies that a BrowserChildProcessHost has been created. 173 // Notifies that a BrowserChildProcessHost has been created.
175 virtual void BrowserChildProcessHostCreated(BrowserChildProcessHost* host) {} 174 virtual void BrowserChildProcessHostCreated(BrowserChildProcessHost* host) {}
176 175
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 // This is called on a worker thread. 588 // This is called on a worker thread.
590 virtual 589 virtual
591 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 590 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
592 const GURL& url); 591 const GURL& url);
593 #endif 592 #endif
594 }; 593 };
595 594
596 } // namespace content 595 } // namespace content
597 596
598 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 597 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/common/browser_plugin/browser_plugin_messages.h ('k') | content/renderer/browser_plugin/browser_plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698