| 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.content_public.Referrer; | 7 import org.chromium.content_public.common.Referrer; |
| 8 | 8 |
| 9 /** | 9 /** |
| 10 * An empty implementation of {@link ChromeContextMenuItemDelegate} to make over
riding subsets of | 10 * An empty implementation of {@link ChromeContextMenuItemDelegate} to make over
riding subsets of |
| 11 * the delegate methods easier. | 11 * the delegate methods easier. |
| 12 */ | 12 */ |
| 13 public class EmptyChromeContextMenuItemDelegate implements ChromeContextMenuItem
Delegate { | 13 public class EmptyChromeContextMenuItemDelegate implements ChromeContextMenuItem
Delegate { |
| 14 @Override | 14 @Override |
| 15 public boolean isIncognito() { | 15 public boolean isIncognito() { |
| 16 return false; | 16 return false; |
| 17 } | 17 } |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 | 57 |
| 58 @Override | 58 @Override |
| 59 public void onSearchByImageInNewTab() { | 59 public void onSearchByImageInNewTab() { |
| 60 } | 60 } |
| 61 | 61 |
| 62 @Override | 62 @Override |
| 63 public String getPageUrl() { | 63 public String getPageUrl() { |
| 64 return ""; | 64 return ""; |
| 65 } | 65 } |
| 66 } | 66 } |
| OLD | NEW |