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

Side by Side Diff: content/public/android/java/src/org/chromium/content_public/browser/NavigationController.java

Issue 577353002: [Android] Expose GetPendingEntry from NavigationController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Comments Created 6 years, 3 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
« no previous file with comments | « content/public/android/java/src/org/chromium/content/browser/framehost/NavigationControllerImpl.java ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 package org.chromium.content_public.browser; 5 package org.chromium.content_public.browser;
6 6
7 /** 7 /**
8 * The NavigationController Java wrapper to allow communicating with the native 8 * The NavigationController Java wrapper to allow communicating with the native
9 * NavigationController object. 9 * NavigationController object.
10 */ 10 */
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 * @return true, if use a desktop user agent and false for a mobile one. 125 * @return true, if use a desktop user agent and false for a mobile one.
126 */ 126 */
127 public boolean getUseDesktopUserAgent(); 127 public boolean getUseDesktopUserAgent();
128 128
129 /** 129 /**
130 * Set whether or not we're using a desktop user agent for the currently loa ded page. 130 * Set whether or not we're using a desktop user agent for the currently loa ded page.
131 * @param override If true, use a desktop user agent. Use a mobile one othe rwise. 131 * @param override If true, use a desktop user agent. Use a mobile one othe rwise.
132 * @param reloadOnChange Reload the page if the UA has changed. 132 * @param reloadOnChange Reload the page if the UA has changed.
133 */ 133 */
134 public void setUseDesktopUserAgent(boolean override, boolean reloadOnChange) ; 134 public void setUseDesktopUserAgent(boolean override, boolean reloadOnChange) ;
135
136 /**
137 * @return The pending {@link NavigationEntry} for this controller or {@code null} if none
138 * exists.
139 */
140 public NavigationEntry getPendingEntry();
135 } 141 }
OLDNEW
« no previous file with comments | « content/public/android/java/src/org/chromium/content/browser/framehost/NavigationControllerImpl.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698