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

Unified Diff: content/renderer/render_frame_impl.h

Issue 1228113004: Put the RenderFrame's ID into a per-frame WebBluetooth, and plumb that back to the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@store-request-device-state-in-dispatcher
Patch Set: Remove mention of frames from content/child. Created 5 years, 5 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/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index fee7a623d2311812583cce2397fc91c51592a1a2..5e0549f18ad35347a406aa597fa084b74703a54b 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -546,6 +546,7 @@ class CONTENT_EXPORT RenderFrameImpl
const blink::WebString& title);
virtual void unregisterProtocolHandler(const blink::WebString& scheme,
const blink::WebURL& url);
+ virtual blink::WebBluetooth* bluetooth();
#if defined(ENABLE_WEBVR)
blink::WebVRClient* webVRClient() override;
@@ -1002,6 +1003,8 @@ class CONTENT_EXPORT RenderFrameImpl
scoped_ptr<blink::WebAppBannerClient> app_banner_client_;
+ scoped_ptr<blink::WebBluetooth> bluetooth_;
+
#if defined(ENABLE_WEBVR)
// The VR dispatcher attached to the frame, lazily initialized.
scoped_ptr<VRDispatcher> vr_dispatcher_;

Powered by Google App Engine
This is Rietveld 408576698