Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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; |
|
ncarter (slow)
2016/04/07 19:48:54
Looks like the increment/decrement methods are onl
ortuno
2016/04/07 22:34:51
Done.
| |
| 282 bool IsConnectedToBluetoothDevice() const 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 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1301 // The accessibility mode for all frames. This is queried when each frame | 1302 // The accessibility mode for all frames. This is queried when each frame |
| 1302 // is created, and broadcast to all frames when it changes. | 1303 // is created, and broadcast to all frames when it changes. |
| 1303 AccessibilityMode accessibility_mode_; | 1304 AccessibilityMode accessibility_mode_; |
| 1304 | 1305 |
| 1305 // Monitors power levels for audio streams associated with this WebContents. | 1306 // Monitors power levels for audio streams associated with this WebContents. |
| 1306 AudioStreamMonitor audio_stream_monitor_; | 1307 AudioStreamMonitor audio_stream_monitor_; |
| 1307 | 1308 |
| 1308 // Created on-demand to mute all audio output from this WebContents. | 1309 // Created on-demand to mute all audio output from this WebContents. |
| 1309 scoped_ptr<WebContentsAudioMuter> audio_muter_; | 1310 scoped_ptr<WebContentsAudioMuter> audio_muter_; |
| 1310 | 1311 |
| 1311 bool bluetooth_device_connected_; | 1312 size_t bluetooth_connected_device_count_; |
| 1312 | 1313 |
| 1313 bool virtual_keyboard_requested_; | 1314 bool virtual_keyboard_requested_; |
| 1314 | 1315 |
| 1315 // Notifies ResourceDispatcherHostImpl of various events related to loading. | 1316 // Notifies ResourceDispatcherHostImpl of various events related to loading. |
| 1316 scoped_ptr<LoaderIOThreadNotifier> loader_io_thread_notifier_; | 1317 scoped_ptr<LoaderIOThreadNotifier> loader_io_thread_notifier_; |
| 1317 | 1318 |
| 1318 // Manages media players, CDMs, and power save blockers for media. | 1319 // Manages media players, CDMs, and power save blockers for media. |
| 1319 scoped_ptr<MediaWebContentsObserver> media_web_contents_observer_; | 1320 scoped_ptr<MediaWebContentsObserver> media_web_contents_observer_; |
| 1320 | 1321 |
| 1321 scoped_ptr<RenderWidgetHostInputEventRouter> rwh_input_event_router_; | 1322 scoped_ptr<RenderWidgetHostInputEventRouter> rwh_input_event_router_; |
| (...skipping 21 matching lines...) Expand all Loading... | |
| 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_ |
| OLD | NEW |