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

Unified Diff: chrome/browser/android/tab_web_contents_delegate_android.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
« no previous file with comments | « no previous file | chrome/browser/android/tab_web_contents_delegate_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/tab_web_contents_delegate_android.h
diff --git a/chrome/browser/android/tab_web_contents_delegate_android.h b/chrome/browser/android/tab_web_contents_delegate_android.h
index e2fbdb740b034f3cb48bccfa44beaa65eb1bed04..f95474ca4e1a5895b11ed0ce727b1f126d5cb05f 100644
--- a/chrome/browser/android/tab_web_contents_delegate_android.h
+++ b/chrome/browser/android/tab_web_contents_delegate_android.h
@@ -43,9 +43,8 @@ class TabWebContentsDelegateAndroid
void RunFileChooser(content::WebContents* web_contents,
const content::FileChooserParams& params) override;
scoped_ptr<content::BluetoothChooser> RunBluetoothChooser(
- content::WebContents* web_contents,
- const content::BluetoothChooser::EventHandler& event_handler,
- const url::Origin& origin) override;
+ content::RenderFrameHost* frame,
+ const content::BluetoothChooser::EventHandler& event_handler) override;
void CloseContents(content::WebContents* web_contents) override;
bool ShouldFocusLocationBarByDefault(content::WebContents* source) override;
blink::WebDisplayMode GetDisplayMode(
« no previous file with comments | « no previous file | chrome/browser/android/tab_web_contents_delegate_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698