| OLD | NEW |
| 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 package org.chromium.chrome.browser.contextmenu; | 5 package org.chromium.chrome.browser.contextmenu; |
| 6 | 6 |
| 7 import org.chromium.chrome.browser.tab.Tab; | 7 import org.chromium.chrome.browser.tab.Tab; |
| 8 import org.chromium.content.browser.ContentViewCore; | 8 import org.chromium.content.browser.ContentViewCore; |
| 9 import org.chromium.content_public.common.Referrer; | 9 import org.chromium.content_public.common.Referrer; |
| 10 | 10 |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 * @return page url. | 101 * @return page url. |
| 102 */ | 102 */ |
| 103 String getPageUrl(); | 103 String getPageUrl(); |
| 104 | 104 |
| 105 /** | 105 /** |
| 106 * Called when a link should be opened in the main Chrome browser. | 106 * Called when a link should be opened in the main Chrome browser. |
| 107 * @param linkUrl URL that should be opened. | 107 * @param linkUrl URL that should be opened. |
| 108 * @param pageUrl URL of the current page. | 108 * @param pageUrl URL of the current page. |
| 109 */ | 109 */ |
| 110 void onOpenInChrome(String linkUrl, String pageUrl); | 110 void onOpenInChrome(String linkUrl, String pageUrl); |
| 111 |
| 112 /** |
| 113 * Called to queue a task to sometime later make an offline page for this ur
l. |
| 114 */ |
| 115 void onSavePageLater(String linkUrl); |
| 111 } | 116 } |
| OLD | NEW |