Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(483)

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 2364943002: Create NavigationHandles for interstitials if needed (Closed)
Patch Set: Fixed Android issue Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 void DidStartNavigationToPendingEntry(const GURL& url, 604 void DidStartNavigationToPendingEntry(const GURL& url,
605 ReloadType reload_type) override; 605 ReloadType reload_type) override;
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(
615 NavigationHandle* navigation_handle) override;
614 616
615 // RenderWidgetHostDelegate -------------------------------------------------- 617 // RenderWidgetHostDelegate --------------------------------------------------
616 618
617 void RenderWidgetCreated(RenderWidgetHostImpl* render_widget_host) override; 619 void RenderWidgetCreated(RenderWidgetHostImpl* render_widget_host) override;
618 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override; 620 void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override;
619 void RenderWidgetGotFocus(RenderWidgetHostImpl* render_widget_host) override; 621 void RenderWidgetGotFocus(RenderWidgetHostImpl* render_widget_host) override;
620 void RenderWidgetWasResized(RenderWidgetHostImpl* render_widget_host, 622 void RenderWidgetWasResized(RenderWidgetHostImpl* render_widget_host,
621 bool width_changed) override; 623 bool width_changed) override;
622 void ResizeDueToAutoResize(RenderWidgetHostImpl* render_widget_host, 624 void ResizeDueToAutoResize(RenderWidgetHostImpl* render_widget_host,
623 const gfx::Size& new_size) override; 625 const gfx::Size& new_size) override;
(...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after
1477 // Adds/removes a callback called on creation of each new WebContents. 1479 // Adds/removes a callback called on creation of each new WebContents.
1478 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1480 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1479 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1481 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1480 1482
1481 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1483 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1482 }; 1484 };
1483 1485
1484 } // namespace content 1486 } // namespace content
1485 1487
1486 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1488 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/loader/url_loader_factory_impl_unittest.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698