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

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

Issue 2666193002: Switch RenderViewContextMenu to use RequestOpenURL (Closed)
Patch Set: Address Charlie's comments Created 3 years, 10 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 572 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; 583 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override;
584 void DidNavigateAnyFramePostCommit( 584 void DidNavigateAnyFramePostCommit(
585 RenderFrameHostImpl* render_frame_host, 585 RenderFrameHostImpl* render_frame_host,
586 const LoadCommittedDetails& details, 586 const LoadCommittedDetails& details,
587 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; 587 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override;
588 void SetMainFrameMimeType(const std::string& mime_type) override; 588 void SetMainFrameMimeType(const std::string& mime_type) override;
589 bool CanOverscrollContent() const override; 589 bool CanOverscrollContent() const override;
590 void NotifyChangedNavigationState(InvalidateTypes changed_flags) override; 590 void NotifyChangedNavigationState(InvalidateTypes changed_flags) override;
591 void DidStartNavigationToPendingEntry(const GURL& url, 591 void DidStartNavigationToPendingEntry(const GURL& url,
592 ReloadType reload_type) override; 592 ReloadType reload_type) override;
593 void RequestOpenURL(RenderFrameHostImpl* render_frame_host,
594 const OpenURLParams& params) override;
595 bool ShouldTransferNavigation(bool is_main_frame_navigation) override; 593 bool ShouldTransferNavigation(bool is_main_frame_navigation) override;
596 bool ShouldPreserveAbortedURLs() override; 594 bool ShouldPreserveAbortedURLs() override;
597 void DidStartLoading(FrameTreeNode* frame_tree_node, 595 void DidStartLoading(FrameTreeNode* frame_tree_node,
598 bool to_different_document) override; 596 bool to_different_document) override;
599 void DidStopLoading() override; 597 void DidStopLoading() override;
600 void DidChangeLoadProgress() override; 598 void DidChangeLoadProgress() override;
601 std::vector<std::unique_ptr<NavigationThrottle>> CreateThrottlesForNavigation( 599 std::vector<std::unique_ptr<NavigationThrottle>> CreateThrottlesForNavigation(
602 NavigationHandle* navigation_handle) override; 600 NavigationHandle* navigation_handle) override;
603 std::unique_ptr<NavigationUIData> GetNavigationUIData( 601 std::unique_ptr<NavigationUIData> GetNavigationUIData(
604 NavigationHandle* navigation_handle) override; 602 NavigationHandle* navigation_handle) override;
(...skipping 903 matching lines...) Expand 10 before | Expand all | Expand 10 after
1508 // Adds/removes a callback called on creation of each new WebContents. 1506 // Adds/removes a callback called on creation of each new WebContents.
1509 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1507 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1510 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1508 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1511 1509
1512 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1510 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1513 }; 1511 };
1514 1512
1515 } // namespace content 1513 } // namespace content
1516 1514
1517 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1515 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698