| 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 586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 597 void DidStartNavigationToPendingEntry(const GURL& url, | 597 void DidStartNavigationToPendingEntry(const GURL& url, |
| 598 ReloadType reload_type) override; | 598 ReloadType reload_type) override; |
| 599 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, | 599 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, |
| 600 const OpenURLParams& params) override; | 600 const OpenURLParams& params) override; |
| 601 bool ShouldTransferNavigation(bool is_main_frame_navigation) override; | 601 bool ShouldTransferNavigation(bool is_main_frame_navigation) override; |
| 602 bool ShouldPreserveAbortedURLs() override; | 602 bool ShouldPreserveAbortedURLs() override; |
| 603 void DidStartLoading(FrameTreeNode* frame_tree_node, | 603 void DidStartLoading(FrameTreeNode* frame_tree_node, |
| 604 bool to_different_document) override; | 604 bool to_different_document) override; |
| 605 void DidStopLoading() override; | 605 void DidStopLoading() override; |
| 606 void DidChangeLoadProgress() override; | 606 void DidChangeLoadProgress() override; |
| 607 ScopedVector<NavigationThrottle> CreateThrottlesForNavigation( | 607 std::vector<std::unique_ptr<NavigationThrottle>> CreateThrottlesForNavigation( |
| 608 NavigationHandle* navigation_handle) override; | 608 NavigationHandle* navigation_handle) override; |
| 609 std::unique_ptr<NavigationUIData> GetNavigationUIData( | 609 std::unique_ptr<NavigationUIData> GetNavigationUIData( |
| 610 NavigationHandle* navigation_handle) override; | 610 NavigationHandle* navigation_handle) override; |
| 611 | 611 |
| 612 // RenderWidgetHostDelegate -------------------------------------------------- | 612 // RenderWidgetHostDelegate -------------------------------------------------- |
| 613 | 613 |
| 614 void RenderWidgetCreated(RenderWidgetHostImpl* render_widget_host) override; | 614 void RenderWidgetCreated(RenderWidgetHostImpl* render_widget_host) override; |
| 615 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; | 615 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; |
| 616 void RenderWidgetGotFocus(RenderWidgetHostImpl* render_widget_host) override; | 616 void RenderWidgetGotFocus(RenderWidgetHostImpl* render_widget_host) override; |
| 617 void RenderWidgetWasResized(RenderWidgetHostImpl* render_widget_host, | 617 void RenderWidgetWasResized(RenderWidgetHostImpl* render_widget_host, |
| (...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1516 // Adds/removes a callback called on creation of each new WebContents. | 1516 // Adds/removes a callback called on creation of each new WebContents. |
| 1517 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1517 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1518 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1518 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1519 | 1519 |
| 1520 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1520 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1521 }; | 1521 }; |
| 1522 | 1522 |
| 1523 } // namespace content | 1523 } // namespace content |
| 1524 | 1524 |
| 1525 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1525 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |