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