| 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 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 base::TerminationStatus GetCrashedStatus() const override; | 357 base::TerminationStatus GetCrashedStatus() const override; |
| 358 int GetCrashedErrorCode() const override; | 358 int GetCrashedErrorCode() const override; |
| 359 bool IsBeingDestroyed() const override; | 359 bool IsBeingDestroyed() const override; |
| 360 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override; | 360 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override; |
| 361 void OnAudioStateChanged(bool is_audible) override; | 361 void OnAudioStateChanged(bool is_audible) override; |
| 362 base::TimeTicks GetLastActiveTime() const override; | 362 base::TimeTicks GetLastActiveTime() const override; |
| 363 void SetLastActiveTime(base::TimeTicks last_active_time) override; | 363 void SetLastActiveTime(base::TimeTicks last_active_time) override; |
| 364 base::TimeTicks GetLastHiddenTime() const override; | 364 base::TimeTicks GetLastHiddenTime() const override; |
| 365 void WasShown() override; | 365 void WasShown() override; |
| 366 void WasHidden() override; | 366 void WasHidden() override; |
| 367 bool IsVisible() const override; |
| 367 bool NeedToFireBeforeUnload() override; | 368 bool NeedToFireBeforeUnload() override; |
| 368 void DispatchBeforeUnload() override; | 369 void DispatchBeforeUnload() override; |
| 369 void AttachToOuterWebContentsFrame( | 370 void AttachToOuterWebContentsFrame( |
| 370 WebContents* outer_web_contents, | 371 WebContents* outer_web_contents, |
| 371 RenderFrameHost* outer_contents_frame) override; | 372 RenderFrameHost* outer_contents_frame) override; |
| 372 void DidChangeVisibleSecurityState() override; | 373 void DidChangeVisibleSecurityState() override; |
| 373 void Stop() override; | 374 void Stop() override; |
| 374 WebContents* Clone() override; | 375 WebContents* Clone() override; |
| 375 void ReloadFocusedFrame(bool bypass_cache) override; | 376 void ReloadFocusedFrame(bool bypass_cache) override; |
| 376 void Undo() override; | 377 void Undo() override; |
| (...skipping 1275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1652 // Adds/removes a callback called on creation of each new WebContents. | 1653 // Adds/removes a callback called on creation of each new WebContents. |
| 1653 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1654 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1654 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1655 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1655 | 1656 |
| 1656 DISALLOW_COPY_AND_ASSIGN(FriendWrapper); | 1657 DISALLOW_COPY_AND_ASSIGN(FriendWrapper); |
| 1657 }; | 1658 }; |
| 1658 | 1659 |
| 1659 } // namespace content | 1660 } // namespace content |
| 1660 | 1661 |
| 1661 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1662 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |