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 RenderFrameHostImpl* render_frame_host, | 597 RenderFrameHostImpl* render_frame_host, |
598 const LoadCommittedDetails& details, | 598 const LoadCommittedDetails& details, |
599 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; | 599 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; |
600 void SetMainFrameMimeType(const std::string& mime_type) override; | 600 void SetMainFrameMimeType(const std::string& mime_type) override; |
601 bool CanOverscrollContent() const override; | 601 bool CanOverscrollContent() const override; |
602 void NotifyChangedNavigationState(InvalidateTypes changed_flags) override; | 602 void NotifyChangedNavigationState(InvalidateTypes changed_flags) override; |
603 void DidStartNavigationToPendingEntry(const GURL& url, | 603 void DidStartNavigationToPendingEntry(const GURL& url, |
604 ReloadType reload_type) override; | 604 ReloadType reload_type) override; |
605 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, | 605 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, |
606 const OpenURLParams& params) override; | 606 const OpenURLParams& params) override; |
607 bool ShouldTransferNavigation(bool is_main_frame_navigation) override; | 607 bool ShouldTransferNavigation() override; |
608 bool ShouldPreserveAbortedURLs() override; | 608 bool ShouldPreserveAbortedURLs() override; |
609 void DidStartLoading(FrameTreeNode* frame_tree_node, | 609 void DidStartLoading(FrameTreeNode* frame_tree_node, |
610 bool to_different_document) override; | 610 bool to_different_document) override; |
611 void DidStopLoading() override; | 611 void DidStopLoading() override; |
612 void DidChangeLoadProgress() override; | 612 void DidChangeLoadProgress() override; |
613 | 613 |
614 // RenderWidgetHostDelegate -------------------------------------------------- | 614 // RenderWidgetHostDelegate -------------------------------------------------- |
615 | 615 |
616 void RenderWidgetCreated(RenderWidgetHostImpl* render_widget_host) override; | 616 void RenderWidgetCreated(RenderWidgetHostImpl* render_widget_host) override; |
617 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; | 617 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; |
(...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1476 // Adds/removes a callback called on creation of each new WebContents. | 1476 // Adds/removes a callback called on creation of each new WebContents. |
1477 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1477 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1478 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1478 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1479 | 1479 |
1480 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1480 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1481 }; | 1481 }; |
1482 | 1482 |
1483 } // namespace content | 1483 } // namespace content |
1484 | 1484 |
1485 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1485 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |