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
3 // found in the LICENSE file.
5 package org.chromium.chrome.browser.contextmenu;
7 import org.chromium.content_public.Referrer;
10 * An empty implementation of {@link ChromeContextMenuItemDelegate} to make overriding subsets of
11 * the delegate methods easier.
13 public class EmptyChromeContextMenuItemDelegate implements ChromeContextMenuItemDelegate {
15 public boolean isIncognito() {
20 public boolean isIncognitoSupported() {
25 public boolean canLoadOriginalImage() {
30 public boolean startDownload(boolean isLink) {
35 public void onOpenInNewTab(String url, Referrer referrer) {
39 public void onOpenInNewIncognitoTab(String url) {
43 public void onOpenImageUrl(String url, Referrer referrer) {
47 public void onOpenImageInNewTab(String url, Referrer referrer) {
51 public void onSaveToClipboard(String text, boolean isUrl) {
55 public void onSaveImageToClipboard(String url) {
59 public void onSearchByImageInNewTab() {
63 public String getPageUrl() {