Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_COMMON_FAVICON_TYPES_H_ | |
| 6 #define CHROME_COMMON_FAVICON_TYPES_H_ | |
| 7 | |
| 8 namespace chrome { | |
| 9 | |
| 10 // 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.
| |
| 11 // table. | |
| 12 // The values of the IconTypes are used to select the priority in which favicon | |
| 13 // data is returned in HistoryBackend and ThumbnailDatabase. Data for the | |
| 14 // largest IconType takes priority if data for multiple IconTypes is available. | |
| 15 enum IconType { | |
| 16 INVALID_ICON = 0x0, | |
| 17 FAVICON = 1 << 0, | |
| 18 TOUCH_ICON = 1 << 1, | |
| 19 TOUCH_PRECOMPOSED_ICON = 1 << 2 | |
| 20 }; | |
| 21 | |
| 22 } // namespace chrome | |
| 23 | |
| 24 #endif // CHROME_COMMON_FAVICON_TYPES_H_ | |
| OLD | NEW |