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

Side by Side Diff: content/public/common/favicon_url.h

Issue 11416179: Move chrome/common/favicon_url.(cc|h) into content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/content_common.gypi ('k') | content/public/common/favicon_url.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_FAVICON_URL_ 5 #ifndef CONTENT_PUBLIC_COMMON_FAVICON_URL_
6 #define CHROME_COMMON_FAVICON_URL_ 6 #define CONTENT_PUBLIC_COMMON_FAVICON_URL_
7 7
8 #include "googleurl/src/gurl.h" 8 #include "googleurl/src/gurl.h"
9 9
10 namespace content {
11
10 // The favicon url from the render. 12 // The favicon url from the render.
11 struct FaviconURL { 13 struct FaviconURL {
12 // The icon type in a page. The definition must be same as history::IconType. 14 // The icon type in a page. The definition must be same as history::IconType.
13 enum IconType { 15 enum IconType {
14 INVALID_ICON = 0x0, 16 INVALID_ICON = 0x0,
15 FAVICON = 1 << 0, 17 FAVICON = 1 << 0,
16 TOUCH_ICON = 1 << 1, 18 TOUCH_ICON = 1 << 1,
17 TOUCH_PRECOMPOSED_ICON = 1 << 2 19 TOUCH_PRECOMPOSED_ICON = 1 << 2
18 }; 20 };
19 21
20 FaviconURL(); 22 FaviconURL();
21 FaviconURL(const GURL& url, IconType type); 23 FaviconURL(const GURL& url, IconType type);
22 ~FaviconURL(); 24 ~FaviconURL();
23 25
24 // The url of the icon. 26 // The url of the icon.
25 GURL icon_url; 27 GURL icon_url;
26 28
27 // The type of the icon 29 // The type of the icon
28 IconType icon_type; 30 IconType icon_type;
29 }; 31 };
30 32
31 #endif // CHROME_COMMON_FAVICON_URL_ 33 } // namespace content
34
35 #endif // CONTENT_PUBLIC_COMMON_FAVICON_URL_
OLDNEW
« no previous file with comments | « content/content_common.gypi ('k') | content/public/common/favicon_url.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698