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

Unified Diff: content/shell/browser/shell.cc

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
« no previous file with comments | « content/shell/browser/shell.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell.cc
diff --git a/content/shell/browser/shell.cc b/content/shell/browser/shell.cc
index 8164ad6da3527dc3b78a702e955176880f755e27..5b5e030ac5f326267d3711fb52feb8b4477bb9ec 100644
--- a/content/shell/browser/shell.cc
+++ b/content/shell/browser/shell.cc
@@ -384,14 +384,13 @@ JavaScriptDialogManager* Shell::GetJavaScriptDialogManager(
}
scoped_ptr<BluetoothChooser> Shell::RunBluetoothChooser(
- WebContents* web_contents,
- const BluetoothChooser::EventHandler& event_handler,
- const url::Origin& origin) {
+ RenderFrameHost* frame,
+ const BluetoothChooser::EventHandler& event_handler) {
const base::CommandLine& command_line =
*base::CommandLine::ForCurrentProcess();
if (command_line.HasSwitch(switches::kRunLayoutTest)) {
- return BlinkTestController::Get()->RunBluetoothChooser(
- web_contents, event_handler, origin);
+ return BlinkTestController::Get()->RunBluetoothChooser(frame,
+ event_handler);
}
return nullptr;
}
« no previous file with comments | « content/shell/browser/shell.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698