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 CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
6 #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 CRITICAL_NOTIFICATION = 17, | 231 CRITICAL_NOTIFICATION = 17, |
232 IME_WARNING = 18, | 232 IME_WARNING = 18, |
233 TOOLBAR_ACTIONS_BAR = 19, | 233 TOOLBAR_ACTIONS_BAR = 19, |
234 GLOBAL_ERROR = 20, | 234 GLOBAL_ERROR = 20, |
235 EXTENSION_INSTALL = 21, | 235 EXTENSION_INSTALL = 21, |
236 EXTENSION_UNINSTALL = 22, | 236 EXTENSION_UNINSTALL = 22, |
237 EXTENSION_INSTALLED = 23, | 237 EXTENSION_INSTALLED = 23, |
238 PAYMENT_REQUEST = 24, | 238 PAYMENT_REQUEST = 24, |
239 SAVE_CARD = 25, | 239 SAVE_CARD = 25, |
240 CARD_UNMASK = 26, | 240 CARD_UNMASK = 26, |
| 241 SIGN_IN = 27, |
| 242 SIGN_IN_SYNC_CONFIRMATION = 28, |
| 243 SIGN_IN_ERROR = 29, |
| 244 SIGN_IN_EMAIL_CONFIRMATION = 30, |
| 245 PROFILE_CHOOSER = 31, |
241 MAX_VALUE | 246 MAX_VALUE |
242 }; | 247 }; |
243 | 248 |
244 // Record an UMA metric counting the creation of a dialog box of this type. | 249 // Record an UMA metric counting the creation of a dialog box of this type. |
245 void RecordDialogCreation(DialogIdentifier identifier); | 250 void RecordDialogCreation(DialogIdentifier identifier); |
246 | 251 |
247 #if defined(OS_WIN) | 252 #if defined(OS_WIN) |
248 | 253 |
249 // Shows the Chrome Cleanup dialog asking the user if they want to clean their | 254 // Shows the Chrome Cleanup dialog asking the user if they want to clean their |
250 // system from unwanted software. This is called when unwanted software has been | 255 // system from unwanted software. This is called when unwanted software has been |
(...skipping 21 matching lines...) Expand all Loading... |
272 using BubbleShowPtr = | 277 using BubbleShowPtr = |
273 void (*)(content::WebContents*, | 278 void (*)(content::WebContents*, |
274 const std::vector<arc::ArcNavigationThrottle::AppInfo>&, | 279 const std::vector<arc::ArcNavigationThrottle::AppInfo>&, |
275 const IntentPickerResponse&); | 280 const IntentPickerResponse&); |
276 | 281 |
277 BubbleShowPtr ShowIntentPickerBubble(); | 282 BubbleShowPtr ShowIntentPickerBubble(); |
278 | 283 |
279 #endif // OS_CHROMEOS | 284 #endif // OS_CHROMEOS |
280 | 285 |
281 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ | 286 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
OLD | NEW |