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

Unified Diff: chrome/common/favicon_types.h

Issue 15388002: Supporting high dpi favicons in Instant Extended. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/chrome_common.gypi ('k') | chrome/common/favicon_url_parser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/favicon_types.h
diff --git a/chrome/common/favicon_types.h b/chrome/common/favicon_types.h
new file mode 100644
index 0000000000000000000000000000000000000000..ca583985696ee4cd012a54206bd42517f09f5936
--- /dev/null
+++ b/chrome/common/favicon_types.h
@@ -0,0 +1,24 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_COMMON_FAVICON_TYPES_H_
+#define CHROME_COMMON_FAVICON_TYPES_H_
+
+namespace chrome {
+
+// Defines the icon types. They are also stored in icon_type field of favicons
James Hawkins 2013/06/27 21:44:32 Why is this in chrome/common?
pedro (no code reviews) 2013/06/27 23:02:47 This used to be in chrome/browser/favicon, but we
James Hawkins 2013/06/27 23:04:40 That's fine.
+// table.
+// The values of the IconTypes are used to select the priority in which favicon
+// data is returned in HistoryBackend and ThumbnailDatabase. Data for the
+// largest IconType takes priority if data for multiple IconTypes is available.
+enum IconType {
+ INVALID_ICON = 0x0,
+ FAVICON = 1 << 0,
+ TOUCH_ICON = 1 << 1,
+ TOUCH_PRECOMPOSED_ICON = 1 << 2
+};
+
+} // namespace chrome
+
+#endif // CHROME_COMMON_FAVICON_TYPES_H_
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/common/favicon_url_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698