OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_INSTANT_TYPES_H_ | 5 #ifndef CHROME_COMMON_INSTANT_TYPES_H_ |
6 #define CHROME_COMMON_INSTANT_TYPES_H_ | 6 #define CHROME_COMMON_INSTANT_TYPES_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 20 matching lines...) Expand all Loading... |
31 std::string metadata; | 31 std::string metadata; |
32 }; | 32 }; |
33 | 33 |
34 // The alignment of the theme background image. | 34 // The alignment of the theme background image. |
35 enum ThemeBackgroundImageAlignment { | 35 enum ThemeBackgroundImageAlignment { |
36 THEME_BKGRND_IMAGE_ALIGN_CENTER, | 36 THEME_BKGRND_IMAGE_ALIGN_CENTER, |
37 THEME_BKGRND_IMAGE_ALIGN_LEFT, | 37 THEME_BKGRND_IMAGE_ALIGN_LEFT, |
38 THEME_BKGRND_IMAGE_ALIGN_TOP, | 38 THEME_BKGRND_IMAGE_ALIGN_TOP, |
39 THEME_BKGRND_IMAGE_ALIGN_RIGHT, | 39 THEME_BKGRND_IMAGE_ALIGN_RIGHT, |
40 THEME_BKGRND_IMAGE_ALIGN_BOTTOM, | 40 THEME_BKGRND_IMAGE_ALIGN_BOTTOM, |
| 41 |
| 42 THEME_BKGRND_IMAGE_ALIGN_LAST = THEME_BKGRND_IMAGE_ALIGN_BOTTOM, |
41 }; | 43 }; |
42 | 44 |
43 // The tiling of the theme background image. | 45 // The tiling of the theme background image. |
44 enum ThemeBackgroundImageTiling { | 46 enum ThemeBackgroundImageTiling { |
45 THEME_BKGRND_IMAGE_NO_REPEAT, | 47 THEME_BKGRND_IMAGE_NO_REPEAT, |
46 THEME_BKGRND_IMAGE_REPEAT_X, | 48 THEME_BKGRND_IMAGE_REPEAT_X, |
47 THEME_BKGRND_IMAGE_REPEAT_Y, | 49 THEME_BKGRND_IMAGE_REPEAT_Y, |
48 THEME_BKGRND_IMAGE_REPEAT, | 50 THEME_BKGRND_IMAGE_REPEAT, |
| 51 |
| 52 THEME_BKGRND_IMAGE_LAST = THEME_BKGRND_IMAGE_REPEAT, |
49 }; | 53 }; |
50 | 54 |
51 // The RGBA color components for the text and links of the theme. | 55 // The RGBA color components for the text and links of the theme. |
52 struct RGBAColor { | 56 struct RGBAColor { |
53 RGBAColor(); | 57 RGBAColor(); |
54 ~RGBAColor(); | 58 ~RGBAColor(); |
55 | 59 |
56 bool operator==(const RGBAColor& rhs) const; | 60 bool operator==(const RGBAColor& rhs) const; |
57 | 61 |
58 // The color in RGBA format where the R, G, B and A values | 62 // The color in RGBA format where the R, G, B and A values |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 | 165 |
162 // The optional assisted query stats, aka AQS, used for logging purposes. | 166 // The optional assisted query stats, aka AQS, used for logging purposes. |
163 // This string contains impressions of all autocomplete matches shown | 167 // This string contains impressions of all autocomplete matches shown |
164 // at the query submission time. For privacy reasons, we require the | 168 // at the query submission time. For privacy reasons, we require the |
165 // search provider to support HTTPS protocol in order to receive the AQS | 169 // search provider to support HTTPS protocol in order to receive the AQS |
166 // param. | 170 // param. |
167 // For more details, see http://goto.google.com/binary-clients-logging. | 171 // For more details, see http://goto.google.com/binary-clients-logging. |
168 base::string16 assisted_query_stats; | 172 base::string16 assisted_query_stats; |
169 }; | 173 }; |
170 #endif // CHROME_COMMON_INSTANT_TYPES_H_ | 174 #endif // CHROME_COMMON_INSTANT_TYPES_H_ |
OLD | NEW |