| 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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 const std::string& GetEncoding() const override; | 283 const std::string& GetEncoding() const override; |
| 284 bool DisplayedInsecureContent() const override; | 284 bool DisplayedInsecureContent() const override; |
| 285 void IncrementCapturerCount(const gfx::Size& capture_size) override; | 285 void IncrementCapturerCount(const gfx::Size& capture_size) override; |
| 286 void DecrementCapturerCount() override; | 286 void DecrementCapturerCount() override; |
| 287 int GetCapturerCount() const override; | 287 int GetCapturerCount() const override; |
| 288 bool IsAudioMuted() const override; | 288 bool IsAudioMuted() const override; |
| 289 void SetAudioMuted(bool mute) override; | 289 void SetAudioMuted(bool mute) override; |
| 290 bool IsCrashed() const override; | 290 bool IsCrashed() const override; |
| 291 void SetIsCrashed(base::TerminationStatus status, int error_code) override; | 291 void SetIsCrashed(base::TerminationStatus status, int error_code) override; |
| 292 base::TerminationStatus GetCrashedStatus() const override; | 292 base::TerminationStatus GetCrashedStatus() const override; |
| 293 int GetCrashedErrorCode() const override; |
| 293 bool IsBeingDestroyed() const override; | 294 bool IsBeingDestroyed() const override; |
| 294 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override; | 295 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override; |
| 295 base::TimeTicks GetLastActiveTime() const override; | 296 base::TimeTicks GetLastActiveTime() const override; |
| 296 void SetLastActiveTime(base::TimeTicks last_active_time) override; | 297 void SetLastActiveTime(base::TimeTicks last_active_time) override; |
| 297 void WasShown() override; | 298 void WasShown() override; |
| 298 void WasHidden() override; | 299 void WasHidden() override; |
| 299 bool NeedToFireBeforeUnload() override; | 300 bool NeedToFireBeforeUnload() override; |
| 300 void DispatchBeforeUnload(bool for_cross_site_transition) override; | 301 void DispatchBeforeUnload(bool for_cross_site_transition) override; |
| 301 void AttachToOuterWebContentsFrame( | 302 void AttachToOuterWebContentsFrame( |
| 302 WebContents* outer_web_contents, | 303 WebContents* outer_web_contents, |
| (...skipping 1053 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1356 // Adds/removes a callback called on creation of each new WebContents. | 1357 // Adds/removes a callback called on creation of each new WebContents. |
| 1357 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1358 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1358 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1359 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1359 | 1360 |
| 1360 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1361 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1361 }; | 1362 }; |
| 1362 | 1363 |
| 1363 } // namespace content | 1364 } // namespace content |
| 1364 | 1365 |
| 1365 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1366 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |