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

Unified Diff: content/browser/web_contents/web_contents_impl.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/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 c800f5385e3d68c76cdd1ee992ddfa3346ac1b78..77018cc08fe02d0c607edffb7d3a515a3175becc 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -277,6 +277,8 @@ class CONTENT_EXPORT WebContentsImpl
int GetCapturerCount() const override;
bool IsAudioMuted() const override;
void SetAudioMuted(bool mute) override;
+ bool IsBluetoothDeviceConnected() const override;
+ void SetBluetoothDeviceConnected(bool mute) override;
ncarter (slow) 2016/03/28 21:43:19 "bool mute" -> "bool connected"
ortuno 2016/03/28 23:24:37 Done.
bool IsCrashed() const override;
void SetIsCrashed(base::TerminationStatus status, int error_code) override;
base::TerminationStatus GetCrashedStatus() const override;
@@ -1306,6 +1308,8 @@ class CONTENT_EXPORT WebContentsImpl
// Created on-demand to mute all audio output from this WebContents.
scoped_ptr<WebContentsAudioMuter> audio_muter_;
+ bool bluetooth_device_connected_;
+
bool virtual_keyboard_requested_;
// Notifies ResourceDispatcherHostImpl of various events related to loading.
« no previous file with comments | « content/browser/bluetooth/bluetooth_dispatcher_host.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698