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

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: Initial 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 145e02e09dc89e72fcfa05781001ae4ea8a9e22a..c39209842d00a6311b36811e96fd9ed326952a56 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -552,6 +552,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;
@@ -1008,6 +1009,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