OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |