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

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

Issue 396063009: Context Menu "Open image" doesn't make sense in a Image URL Tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated comment as suggested Created 6 years, 5 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.Referrer;
10 10
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698