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

Unified Diff: chrome/renderer/searchbox/searchbox.h

Issue 2873383002: Remove unused instant support for chrome://large-icon and chrome://fallback-icon (Closed)
Patch Set: Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | chrome/renderer/searchbox/searchbox.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/searchbox/searchbox.h
diff --git a/chrome/renderer/searchbox/searchbox.h b/chrome/renderer/searchbox/searchbox.h
index 9172ad4c253b337eb4a2dc5a361704cabc5b6b88..40679545ec8f6958a4d42e5c517607473f5e04b7 100644
--- a/chrome/renderer/searchbox/searchbox.h
+++ b/chrome/renderer/searchbox/searchbox.h
@@ -30,8 +30,6 @@ class SearchBox : public content::RenderFrameObserver,
enum ImageSourceType {
NONE = -1,
FAVICON,
- LARGE_ICON,
- FALLBACK_ICON,
THUMB
};
@@ -77,18 +75,11 @@ class SearchBox : public content::RenderFrameObserver,
// |transient_url|. If |transient_url| is valid, |url| with a translated URL
// and returns true. Otherwise it depends on |type|:
// - FAVICON: Returns true and renders an URL to display the default favicon.
- // - LARGE_ICON and FALLBACK_ICON: Returns false.
//
// For |type| == FAVICON, valid forms of |transient_url|:
// chrome-search://favicon/<view_id>/<restricted_id>
// chrome-search://favicon/<favicon_parameters>/<view_id>/<restricted_id>
//
- // For |type| == LARGE_ICON, valid form of |transient_url|:
- // chrome-search://large-icon/<size>/<view_id>/<restricted_id>
- //
- // For |type| == FALLBACK_ICON, valid form of |transient_url|:
- // chrome-search://fallback-icon/<icon specs>/<view_id>/<restricted_id>
- //
// For |type| == THUMB, valid form of |transient_url|:
// chrome-search://thumb/<render_view_id>/<most_visited_item_id>
//
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | chrome/renderer/searchbox/searchbox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698