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