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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 1848663002: bluetooth: Remove indicator only when there are no more devices connected (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@my-origin
Patch Set: Ref count connections 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
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_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <functional> 10 #include <functional>
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 const base::string16& GetLoadStateHost() const override; 270 const base::string16& GetLoadStateHost() const override;
271 uint64_t GetUploadSize() const override; 271 uint64_t GetUploadSize() const override;
272 uint64_t GetUploadPosition() const override; 272 uint64_t GetUploadPosition() const override;
273 const std::string& GetEncoding() const override; 273 const std::string& GetEncoding() const override;
274 bool DisplayedInsecureContent() const override; 274 bool DisplayedInsecureContent() const override;
275 void IncrementCapturerCount(const gfx::Size& capture_size) override; 275 void IncrementCapturerCount(const gfx::Size& capture_size) override;
276 void DecrementCapturerCount() override; 276 void DecrementCapturerCount() override;
277 int GetCapturerCount() const override; 277 int GetCapturerCount() const override;
278 bool IsAudioMuted() const override; 278 bool IsAudioMuted() const override;
279 void SetAudioMuted(bool mute) override; 279 void SetAudioMuted(bool mute) override;
280 bool IsBluetoothDeviceConnected() const override; 280 void IncrementBluetoothConnectedDeviceCount() override;
281 void SetBluetoothDeviceConnected(bool connected) override; 281 void DecrementBluetoothConnectedDeviceCount() override;
282 bool IsConnectedToBluetoothDevice() override;
282 bool IsCrashed() const override; 283 bool IsCrashed() const override;
283 void SetIsCrashed(base::TerminationStatus status, int error_code) override; 284 void SetIsCrashed(base::TerminationStatus status, int error_code) override;
284 base::TerminationStatus GetCrashedStatus() const override; 285 base::TerminationStatus GetCrashedStatus() const override;
285 int GetCrashedErrorCode() const override; 286 int GetCrashedErrorCode() const override;
286 bool IsBeingDestroyed() const override; 287 bool IsBeingDestroyed() const override;
287 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override; 288 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override;
288 base::TimeTicks GetLastActiveTime() const override; 289 base::TimeTicks GetLastActiveTime() const override;
289 void SetLastActiveTime(base::TimeTicks last_active_time) override; 290 void SetLastActiveTime(base::TimeTicks last_active_time) override;
290 void WasShown() override; 291 void WasShown() override;
291 void WasHidden() override; 292 void WasHidden() override;
(...skipping 1051 matching lines...) Expand 10 before | Expand all | Expand 10 after
1343 // Adds/removes a callback called on creation of each new WebContents. 1344 // Adds/removes a callback called on creation of each new WebContents.
1344 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1345 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1345 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1346 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1346 1347
1347 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1348 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1348 }; 1349 };
1349 1350
1350 } // namespace content 1351 } // namespace content
1351 1352
1352 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1353 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698