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

Side by Side Diff: content/browser/frame_host/navigator_delegate.h

Issue 218093002: Ensure fullscreen mode is exited for same-site navigations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/frame_host/navigator_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FRAME_HOST_NAVIGATOR_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "content/public/browser/invalidate_type.h" 9 #include "content/public/browser/invalidate_type.h"
10 #include "content/public/browser/navigation_controller.h" 10 #include "content/public/browser/navigation_controller.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 const GURL& validated_target_url) {} 52 const GURL& validated_target_url) {}
53 53
54 // A navigation was committed in |render_frame_host|. 54 // A navigation was committed in |render_frame_host|.
55 virtual void DidCommitProvisionalLoad( 55 virtual void DidCommitProvisionalLoad(
56 RenderFrameHostImpl* render_frame_host, 56 RenderFrameHostImpl* render_frame_host,
57 const base::string16& frame_unique_name, 57 const base::string16& frame_unique_name,
58 bool is_main_frame, 58 bool is_main_frame,
59 const GURL& url, 59 const GURL& url,
60 PageTransition transition_type) {} 60 PageTransition transition_type) {}
61 61
62 // Handles post-navigation tasks in navigation BEFORE the entry has been
63 // committed to the NavigationController.
64 virtual void DidNavigateMainFramePreCommit(
65 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) {}
66
62 // Handles post-navigation tasks in navigation AFTER the entry has been 67 // Handles post-navigation tasks in navigation AFTER the entry has been
63 // committed to the NavigationController. Note that the NavigationEntry is 68 // committed to the NavigationController. Note that the NavigationEntry is
64 // not provided since it may be invalid/changed after being committed. The 69 // not provided since it may be invalid/changed after being committed. The
65 // NavigationController's last committed entry is for this navigation. 70 // NavigationController's last committed entry is for this navigation.
66 virtual void DidNavigateMainFramePostCommit( 71 virtual void DidNavigateMainFramePostCommit(
67 const LoadCommittedDetails& details, 72 const LoadCommittedDetails& details,
68 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) {} 73 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) {}
69 virtual void DidNavigateAnyFramePostCommit( 74 virtual void DidNavigateAnyFramePostCommit(
70 RenderFrameHostImpl* render_frame_host, 75 RenderFrameHostImpl* render_frame_host,
71 const LoadCommittedDetails& details, 76 const LoadCommittedDetails& details,
(...skipping 20 matching lines...) Expand all
92 97
93 // Opens a URL with the given parameters. See PageNavigator::OpenURL, which 98 // Opens a URL with the given parameters. See PageNavigator::OpenURL, which
94 // this forwards to. 99 // this forwards to.
95 virtual void RequestOpenURL(RenderFrameHostImpl* render_frame_host, 100 virtual void RequestOpenURL(RenderFrameHostImpl* render_frame_host,
96 const OpenURLParams& params) {} 101 const OpenURLParams& params) {}
97 }; 102 };
98 103
99 } // namspace content 104 } // namspace content
100 105
101 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ 106 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/navigator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698