| 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 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 573 RenderFrameHostImpl* render_frame_host, | 573 RenderFrameHostImpl* render_frame_host, |
| 574 const LoadCommittedDetails& details, | 574 const LoadCommittedDetails& details, |
| 575 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; | 575 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; |
| 576 void DidNavigateAnyFramePostCommit( | 576 void DidNavigateAnyFramePostCommit( |
| 577 RenderFrameHostImpl* render_frame_host, | 577 RenderFrameHostImpl* render_frame_host, |
| 578 const LoadCommittedDetails& details, | 578 const LoadCommittedDetails& details, |
| 579 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; | 579 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; |
| 580 void SetMainFrameMimeType(const std::string& mime_type) override; | 580 void SetMainFrameMimeType(const std::string& mime_type) override; |
| 581 bool CanOverscrollContent() const override; | 581 bool CanOverscrollContent() const override; |
| 582 void NotifyChangedNavigationState(InvalidateTypes changed_flags) override; | 582 void NotifyChangedNavigationState(InvalidateTypes changed_flags) override; |
| 583 void DidStartNavigationToPendingEntry( | 583 void DidStartNavigationToPendingEntry(const GURL& url, |
| 584 const GURL& url, | 584 ReloadType reload_type) override; |
| 585 NavigationController::ReloadType reload_type) override; | |
| 586 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, | 585 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, |
| 587 const OpenURLParams& params) override; | 586 const OpenURLParams& params) override; |
| 588 bool ShouldTransferNavigation() override; | 587 bool ShouldTransferNavigation() override; |
| 589 bool ShouldPreserveAbortedURLs() override; | 588 bool ShouldPreserveAbortedURLs() override; |
| 590 void DidStartLoading(FrameTreeNode* frame_tree_node, | 589 void DidStartLoading(FrameTreeNode* frame_tree_node, |
| 591 bool to_different_document) override; | 590 bool to_different_document) override; |
| 592 void DidStopLoading() override; | 591 void DidStopLoading() override; |
| 593 void DidChangeLoadProgress() override; | 592 void DidChangeLoadProgress() override; |
| 594 | 593 |
| 595 // RenderWidgetHostDelegate -------------------------------------------------- | 594 // RenderWidgetHostDelegate -------------------------------------------------- |
| (...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1447 // Adds/removes a callback called on creation of each new WebContents. | 1446 // Adds/removes a callback called on creation of each new WebContents. |
| 1448 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1447 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1449 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1448 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1450 | 1449 |
| 1451 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1450 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1452 }; | 1451 }; |
| 1453 | 1452 |
| 1454 } // namespace content | 1453 } // namespace content |
| 1455 | 1454 |
| 1456 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1455 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |