| 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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 int GetCapturerCount() const override; | 320 int GetCapturerCount() const override; |
| 321 bool IsAudioMuted() const override; | 321 bool IsAudioMuted() const override; |
| 322 void SetAudioMuted(bool mute) override; | 322 void SetAudioMuted(bool mute) override; |
| 323 bool IsConnectedToBluetoothDevice() const override; | 323 bool IsConnectedToBluetoothDevice() const override; |
| 324 bool IsCrashed() const override; | 324 bool IsCrashed() const override; |
| 325 void SetIsCrashed(base::TerminationStatus status, int error_code) override; | 325 void SetIsCrashed(base::TerminationStatus status, int error_code) override; |
| 326 base::TerminationStatus GetCrashedStatus() const override; | 326 base::TerminationStatus GetCrashedStatus() const override; |
| 327 int GetCrashedErrorCode() const override; | 327 int GetCrashedErrorCode() const override; |
| 328 bool IsBeingDestroyed() const override; | 328 bool IsBeingDestroyed() const override; |
| 329 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override; | 329 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override; |
| 330 void OnAudioStateChanged(bool is_audio_playing) override; | |
| 331 base::TimeTicks GetLastActiveTime() const override; | 330 base::TimeTicks GetLastActiveTime() const override; |
| 332 void SetLastActiveTime(base::TimeTicks last_active_time) override; | 331 void SetLastActiveTime(base::TimeTicks last_active_time) override; |
| 333 void WasShown() override; | 332 void WasShown() override; |
| 334 void WasHidden() override; | 333 void WasHidden() override; |
| 335 bool NeedToFireBeforeUnload() override; | 334 bool NeedToFireBeforeUnload() override; |
| 336 void DispatchBeforeUnload() override; | 335 void DispatchBeforeUnload() override; |
| 337 void AttachToOuterWebContentsFrame( | 336 void AttachToOuterWebContentsFrame( |
| 338 WebContents* outer_web_contents, | 337 WebContents* outer_web_contents, |
| 339 RenderFrameHost* outer_contents_frame) override; | 338 RenderFrameHost* outer_contents_frame) override; |
| 340 void Stop() override; | 339 void Stop() override; |
| (...skipping 1161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1502 // Adds/removes a callback called on creation of each new WebContents. | 1501 // Adds/removes a callback called on creation of each new WebContents. |
| 1503 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1502 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1504 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1503 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1505 | 1504 |
| 1506 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1505 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1507 }; | 1506 }; |
| 1508 | 1507 |
| 1509 } // namespace content | 1508 } // namespace content |
| 1510 | 1509 |
| 1511 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1510 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |