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

Side by Side 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: 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_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 <map> 10 #include <map>
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 const base::string16& GetLoadStateHost() const override; 279 const base::string16& GetLoadStateHost() const override;
280 uint64_t GetUploadSize() const override; 280 uint64_t GetUploadSize() const override;
281 uint64_t GetUploadPosition() const override; 281 uint64_t GetUploadPosition() const override;
282 const std::string& GetEncoding() const override; 282 const std::string& GetEncoding() const override;
283 bool DisplayedInsecureContent() const override; 283 bool DisplayedInsecureContent() const override;
284 void IncrementCapturerCount(const gfx::Size& capture_size) override; 284 void IncrementCapturerCount(const gfx::Size& capture_size) override;
285 void DecrementCapturerCount() override; 285 void DecrementCapturerCount() override;
286 int GetCapturerCount() const override; 286 int GetCapturerCount() const override;
287 bool IsAudioMuted() const override; 287 bool IsAudioMuted() const override;
288 void SetAudioMuted(bool mute) override; 288 void SetAudioMuted(bool mute) override;
289 bool IsBluetoothDeviceConnected() const override;
290 void SetBluetoothDeviceConnected(bool mute) override;
289 bool IsCrashed() const override; 291 bool IsCrashed() const override;
290 void SetIsCrashed(base::TerminationStatus status, int error_code) override; 292 void SetIsCrashed(base::TerminationStatus status, int error_code) override;
291 base::TerminationStatus GetCrashedStatus() const override; 293 base::TerminationStatus GetCrashedStatus() const override;
292 bool IsBeingDestroyed() const override; 294 bool IsBeingDestroyed() const override;
293 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override; 295 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override;
294 base::TimeTicks GetLastActiveTime() const override; 296 base::TimeTicks GetLastActiveTime() const override;
295 void SetLastActiveTime(base::TimeTicks last_active_time) override; 297 void SetLastActiveTime(base::TimeTicks last_active_time) override;
296 void WasShown() override; 298 void WasShown() override;
297 void WasHidden() override; 299 void WasHidden() override;
298 bool NeedToFireBeforeUnload() override; 300 bool NeedToFireBeforeUnload() override;
(...skipping 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after
1303 // The accessibility mode for all frames. This is queried when each frame 1305 // The accessibility mode for all frames. This is queried when each frame
1304 // is created, and broadcast to all frames when it changes. 1306 // is created, and broadcast to all frames when it changes.
1305 AccessibilityMode accessibility_mode_; 1307 AccessibilityMode accessibility_mode_;
1306 1308
1307 // Monitors power levels for audio streams associated with this WebContents. 1309 // Monitors power levels for audio streams associated with this WebContents.
1308 AudioStreamMonitor audio_stream_monitor_; 1310 AudioStreamMonitor audio_stream_monitor_;
1309 1311
1310 // Created on-demand to mute all audio output from this WebContents. 1312 // Created on-demand to mute all audio output from this WebContents.
1311 scoped_ptr<WebContentsAudioMuter> audio_muter_; 1313 scoped_ptr<WebContentsAudioMuter> audio_muter_;
1312 1314
1315 bool bluetooth_device_connected_;
1316
1313 bool virtual_keyboard_requested_; 1317 bool virtual_keyboard_requested_;
1314 1318
1315 // Notifies ResourceDispatcherHostImpl of various events related to loading. 1319 // Notifies ResourceDispatcherHostImpl of various events related to loading.
1316 scoped_ptr<LoaderIOThreadNotifier> loader_io_thread_notifier_; 1320 scoped_ptr<LoaderIOThreadNotifier> loader_io_thread_notifier_;
1317 1321
1318 // Manages media players, CDMs, and power save blockers for media. 1322 // Manages media players, CDMs, and power save blockers for media.
1319 scoped_ptr<MediaWebContentsObserver> media_web_contents_observer_; 1323 scoped_ptr<MediaWebContentsObserver> media_web_contents_observer_;
1320 1324
1321 scoped_ptr<RenderWidgetHostInputEventRouter> rwh_input_event_router_; 1325 scoped_ptr<RenderWidgetHostInputEventRouter> rwh_input_event_router_;
1322 1326
(...skipping 20 matching lines...) Expand all
1343 // Adds/removes a callback called on creation of each new WebContents. 1347 // Adds/removes a callback called on creation of each new WebContents.
1344 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1348 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1345 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1349 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1346 1350
1347 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1351 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1348 }; 1352 };
1349 1353
1350 } // namespace content 1354 } // namespace content
1351 1355
1352 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1356 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698