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

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

Issue 1746333002: bluetooth: Show tab indicator when BT device is connected (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@my-origin
Patch Set: 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
Index: content/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 4f8a3f26c139feb35a84f65b01cf1d0530e1133f..792f4fb831f4a621e439f59cf4e9831d6db324b2 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -363,6 +363,10 @@ class WebContents : public PageNavigator,
virtual bool IsAudioMuted() const = 0;
virtual void SetAudioMuted(bool mute) = 0;
+ // Indicates/Sets wheter a WebContents is connected to a Bluetooth Device.
+ virtual bool IsBluetoothDeviceConnected() const = 0;
+ virtual void SetBluetoothDeviceConnected(bool connected) = 0;
+
// Indicates whether this tab should be considered crashed. The setter will
// also notify the delegate when the flag is changed.
virtual bool IsCrashed() const = 0;

Powered by Google App Engine
This is Rietveld 408576698