Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuItemDelegate.java

Issue 584523003: Create org.chromium.content_public.common and move two classes there. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use_display_in_shortcuthelper
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698