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

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: 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 unified diff | Download patch
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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 // capturer that provides a non-empty |capture_size| will override the value 356 // capturer that provides a non-empty |capture_size| will override the value
357 // returned by GetPreferredSize() until all captures have ended. 357 // returned by GetPreferredSize() until all captures have ended.
358 virtual void IncrementCapturerCount(const gfx::Size& capture_size) = 0; 358 virtual void IncrementCapturerCount(const gfx::Size& capture_size) = 0;
359 virtual void DecrementCapturerCount() = 0; 359 virtual void DecrementCapturerCount() = 0;
360 virtual int GetCapturerCount() const = 0; 360 virtual int GetCapturerCount() const = 0;
361 361
362 // Indicates/Sets whether all audio output from this WebContents is muted. 362 // Indicates/Sets whether all audio output from this WebContents is muted.
363 virtual bool IsAudioMuted() const = 0; 363 virtual bool IsAudioMuted() const = 0;
364 virtual void SetAudioMuted(bool mute) = 0; 364 virtual void SetAudioMuted(bool mute) = 0;
365 365
366 // Indicates/Sets wheter a WebContents is connected to a Bluetooth Device.
367 virtual bool IsBluetoothDeviceConnected() const = 0;
368 virtual void SetBluetoothDeviceConnected(bool connected) = 0;
369
366 // Indicates whether this tab should be considered crashed. The setter will 370 // Indicates whether this tab should be considered crashed. The setter will
367 // also notify the delegate when the flag is changed. 371 // also notify the delegate when the flag is changed.
368 virtual bool IsCrashed() const = 0; 372 virtual bool IsCrashed() const = 0;
369 virtual void SetIsCrashed(base::TerminationStatus status, int error_code) = 0; 373 virtual void SetIsCrashed(base::TerminationStatus status, int error_code) = 0;
370 374
371 virtual base::TerminationStatus GetCrashedStatus() const = 0; 375 virtual base::TerminationStatus GetCrashedStatus() const = 0;
372 376
373 // Whether the tab is in the process of being destroyed. 377 // Whether the tab is in the process of being destroyed.
374 virtual bool IsBeingDestroyed() const = 0; 378 virtual bool IsBeingDestroyed() const = 0;
375 379
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 723
720 private: 724 private:
721 // This interface should only be implemented inside content. 725 // This interface should only be implemented inside content.
722 friend class WebContentsImpl; 726 friend class WebContentsImpl;
723 WebContents() {} 727 WebContents() {}
724 }; 728 };
725 729
726 } // namespace content 730 } // namespace content
727 731
728 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 732 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698