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

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

Issue 2658473002: Refactor BluetoothAllowedDevicesMap (Closed)
Patch Set: set --similarity=20 when did git cl upload Created 3 years, 11 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 793d00f72ed4499a80b46142a2aa379534931d34..672fd95285fa8ca54ace8637af8aa54d97efab81 100644
--- a/content/public/browser/web_contents_delegate.h
+++ b/content/public/browser/web_contents_delegate.h
@@ -38,6 +38,7 @@ class ListValue;
}
namespace content {
+class BluetoothAllowedDevicesMapBase;
class ColorChooser;
class JavaScriptDialogManager;
class PageState;
@@ -376,6 +377,10 @@ class CONTENT_EXPORT WebContentsDelegate {
RenderFrameHost* frame,
const BluetoothChooser::EventHandler& event_handler);
+ // Returns a bluetooth allowed devices map for |frame|.
+ virtual BluetoothAllowedDevicesMapBase* GetBluetoothDevicesMap(
+ RenderFrameHost* frame);
+
// Returns true if the delegate will embed a WebContents-owned fullscreen
// render widget. In this case, the delegate may access the widget by calling
// WebContents::GetFullscreenRenderWidgetHostView(). If false is returned,

Powered by Google App Engine
This is Rietveld 408576698