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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 1286063002: Add a path for content/ to open and control a Bluetooth chooser dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Remove an unnecessary include and forward decl Created 5 years, 4 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/browser/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 95eb49a0d0f4e24d12ad23a0eecd02a24dd5f28c..6da842461ba5355c8656ea7e0e3c5e745ca1c075 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -28,6 +28,7 @@
#include "content/browser/renderer_host/render_widget_host_delegate.h"
#include "content/common/accessibility_mode_enums.h"
#include "content/common/content_export.h"
+#include "content/public/browser/bluetooth_chooser.h"
#include "content/public/browser/color_chooser.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
@@ -472,6 +473,10 @@ class CONTENT_EXPORT WebContentsImpl
void LostCapture() override;
void RunFileChooser(RenderViewHost* render_view_host,
const FileChooserParams& params) override;
+ scoped_ptr<BluetoothChooser> RunBluetoothChooser(
+ BluetoothChooser::Observer* observer,
+ int chooser_id,
+ const GURL& origin) override;
bool IsFullscreenForCurrentTab() const override;
blink::WebDisplayMode GetDisplayMode() const override;
void UpdatePreferredSize(const gfx::Size& pref_size) override;

Powered by Google App Engine
This is Rietveld 408576698