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

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

Issue 2938313002: Don't show current RenderWidgetHostView while interstitial is showing. (Closed)
Patch Set: Fix typo. Created 3 years, 6 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 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 virtual std::vector<std::unique_ptr<NavigationThrottle>> 120 virtual std::vector<std::unique_ptr<NavigationThrottle>>
121 CreateThrottlesForNavigation(NavigationHandle* navigation_handle); 121 CreateThrottlesForNavigation(NavigationHandle* navigation_handle);
122 122
123 // PlzNavigate 123 // PlzNavigate
124 // Called at the start of the navigation to get opaque data the embedder 124 // Called at the start of the navigation to get opaque data the embedder
125 // wants to see passed to the corresponding URLRequest on the IO thread. 125 // wants to see passed to the corresponding URLRequest on the IO thread.
126 // In the case of a navigation to an interstitial, no call will be made to the 126 // In the case of a navigation to an interstitial, no call will be made to the
127 // embedder and |nullptr| is returned. 127 // embedder and |nullptr| is returned.
128 virtual std::unique_ptr<NavigationUIData> GetNavigationUIData( 128 virtual std::unique_ptr<NavigationUIData> GetNavigationUIData(
129 NavigationHandle* navigation_handle); 129 NavigationHandle* navigation_handle);
130
131 // Whether the delegate is displaying an interstitial page over the current
132 // page.
133 virtual bool ShowingInterstitialPage() const = 0;
130 }; 134 };
131 135
132 } // namspace content 136 } // namspace content
133 137
134 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_ 138 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/interstitial_page_impl_browsertest.cc ('k') | content/browser/frame_host/navigator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698