| 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 <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 544 RenderFrameHostImpl* render_frame_host, | 544 RenderFrameHostImpl* render_frame_host, |
| 545 const LoadCommittedDetails& details, | 545 const LoadCommittedDetails& details, |
| 546 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; | 546 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; |
| 547 void DidNavigateAnyFramePostCommit( | 547 void DidNavigateAnyFramePostCommit( |
| 548 RenderFrameHostImpl* render_frame_host, | 548 RenderFrameHostImpl* render_frame_host, |
| 549 const LoadCommittedDetails& details, | 549 const LoadCommittedDetails& details, |
| 550 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; | 550 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; |
| 551 void SetMainFrameMimeType(const std::string& mime_type) override; | 551 void SetMainFrameMimeType(const std::string& mime_type) override; |
| 552 bool CanOverscrollContent() const override; | 552 bool CanOverscrollContent() const override; |
| 553 void NotifyChangedNavigationState(InvalidateTypes changed_flags) override; | 553 void NotifyChangedNavigationState(InvalidateTypes changed_flags) override; |
| 554 void AboutToNavigateRenderFrame( | |
| 555 RenderFrameHostImpl* old_host, | |
| 556 RenderFrameHostImpl* new_host) override; | |
| 557 void DidStartNavigationToPendingEntry( | 554 void DidStartNavigationToPendingEntry( |
| 558 const GURL& url, | 555 const GURL& url, |
| 559 NavigationController::ReloadType reload_type) override; | 556 NavigationController::ReloadType reload_type) override; |
| 560 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, | 557 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, |
| 561 const OpenURLParams& params) override; | 558 const OpenURLParams& params) override; |
| 562 bool ShouldPreserveAbortedURLs() override; | 559 bool ShouldPreserveAbortedURLs() override; |
| 563 void DidStartLoading(FrameTreeNode* frame_tree_node, | 560 void DidStartLoading(FrameTreeNode* frame_tree_node, |
| 564 bool to_different_document) override; | 561 bool to_different_document) override; |
| 565 void DidStopLoading() override; | 562 void DidStopLoading() override; |
| 566 void DidChangeLoadProgress() override; | 563 void DidChangeLoadProgress() override; |
| (...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1331 // Adds/removes a callback called on creation of each new WebContents. | 1328 // Adds/removes a callback called on creation of each new WebContents. |
| 1332 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1329 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1333 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1330 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1334 | 1331 |
| 1335 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1332 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1336 }; | 1333 }; |
| 1337 | 1334 |
| 1338 } // namespace content | 1335 } // namespace content |
| 1339 | 1336 |
| 1340 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1337 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |