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

Unified Diff: extensions/browser/guest_view/web_view/web_view_guest.h

Issue 890183002: Allow Signin page to open other chrome:// URLs if login content in <webview> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 5 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 side-by-side diff with in-line comments
Download patch
Index: extensions/browser/guest_view/web_view/web_view_guest.h
diff --git a/extensions/browser/guest_view/web_view/web_view_guest.h b/extensions/browser/guest_view/web_view/web_view_guest.h
index 537f30118cecf7cd23f7eaa1bea84320b11db690..b05e5d65f472cb76eb25e5d3023d8c30574c634c 100644
--- a/extensions/browser/guest_view/web_view/web_view_guest.h
+++ b/extensions/browser/guest_view/web_view/web_view_guest.h
@@ -285,10 +285,12 @@ class WebViewGuest : public GuestView<WebViewGuest>,
static void RemoveWebViewStateFromIOThread(
content::WebContents* web_contents);
+ // Loads the |url| provided. |force_navigation| indicates whether to reload
+ // the content if the provided |url| matches the current page of the guest.
void LoadURLWithParams(const GURL& url,
const content::Referrer& referrer,
ui::PageTransition transition_type,
- content::WebContents* web_contents);
+ bool force_navigation);
void RequestNewWindowPermission(
WindowOpenDisposition disposition,
« no previous file with comments | « extensions/browser/guest_view/test_guest_view_manager.h ('k') | extensions/browser/guest_view/web_view/web_view_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698