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

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

Issue 2375623003: Revert of Allow top-level navigation in extension pop-ups if it only triggers a download. (Closed)
Patch Set: 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 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigator_impl.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