OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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.blimp_public.contents; | 5 package org.chromium.blimp_public.contents; |
6 | 6 |
7 /** | 7 /** |
8 * BlimpNavigationController is the Java representation of a native BlimpNavigat
ionController | 8 * BlimpNavigationController is the Java representation of a native BlimpNavigat
ionController |
9 * object. | 9 * object. |
10 * | 10 * |
(...skipping 10 matching lines...) Expand all Loading... |
21 * @param url the URL to start navigation to. | 21 * @param url the URL to start navigation to. |
22 */ | 22 */ |
23 void loadUrl(String url); | 23 void loadUrl(String url); |
24 | 24 |
25 /** | 25 /** |
26 * Retrieves the URL of the currently selected item in the navigation list. | 26 * Retrieves the URL of the currently selected item in the navigation list. |
27 */ | 27 */ |
28 String getUrl(); | 28 String getUrl(); |
29 | 29 |
30 /** | 30 /** |
| 31 * Returns the title of the currently visible page. |
| 32 */ |
| 33 String getTitle(); |
| 34 |
| 35 /** |
31 * @return Whether back navigation is possible from the "current entry". | 36 * @return Whether back navigation is possible from the "current entry". |
32 */ | 37 */ |
33 boolean canGoBack(); | 38 boolean canGoBack(); |
34 | 39 |
35 /** | 40 /** |
36 * @return Whether forward navigation is possible from the "current entry". | 41 * @return Whether forward navigation is possible from the "current entry". |
37 */ | 42 */ |
38 boolean canGoForward(); | 43 boolean canGoForward(); |
39 | 44 |
40 /** | 45 /** |
41 * Goes to the navigation entry before the current one. | 46 * Goes to the navigation entry before the current one. |
42 */ | 47 */ |
43 void goBack(); | 48 void goBack(); |
44 | 49 |
45 /** | 50 /** |
46 * Goes to the navigation entry following the current one. | 51 * Goes to the navigation entry following the current one. |
47 */ | 52 */ |
48 void goForward(); | 53 void goForward(); |
49 | 54 |
50 /** | 55 /** |
51 * Reload the current page. If |checkForRepost| is true and the current entr
y has POST data the | 56 * Reload the current page. If |checkForRepost| is true and the current entr
y has POST data the |
52 * user is prompted to see if they really want to reload the page. In nearly
all cases pass in | 57 * user is prompted to see if they really want to reload the page. In nearly
all cases pass in |
53 * true. | 58 * true. |
54 * @param checkForRepost Prompts the user if they want to reload the page. | 59 * @param checkForRepost Prompts the user if they want to reload the page. |
55 */ | 60 */ |
56 public void reload(boolean checkForRepost); | 61 public void reload(boolean checkForRepost); |
57 } | 62 } |
OLD | NEW |