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; | 7 import org.chromium.chrome.browser.Tab; |
8 import org.chromium.content.browser.ContentViewCore; | 8 import org.chromium.content.browser.ContentViewCore; |
9 import org.chromium.content_public.Referrer; | 9 import org.chromium.content_public.Referrer; |
10 | 10 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 * Called when the {@code url} is of an image and a link to the image should
be saved to the | 72 * Called when the {@code url} is of an image and a link to the image should
be saved to the |
73 * clipboard. | 73 * clipboard. |
74 * @param url The image URL. | 74 * @param url The image URL. |
75 */ | 75 */ |
76 void onSaveImageToClipboard(String url); | 76 void onSaveImageToClipboard(String url); |
77 | 77 |
78 /** | 78 /** |
79 * Called when a search by image should be performed in a new tab. | 79 * Called when a search by image should be performed in a new tab. |
80 */ | 80 */ |
81 void onSearchByImageInNewTab(); | 81 void onSearchByImageInNewTab(); |
| 82 |
| 83 /** |
| 84 * @return page url. |
| 85 */ |
| 86 String getPageUrl(); |
82 } | 87 } |
OLD | NEW |