| 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 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 547 const LoadCommittedDetails& details, | 547 const LoadCommittedDetails& details, |
| 548 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; | 548 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; |
| 549 void SetMainFrameMimeType(const std::string& mime_type) override; | 549 void SetMainFrameMimeType(const std::string& mime_type) override; |
| 550 bool CanOverscrollContent() const override; | 550 bool CanOverscrollContent() const override; |
| 551 void NotifyChangedNavigationState(InvalidateTypes changed_flags) override; | 551 void NotifyChangedNavigationState(InvalidateTypes changed_flags) override; |
| 552 void DidStartNavigationToPendingEntry( | 552 void DidStartNavigationToPendingEntry( |
| 553 const GURL& url, | 553 const GURL& url, |
| 554 NavigationController::ReloadType reload_type) override; | 554 NavigationController::ReloadType reload_type) override; |
| 555 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, | 555 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, |
| 556 const OpenURLParams& params) override; | 556 const OpenURLParams& params) override; |
| 557 bool ShouldTransferNavigation() override; |
| 557 bool ShouldPreserveAbortedURLs() override; | 558 bool ShouldPreserveAbortedURLs() override; |
| 558 void DidStartLoading(FrameTreeNode* frame_tree_node, | 559 void DidStartLoading(FrameTreeNode* frame_tree_node, |
| 559 bool to_different_document) override; | 560 bool to_different_document) override; |
| 560 void DidStopLoading() override; | 561 void DidStopLoading() override; |
| 561 void DidChangeLoadProgress() override; | 562 void DidChangeLoadProgress() override; |
| 562 | 563 |
| 563 // RenderWidgetHostDelegate -------------------------------------------------- | 564 // RenderWidgetHostDelegate -------------------------------------------------- |
| 564 | 565 |
| 565 void RenderWidgetCreated(RenderWidgetHostImpl* render_widget_host) override; | 566 void RenderWidgetCreated(RenderWidgetHostImpl* render_widget_host) override; |
| 566 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; | 567 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; |
| (...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1315 // Adds/removes a callback called on creation of each new WebContents. | 1316 // Adds/removes a callback called on creation of each new WebContents. |
| 1316 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1317 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1317 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1318 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1318 | 1319 |
| 1319 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1320 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1320 }; | 1321 }; |
| 1321 | 1322 |
| 1322 } // namespace content | 1323 } // namespace content |
| 1323 | 1324 |
| 1324 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1325 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |