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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 int GetCapturerCount() const override; | 315 int GetCapturerCount() const override; |
316 bool IsAudioMuted() const override; | 316 bool IsAudioMuted() const override; |
317 void SetAudioMuted(bool mute) override; | 317 void SetAudioMuted(bool mute) override; |
318 bool IsConnectedToBluetoothDevice() const override; | 318 bool IsConnectedToBluetoothDevice() const override; |
319 bool IsCrashed() const override; | 319 bool IsCrashed() const override; |
320 void SetIsCrashed(base::TerminationStatus status, int error_code) override; | 320 void SetIsCrashed(base::TerminationStatus status, int error_code) override; |
321 base::TerminationStatus GetCrashedStatus() const override; | 321 base::TerminationStatus GetCrashedStatus() const override; |
322 int GetCrashedErrorCode() const override; | 322 int GetCrashedErrorCode() const override; |
323 bool IsBeingDestroyed() const override; | 323 bool IsBeingDestroyed() const override; |
324 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override; | 324 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override; |
325 void OnAudioStateChanged(bool is_audio_playing) override; | |
326 base::TimeTicks GetLastActiveTime() const override; | 325 base::TimeTicks GetLastActiveTime() const override; |
327 void SetLastActiveTime(base::TimeTicks last_active_time) override; | 326 void SetLastActiveTime(base::TimeTicks last_active_time) override; |
328 base::TimeTicks GetLastHiddenTime() const override; | 327 base::TimeTicks GetLastHiddenTime() const override; |
329 void WasShown() override; | 328 void WasShown() override; |
330 void WasHidden() override; | 329 void WasHidden() override; |
331 bool NeedToFireBeforeUnload() override; | 330 bool NeedToFireBeforeUnload() override; |
332 void DispatchBeforeUnload() override; | 331 void DispatchBeforeUnload() override; |
333 void AttachToOuterWebContentsFrame( | 332 void AttachToOuterWebContentsFrame( |
334 WebContents* outer_web_contents, | 333 WebContents* outer_web_contents, |
335 RenderFrameHost* outer_contents_frame) override; | 334 RenderFrameHost* outer_contents_frame) override; |
(...skipping 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1452 // Adds/removes a callback called on creation of each new WebContents. | 1451 // Adds/removes a callback called on creation of each new WebContents. |
1453 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1452 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1454 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1453 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1455 | 1454 |
1456 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1455 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1457 }; | 1456 }; |
1458 | 1457 |
1459 } // namespace content | 1458 } // namespace content |
1460 | 1459 |
1461 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1460 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |