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

Unified Diff: content/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.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/layout_test/layout_test_bluetooth_chooser_factory.h
diff --git a/content/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.h b/content/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.h
index 6b37eb90ad7d262e562df5ddcd7e45e85dce3932..aaee4c8867a14cce587bf173bea882b3a16160d9 100644
--- a/content/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.h
+++ b/content/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.h
@@ -19,7 +19,7 @@ class Origin;
namespace content {
-class WebContents;
+class RenderFrameHost;
class LayoutTestBluetoothChooserFactory {
public:
@@ -27,9 +27,8 @@ class LayoutTestBluetoothChooserFactory {
~LayoutTestBluetoothChooserFactory();
scoped_ptr<BluetoothChooser> RunBluetoothChooser(
- WebContents* web_contents,
- const BluetoothChooser::EventHandler& event_handler,
- const url::Origin& origin);
+ RenderFrameHost* frame,
+ const BluetoothChooser::EventHandler& event_handler);
std::vector<std::string> GetAndResetEvents();

Powered by Google App Engine
This is Rietveld 408576698