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

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: Initialize variable to false Created 4 years, 9 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 26588f07f4ae829bdb25fbbf2c929a807fdff65f..a308c009f3010874e4000a21480a9ae7094d55cc 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -357,6 +357,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