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 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
610 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, | 610 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, |
611 const OpenURLParams& params) override; | 611 const OpenURLParams& params) override; |
612 bool ShouldTransferNavigation(bool is_main_frame_navigation) override; | 612 bool ShouldTransferNavigation(bool is_main_frame_navigation) override; |
613 bool ShouldPreserveAbortedURLs() override; | 613 bool ShouldPreserveAbortedURLs() override; |
614 void DidStartLoading(FrameTreeNode* frame_tree_node, | 614 void DidStartLoading(FrameTreeNode* frame_tree_node, |
615 bool to_different_document) override; | 615 bool to_different_document) override; |
616 void DidStopLoading() override; | 616 void DidStopLoading() override; |
617 void DidChangeLoadProgress() override; | 617 void DidChangeLoadProgress() override; |
618 ScopedVector<NavigationThrottle> CreateThrottlesForNavigation( | 618 ScopedVector<NavigationThrottle> CreateThrottlesForNavigation( |
619 NavigationHandle* navigation_handle) override; | 619 NavigationHandle* navigation_handle) override; |
| 620 std::unique_ptr<NavigationUIData> GetNavigationUIData( |
| 621 NavigationHandle* navigation_handle) override; |
620 | 622 |
621 // RenderWidgetHostDelegate -------------------------------------------------- | 623 // RenderWidgetHostDelegate -------------------------------------------------- |
622 | 624 |
623 void RenderWidgetCreated(RenderWidgetHostImpl* render_widget_host) override; | 625 void RenderWidgetCreated(RenderWidgetHostImpl* render_widget_host) override; |
624 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; | 626 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; |
625 void RenderWidgetGotFocus(RenderWidgetHostImpl* render_widget_host) override; | 627 void RenderWidgetGotFocus(RenderWidgetHostImpl* render_widget_host) override; |
626 void RenderWidgetWasResized(RenderWidgetHostImpl* render_widget_host, | 628 void RenderWidgetWasResized(RenderWidgetHostImpl* render_widget_host, |
627 bool width_changed) override; | 629 bool width_changed) override; |
628 void ResizeDueToAutoResize(RenderWidgetHostImpl* render_widget_host, | 630 void ResizeDueToAutoResize(RenderWidgetHostImpl* render_widget_host, |
629 const gfx::Size& new_size) override; | 631 const gfx::Size& new_size) override; |
(...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1483 // Adds/removes a callback called on creation of each new WebContents. | 1485 // Adds/removes a callback called on creation of each new WebContents. |
1484 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1486 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1485 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1487 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1486 | 1488 |
1487 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1489 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1488 }; | 1490 }; |
1489 | 1491 |
1490 } // namespace content | 1492 } // namespace content |
1491 | 1493 |
1492 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1494 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |