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