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