Removing uses of X11 native key events.
[chromium-blink-merge.git] / content / public / common / favicon_url.h
blob141925b099b07e7cdec788fac3b614db82761f40
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
3 // found in the LICENSE file.
5 #ifndef CONTENT_PUBLIC_COMMON_FAVICON_URL_
6 #define CONTENT_PUBLIC_COMMON_FAVICON_URL_
8 #include <vector>
10 #include "content/common/content_export.h"
11 #include "ui/gfx/geometry/size.h"
12 #include "url/gurl.h"
14 namespace content {
16 // The favicon url from the render.
17 struct CONTENT_EXPORT FaviconURL {
18 // The icon type in a page. The definition must be same as
19 // favicon_base::IconType.
20 enum IconType {
21 INVALID_ICON = 0x0,
22 FAVICON = 1 << 0,
23 TOUCH_ICON = 1 << 1,
24 TOUCH_PRECOMPOSED_ICON = 1 << 2
27 FaviconURL();
28 FaviconURL(const GURL& url,
29 IconType type,
30 const std::vector<gfx::Size>& sizes);
31 ~FaviconURL();
33 // The url of the icon.
34 GURL icon_url;
36 // The type of the icon
37 IconType icon_type;
39 // Icon's bitmaps' size
40 std::vector<gfx::Size> icon_sizes;
43 } // namespace content
45 #endif // CONTENT_PUBLIC_COMMON_FAVICON_URL_