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

Unified Diff: content/public/browser/web_contents_delegate.h

Issue 1672103002: Pass the frame instead of the WebContents through RunBluetoothChooser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@doc-bubble-lifetimes
Patch Set: Sync Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: content/public/browser/web_contents_delegate.h
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h
index b6015b01541c16f7d340c28f97c73c55bf35bb69..791541774e55a988175eb5534c5df72f639ad433 100644
--- a/content/public/browser/web_contents_delegate.h
+++ b/content/public/browser/web_contents_delegate.h
@@ -40,6 +40,7 @@ class ColorChooser;
class DownloadItem;
class JavaScriptDialogManager;
class PageState;
+class RenderFrameHost;
class RenderViewHost;
class SessionStorageNamespace;
class WebContents;
@@ -356,7 +357,7 @@ class CONTENT_EXPORT WebContentsDelegate {
// Shows a chooser for the user to select a nearby Bluetooth device. The
// observer must live at least as long as the returned chooser object.
virtual scoped_ptr<BluetoothChooser> RunBluetoothChooser(
- WebContents* web_contents,
+ RenderFrameHost* frame,
const BluetoothChooser::EventHandler& event_handler,
const url::Origin& origin);

Powered by Google App Engine
This is Rietveld 408576698