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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
594 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; | 594 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; |
595 void DidNavigateAnyFramePostCommit( | 595 void DidNavigateAnyFramePostCommit( |
596 RenderFrameHostImpl* render_frame_host, | 596 RenderFrameHostImpl* render_frame_host, |
597 const LoadCommittedDetails& details, | 597 const LoadCommittedDetails& details, |
598 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; | 598 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; |
599 void SetMainFrameMimeType(const std::string& mime_type) override; | 599 void SetMainFrameMimeType(const std::string& mime_type) override; |
600 bool CanOverscrollContent() const override; | 600 bool CanOverscrollContent() const override; |
601 void NotifyChangedNavigationState(InvalidateTypes changed_flags) override; | 601 void NotifyChangedNavigationState(InvalidateTypes changed_flags) override; |
602 void DidStartNavigationToPendingEntry(const GURL& url, | 602 void DidStartNavigationToPendingEntry(const GURL& url, |
603 ReloadType reload_type) override; | 603 ReloadType reload_type) override; |
604 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, | |
605 const OpenURLParams& params) override; | |
606 bool ShouldTransferNavigation(bool is_main_frame_navigation) override; | 604 bool ShouldTransferNavigation(bool is_main_frame_navigation) override; |
607 bool ShouldPreserveAbortedURLs() override; | 605 bool ShouldPreserveAbortedURLs() override; |
608 void DidStartLoading(FrameTreeNode* frame_tree_node, | 606 void DidStartLoading(FrameTreeNode* frame_tree_node, |
609 bool to_different_document) override; | 607 bool to_different_document) override; |
610 void DidStopLoading() override; | 608 void DidStopLoading() override; |
611 void DidChangeLoadProgress() override; | 609 void DidChangeLoadProgress() override; |
612 std::vector<std::unique_ptr<NavigationThrottle>> CreateThrottlesForNavigation( | 610 std::vector<std::unique_ptr<NavigationThrottle>> CreateThrottlesForNavigation( |
613 NavigationHandle* navigation_handle) override; | 611 NavigationHandle* navigation_handle) override; |
614 std::unique_ptr<NavigationUIData> GetNavigationUIData( | 612 std::unique_ptr<NavigationUIData> GetNavigationUIData( |
615 NavigationHandle* navigation_handle) override; | 613 NavigationHandle* navigation_handle) override; |
(...skipping 903 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1519 // Adds/removes a callback called on creation of each new WebContents. | 1517 // Adds/removes a callback called on creation of each new WebContents. |
1520 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1518 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1521 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1519 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1522 | 1520 |
1523 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1521 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1524 }; | 1522 }; |
1525 | 1523 |
1526 } // namespace content | 1524 } // namespace content |
1527 | 1525 |
1528 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1526 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |