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

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: Moving reusable pieces to chrome/common Created 7 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
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..cea3c7046e67a46479109f6e84eaa4a8df2d8e59
--- /dev/null
+++ b/chrome/common/favicon_types.h
@@ -0,0 +1,24 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
sreeram 2013/06/04 22:01:56 No "(c)".
pedro (no code reviews) 2013/06/07 23:34:21 Done.
+// 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
+// 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_

Powered by Google App Engine
This is Rietveld 408576698