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

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: 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 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;
281 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.
280 bool IsCrashed() const override; 282 bool IsCrashed() const override;
281 void SetIsCrashed(base::TerminationStatus status, int error_code) override; 283 void SetIsCrashed(base::TerminationStatus status, int error_code) override;
282 base::TerminationStatus GetCrashedStatus() const override; 284 base::TerminationStatus GetCrashedStatus() const override;
283 int GetCrashedErrorCode() const override; 285 int GetCrashedErrorCode() const override;
284 bool IsBeingDestroyed() const override; 286 bool IsBeingDestroyed() const override;
285 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override; 287 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override;
286 base::TimeTicks GetLastActiveTime() const override; 288 base::TimeTicks GetLastActiveTime() const override;
287 void SetLastActiveTime(base::TimeTicks last_active_time) override; 289 void SetLastActiveTime(base::TimeTicks last_active_time) override;
288 void WasShown() override; 290 void WasShown() override;
289 void WasHidden() override; 291 void WasHidden() override;
(...skipping 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after
1299 // The accessibility mode for all frames. This is queried when each frame 1301 // The accessibility mode for all frames. This is queried when each frame
1300 // is created, and broadcast to all frames when it changes. 1302 // is created, and broadcast to all frames when it changes.
1301 AccessibilityMode accessibility_mode_; 1303 AccessibilityMode accessibility_mode_;
1302 1304
1303 // Monitors power levels for audio streams associated with this WebContents. 1305 // Monitors power levels for audio streams associated with this WebContents.
1304 AudioStreamMonitor audio_stream_monitor_; 1306 AudioStreamMonitor audio_stream_monitor_;
1305 1307
1306 // Created on-demand to mute all audio output from this WebContents. 1308 // Created on-demand to mute all audio output from this WebContents.
1307 scoped_ptr<WebContentsAudioMuter> audio_muter_; 1309 scoped_ptr<WebContentsAudioMuter> audio_muter_;
1308 1310
1311 bool bluetooth_device_connected_;
1312
1309 bool virtual_keyboard_requested_; 1313 bool virtual_keyboard_requested_;
1310 1314
1311 // Notifies ResourceDispatcherHostImpl of various events related to loading. 1315 // Notifies ResourceDispatcherHostImpl of various events related to loading.
1312 scoped_ptr<LoaderIOThreadNotifier> loader_io_thread_notifier_; 1316 scoped_ptr<LoaderIOThreadNotifier> loader_io_thread_notifier_;
1313 1317
1314 // Manages media players, CDMs, and power save blockers for media. 1318 // Manages media players, CDMs, and power save blockers for media.
1315 scoped_ptr<MediaWebContentsObserver> media_web_contents_observer_; 1319 scoped_ptr<MediaWebContentsObserver> media_web_contents_observer_;
1316 1320
1317 scoped_ptr<RenderWidgetHostInputEventRouter> rwh_input_event_router_; 1321 scoped_ptr<RenderWidgetHostInputEventRouter> rwh_input_event_router_;
1318 1322
(...skipping 20 matching lines...) Expand all
1339 // Adds/removes a callback called on creation of each new WebContents. 1343 // Adds/removes a callback called on creation of each new WebContents.
1340 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1344 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1341 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1345 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1342 1346
1343 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1347 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1344 }; 1348 };
1345 1349
1346 } // namespace content 1350 } // namespace content
1347 1351
1348 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1352 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« 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