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.common.Referrer; |
10 | 10 |
11 /** | 11 /** |
12 * A delegate responsible for taking actions based on context menu selections. | 12 * A delegate responsible for taking actions based on context menu selections. |
13 */ | 13 */ |
14 public interface ChromeContextMenuItemDelegate { | 14 public interface ChromeContextMenuItemDelegate { |
15 /** | 15 /** |
16 * @return Whether or not this context menu is being shown for an incognito | 16 * @return Whether or not this context menu is being shown for an incognito |
17 * {@link ContentViewCore}. | 17 * {@link ContentViewCore}. |
18 */ | 18 */ |
19 boolean isIncognito(); | 19 boolean isIncognito(); |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 /** | 79 /** |
80 * Called when a search by image should be performed in a new tab. | 80 * Called when a search by image should be performed in a new tab. |
81 */ | 81 */ |
82 void onSearchByImageInNewTab(); | 82 void onSearchByImageInNewTab(); |
83 | 83 |
84 /** | 84 /** |
85 * @return page url. | 85 * @return page url. |
86 */ | 86 */ |
87 String getPageUrl(); | 87 String getPageUrl(); |
88 } | 88 } |
OLD | NEW |