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

Unified Diff: content/shell/browser/shell.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: Fix Android 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/shell/browser/shell.h
diff --git a/content/shell/browser/shell.h b/content/shell/browser/shell.h
index b7ae7700c0ea07dc675d4d5bd804fd6e84b73a3d..a08a381d1e51501fd166c625e43186b1b8761ee7 100644
--- a/content/shell/browser/shell.h
+++ b/content/shell/browser/shell.h
@@ -136,9 +136,8 @@ class Shell : public WebContentsDelegate,
JavaScriptDialogManager* GetJavaScriptDialogManager(
WebContents* source) override;
scoped_ptr<BluetoothChooser> RunBluetoothChooser(
- WebContents* web_contents,
- const BluetoothChooser::EventHandler& event_handler,
- const url::Origin& origin) override;
+ RenderFrameHost* frame,
+ const BluetoothChooser::EventHandler& event_handler) override;
#if defined(OS_MACOSX)
void HandleKeyboardEvent(WebContents* source,
const NativeWebKeyboardEvent& event) override;
« no previous file with comments | « content/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.cc ('k') | content/shell/browser/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698