OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 16 matching lines...) Expand all Loading... |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef WebIconURL_h | 31 #ifndef WebIconURL_h |
32 #define WebIconURL_h | 32 #define WebIconURL_h |
33 | 33 |
34 #if BLINK_IMPLEMENTATION | 34 #if BLINK_IMPLEMENTATION |
35 #include "core/dom/IconURL.h" | 35 #include "core/dom/IconURL.h" |
36 #endif | 36 #endif |
37 #include "../platform/WebURL.h" | 37 #include "public/platform/WebURL.h" |
38 | 38 |
39 namespace blink { | 39 namespace blink { |
40 | 40 |
41 class WebIconURL { | 41 class WebIconURL { |
42 public: | 42 public: |
43 enum Type { | 43 enum Type { |
44 TypeInvalid = 0, | 44 TypeInvalid = 0, |
45 TypeFavicon = 1 << 0, | 45 TypeFavicon = 1 << 0, |
46 TypeTouch = 1 << 1, | 46 TypeTouch = 1 << 1, |
47 TypeTouchPrecomposed = 1 << 2 | 47 TypeTouchPrecomposed = 1 << 2 |
(...skipping 29 matching lines...) Expand all Loading... |
77 #endif | 77 #endif |
78 | 78 |
79 private: | 79 private: |
80 Type m_iconType; | 80 Type m_iconType; |
81 WebURL m_iconURL; | 81 WebURL m_iconURL; |
82 }; | 82 }; |
83 | 83 |
84 } | 84 } |
85 | 85 |
86 #endif // WebIconURL_h | 86 #endif // WebIconURL_h |
OLD | NEW |