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

Unified Diff: content/public/common/favicon_url.h

Issue 2918903002: Move IconURLs method from WebFrame to WebLocalFrame (Closed)
Patch Set: s/kFavIcon/kFavicon/g (as suggested in CR feedback from pkotwicz@). Created 3 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 | « content/common/view_messages.h ('k') | content/public/common/favicon_url.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/favicon_url.h
diff --git a/content/public/common/favicon_url.h b/content/public/common/favicon_url.h
index 349fc8785ae43001126f51ad39024e25d911e21a..e9cec545b6f1ecf4038d8946ffec4dd6b3984e5a 100644
--- a/content/public/common/favicon_url.h
+++ b/content/public/common/favicon_url.h
@@ -17,11 +17,12 @@ namespace content {
struct CONTENT_EXPORT FaviconURL {
// The icon type in a page. The definition must be same as
// favicon_base::IconType.
- enum IconType {
- INVALID_ICON = 0x0,
- FAVICON = 1 << 0,
- TOUCH_ICON = 1 << 1,
- TOUCH_PRECOMPOSED_ICON = 1 << 2
+ enum class IconType {
+ kInvalid,
+ kFavicon,
+ kTouchIcon,
+ kTouchPrecomposedIcon,
+ kMax = kTouchPrecomposedIcon,
};
FaviconURL();
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/common/favicon_url.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698