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

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

Issue 1624583003: Reload Lo-Fi images inline instead of reloading the whole page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added comment Created 4 years, 10 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.Tab; 7 import org.chromium.chrome.browser.tab.Tab;
8 import org.chromium.content.browser.ContentViewCore; 8 import org.chromium.content.browser.ContentViewCore;
9 import org.chromium.content_public.common.Referrer; 9 import org.chromium.content_public.common.Referrer;
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 */ 56 */
57 void onOpenInNewIncognitoTab(String url); 57 void onOpenInNewIncognitoTab(String url);
58 58
59 /** 59 /**
60 * Called when the {@code url} is of an image and should be opened in the sa me tab. 60 * Called when the {@code url} is of an image and should be opened in the sa me tab.
61 * @param url The image URL to open. 61 * @param url The image URL to open.
62 */ 62 */
63 void onOpenImageUrl(String url, Referrer referrer); 63 void onOpenImageUrl(String url, Referrer referrer);
64 64
65 /** 65 /**
66 * Called when the page should be reloaded with Lo-Fi disabled. 66 * Reloads all the Lo-Fi images in a Tab.
67 */ 67 */
68 void onReloadDisableLoFi(); 68 void onReloadLoFiImages();
69 69
70 /** 70 /**
71 * Called when the original image should be loaded. 71 * Called when the original image should be loaded.
72 */ 72 */
73 void onLoadOriginalImage(); 73 void onLoadOriginalImage();
74 74
75 /** 75 /**
76 * Called when the {@code text} should be saved to the clipboard. 76 * Called when the {@code text} should be saved to the clipboard.
77 * @param text The text to save to the clipboard. 77 * @param text The text to save to the clipboard.
78 * @param clipboardType The type of data in {@code text}. 78 * @param clipboardType The type of data in {@code text}.
79 */ 79 */
80 void onSaveToClipboard(String text, int clipboardType); 80 void onSaveToClipboard(String text, int clipboardType);
81 81
82 /** 82 /**
83 * @return page url. 83 * @return page url.
84 */ 84 */
85 String getPageUrl(); 85 String getPageUrl();
86 86
87 /** 87 /**
88 * Called when a link should be opened in the main Chrome browser. 88 * Called when a link should be opened in the main Chrome browser.
89 * @param linkUrl URL that should be opened. 89 * @param linkUrl URL that should be opened.
90 * @param pageUrl URL of the current page. 90 * @param pageUrl URL of the current page.
91 */ 91 */
92 void onOpenInChrome(String linkUrl, String pageUrl); 92 void onOpenInChrome(String linkUrl, String pageUrl);
93 } 93 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698