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

Side by Side 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: mute -> connected Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <set> 10 #include <set>
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 // capturer that provides a non-empty |capture_size| will override the value 350 // capturer that provides a non-empty |capture_size| will override the value
351 // returned by GetPreferredSize() until all captures have ended. 351 // returned by GetPreferredSize() until all captures have ended.
352 virtual void IncrementCapturerCount(const gfx::Size& capture_size) = 0; 352 virtual void IncrementCapturerCount(const gfx::Size& capture_size) = 0;
353 virtual void DecrementCapturerCount() = 0; 353 virtual void DecrementCapturerCount() = 0;
354 virtual int GetCapturerCount() const = 0; 354 virtual int GetCapturerCount() const = 0;
355 355
356 // Indicates/Sets whether all audio output from this WebContents is muted. 356 // Indicates/Sets whether all audio output from this WebContents is muted.
357 virtual bool IsAudioMuted() const = 0; 357 virtual bool IsAudioMuted() const = 0;
358 virtual void SetAudioMuted(bool mute) = 0; 358 virtual void SetAudioMuted(bool mute) = 0;
359 359
360 // Indicates/Sets wheter a WebContents is connected to a Bluetooth Device.
361 virtual bool IsBluetoothDeviceConnected() const = 0;
362 virtual void SetBluetoothDeviceConnected(bool connected) = 0;
363
360 // Indicates whether this tab should be considered crashed. The setter will 364 // Indicates whether this tab should be considered crashed. The setter will
361 // also notify the delegate when the flag is changed. 365 // also notify the delegate when the flag is changed.
362 virtual bool IsCrashed() const = 0; 366 virtual bool IsCrashed() const = 0;
363 virtual void SetIsCrashed(base::TerminationStatus status, int error_code) = 0; 367 virtual void SetIsCrashed(base::TerminationStatus status, int error_code) = 0;
364 368
365 virtual base::TerminationStatus GetCrashedStatus() const = 0; 369 virtual base::TerminationStatus GetCrashedStatus() const = 0;
366 virtual int GetCrashedErrorCode() const = 0; 370 virtual int GetCrashedErrorCode() const = 0;
367 371
368 // Whether the tab is in the process of being destroyed. 372 // Whether the tab is in the process of being destroyed.
369 virtual bool IsBeingDestroyed() const = 0; 373 virtual bool IsBeingDestroyed() const = 0;
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
714 718
715 private: 719 private:
716 // This interface should only be implemented inside content. 720 // This interface should only be implemented inside content.
717 friend class WebContentsImpl; 721 friend class WebContentsImpl;
718 WebContents() {} 722 WebContents() {}
719 }; 723 };
720 724
721 } // namespace content 725 } // namespace content
722 726
723 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 727 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698