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 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 RenderFrameHostImpl* render_frame_host, | 517 RenderFrameHostImpl* render_frame_host, |
518 const LoadCommittedDetails& details, | 518 const LoadCommittedDetails& details, |
519 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; | 519 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; |
520 void SetMainFrameMimeType(const std::string& mime_type) override; | 520 void SetMainFrameMimeType(const std::string& mime_type) override; |
521 bool CanOverscrollContent() const override; | 521 bool CanOverscrollContent() const override; |
522 void NotifyChangedNavigationState(InvalidateTypes changed_flags) override; | 522 void NotifyChangedNavigationState(InvalidateTypes changed_flags) override; |
523 void AboutToNavigateRenderFrame( | 523 void AboutToNavigateRenderFrame( |
524 RenderFrameHostImpl* old_host, | 524 RenderFrameHostImpl* old_host, |
525 RenderFrameHostImpl* new_host) override; | 525 RenderFrameHostImpl* new_host) override; |
526 void DidStartNavigationToPendingEntry( | 526 void DidStartNavigationToPendingEntry( |
527 RenderFrameHostImpl* render_frame_host, | |
528 const GURL& url, | 527 const GURL& url, |
529 NavigationController::ReloadType reload_type) override; | 528 NavigationController::ReloadType reload_type) override; |
530 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, | 529 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, |
531 const OpenURLParams& params) override; | 530 const OpenURLParams& params) override; |
532 bool ShouldPreserveAbortedURLs() override; | 531 bool ShouldPreserveAbortedURLs() override; |
533 | 532 |
534 // RenderWidgetHostDelegate -------------------------------------------------- | 533 // RenderWidgetHostDelegate -------------------------------------------------- |
535 | 534 |
536 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; | 535 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; |
537 void RenderWidgetGotFocus(RenderWidgetHostImpl* render_widget_host) override; | 536 void RenderWidgetGotFocus(RenderWidgetHostImpl* render_widget_host) override; |
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1267 // Adds/removes a callback called on creation of each new WebContents. | 1266 // Adds/removes a callback called on creation of each new WebContents. |
1268 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1267 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1269 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1268 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1270 | 1269 |
1271 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1270 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1272 }; | 1271 }; |
1273 | 1272 |
1274 } // namespace content | 1273 } // namespace content |
1275 | 1274 |
1276 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1275 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |