OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 RLZ_LIB_RLZ_ENUMS_H_ | 5 #ifndef RLZ_LIB_RLZ_ENUMS_H_ |
6 #define RLZ_LIB_RLZ_ENUMS_H_ | 6 #define RLZ_LIB_RLZ_ENUMS_H_ |
7 | 7 |
8 namespace rlz_lib { | 8 namespace rlz_lib { |
9 | 9 |
10 // An Access Point offers a way to search using Google. | 10 // An Access Point offers a way to search using Google. |
11 enum AccessPoint { | 11 enum AccessPoint { |
12 NO_ACCESS_POINT = 0, | 12 NO_ACCESS_POINT = 0, |
13 | 13 |
14 // Access points on Windows PCs. | 14 // Access points on Windows PCs. |
15 IE_DEFAULT_SEARCH, // The IE7+ chrome search box next to the address bar. | 15 IE_DEFAULT_SEARCH, // The IE7+ chrome search box next to the address bar. |
16 IE_HOME_PAGE, // Search box on IE 5+ primary home page when Google. | 16 IE_HOME_PAGE, // Search box on IE 5+ primary home page when Google. |
17 IETB_SEARCH_BOX, // IE Toolbar v4+ search box. | 17 IETB_SEARCH_BOX, // IE Toolbar v4+ search box. |
18 QUICK_SEARCH_BOX, // Search box brought up by ctrl-ctrl key sequence, | 18 QUICK_SEARCH_BOX, // Search box brought up by ctrl-ctrl key sequence, |
19 // distributed as a part of Google Desktop | 19 // distributed as a part of Google Desktop |
20 GD_DESKBAND, // Search box in deskbar when GD in deskbar mode. | 20 GD_DESKBAND, // Search box in deskbar when GD in deskbar mode. |
21 GD_SEARCH_GADGET, // Search gadget when GD in sidebar mode. | 21 GD_SEARCH_GADGET, // Search gadget when GD in sidebar mode. |
22 GD_WEB_SERVER, // Boxes in web pages shown by local GD web server. | 22 GD_WEB_SERVER, // Boxes in web pages shown by local GD web server. |
23 GD_OUTLOOK, // Search box installed within outlook by GD. | 23 GD_OUTLOOK, // Search box installed within outlook by GD. |
24 CHROME_OMNIBOX, // Chrome searches through the address bar omnibox. | 24 CHROME_OMNIBOX, // Chrome searches through the address bar omnibox (Win). |
25 CHROME_HOME_PAGE, // Chrome searches through Google as home page. | 25 CHROME_HOME_PAGE, // Chrome searches through Google as home page (Win). |
26 FFTB2_BOX, // Firefox Toolbar v2 Search Box. | 26 FFTB2_BOX, // Firefox Toolbar v2 Search Box. |
27 FFTB3_BOX, // Firefox Toolbar v3+ Search Box. | 27 FFTB3_BOX, // Firefox Toolbar v3+ Search Box. |
28 PINYIN_IME_BHO, // Goopy Input Method Editor BHO (Pinyin). | 28 PINYIN_IME_BHO, // Goopy Input Method Editor BHO (Pinyin). |
29 IGOOGLE_WEBPAGE, // Searches on iGoogle through partner deals. | 29 IGOOGLE_WEBPAGE, // Searches on iGoogle through partner deals. |
30 | 30 |
31 // Mobile idle screen search for different platforms. | 31 // Mobile idle screen search for different platforms. |
32 MOBILE_IDLE_SCREEN_BLACKBERRY, | 32 MOBILE_IDLE_SCREEN_BLACKBERRY, |
33 MOBILE_IDLE_SCREEN_WINMOB, | 33 MOBILE_IDLE_SCREEN_WINMOB, |
34 MOBILE_IDLE_SCREEN_SYMBIAN, | 34 MOBILE_IDLE_SCREEN_SYMBIAN, |
35 | 35 |
(...skipping 12 matching lines...) Expand all Loading... |
48 TB8_SEARCH_BOX, // IE/FF Toolbar search box. | 48 TB8_SEARCH_BOX, // IE/FF Toolbar search box. |
49 CHROME_FRAME, // Chrome Frame. | 49 CHROME_FRAME, // Chrome Frame. |
50 | 50 |
51 // Partner access points. | 51 // Partner access points. |
52 PARTNER_AP_1, | 52 PARTNER_AP_1, |
53 PARTNER_AP_2, | 53 PARTNER_AP_2, |
54 PARTNER_AP_3, | 54 PARTNER_AP_3, |
55 PARTNER_AP_4, | 55 PARTNER_AP_4, |
56 PARTNER_AP_5, | 56 PARTNER_AP_5, |
57 | 57 |
58 CHROME_MAC_OMNIBOX, // Chrome searches through the address bar omnibox (mac). | 58 CHROME_MAC_OMNIBOX, // Chrome searches through the address bar omnibox (Mac). |
59 CHROME_MAC_HOME_PAGE,// Chrome searches through Google as home page (mac). | 59 CHROME_MAC_HOME_PAGE,// Chrome searches through Google as home page (Mac). |
| 60 |
| 61 CHROMEOS_OMNIBOX, // ChromeOS searches through the address bar omnibox. |
| 62 CHROMEOS_HOME_PAGE, // ChromeOS searches through Google as home page. |
| 63 CHROMEOS_RESERVED, // Reserved for ChromeOS. |
60 | 64 |
61 // Unclaimed access points - should be used first before creating new APs. | 65 // Unclaimed access points - should be used first before creating new APs. |
62 // Please also make sure you re-name the enum before using an unclaimed value; | 66 // Please also make sure you re-name the enum before using an unclaimed value; |
63 // this acts as a check to ensure we don't have collisions. | 67 // this acts as a check to ensure we don't have collisions. |
64 UNDEFINED_AP_J, | |
65 UNDEFINED_AP_K, | |
66 UNDEFINED_AP_L, | |
67 UNDEFINED_AP_M, | 68 UNDEFINED_AP_M, |
68 UNDEFINED_AP_N, | 69 UNDEFINED_AP_N, |
69 UNDEFINED_AP_O, | 70 UNDEFINED_AP_O, |
70 UNDEFINED_AP_P, | 71 UNDEFINED_AP_P, |
71 UNDEFINED_AP_Q, | 72 UNDEFINED_AP_Q, |
72 UNDEFINED_AP_R, | 73 UNDEFINED_AP_R, |
73 UNDEFINED_AP_S, | 74 UNDEFINED_AP_S, |
74 UNDEFINED_AP_T, | 75 UNDEFINED_AP_T, |
75 UNDEFINED_AP_U, | 76 UNDEFINED_AP_U, |
76 UNDEFINED_AP_V, | 77 UNDEFINED_AP_V, |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 REPORT_RLS, // Report old system "RLS" financial value for this point. | 125 REPORT_RLS, // Report old system "RLS" financial value for this point. |
125 // New Events should be added here without changing existing enums, | 126 // New Events should be added here without changing existing enums, |
126 // before LAST_EVENT. | 127 // before LAST_EVENT. |
127 ACTIVATE, // Product being used for a period of time. | 128 ACTIVATE, // Product being used for a period of time. |
128 LAST_EVENT | 129 LAST_EVENT |
129 }; | 130 }; |
130 | 131 |
131 } // namespace rlz_lib | 132 } // namespace rlz_lib |
132 | 133 |
133 #endif // RLZ_LIB_RLZ_ENUMS_H_ | 134 #endif // RLZ_LIB_RLZ_ENUMS_H_ |
OLD | NEW |