| 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 SESSION_CRASHED = 9, | 201 SESSION_CRASHED = 9, |
| 202 CONFIRM_BUBBLE = 10, | 202 CONFIRM_BUBBLE = 10, |
| 203 UPDATE_RECOMMENDED = 11, | 203 UPDATE_RECOMMENDED = 11, |
| 204 CRYPTO_PASSWORD = 12, | 204 CRYPTO_PASSWORD = 12, |
| 205 SAFE_BROWSING_DOWNLOAD_FEEDBACK = 13, | 205 SAFE_BROWSING_DOWNLOAD_FEEDBACK = 13, |
| 206 FIRST_RUN = 14, | 206 FIRST_RUN = 14, |
| 207 NETWORK_SHARE_PROFILE_WARNING = 15, | 207 NETWORK_SHARE_PROFILE_WARNING = 15, |
| 208 CONFLICTING_MODULE = 16, | 208 CONFLICTING_MODULE = 16, |
| 209 CRITICAL_NOTIFICATION = 17, | 209 CRITICAL_NOTIFICATION = 17, |
| 210 IME_WARNING = 18, | 210 IME_WARNING = 18, |
| 211 TOOLBAR_ACTIONS_BAR = 19, |
| 212 GLOBAL_ERROR = 20, |
| 213 EXTENSION_INSTALL = 21, |
| 214 EXTENSION_UNINSTALL = 22, |
| 215 EXTENSION_INSTALLED = 23, |
| 216 PAYMENT_REQUEST = 24, |
| 217 SAVE_CARD = 25, |
| 218 CARD_UNMASK = 26, |
| 211 MAX_VALUE | 219 MAX_VALUE |
| 212 }; | 220 }; |
| 213 | 221 |
| 214 // Record an UMA metric counting the creation of a dialog box of this type. | 222 // Record an UMA metric counting the creation of a dialog box of this type. |
| 215 void RecordDialogCreation(DialogIdentifier identifier); | 223 void RecordDialogCreation(DialogIdentifier identifier); |
| 216 | 224 |
| 217 #if defined(OS_WIN) | 225 #if defined(OS_WIN) |
| 218 | 226 |
| 219 // Shows the Chrome Cleanup dialog asking the user if they want to clean their | 227 // Shows the Chrome Cleanup dialog asking the user if they want to clean their |
| 220 // system from unwanted software. This is called when unwanted software has been | 228 // system from unwanted software. This is called when unwanted software has been |
| (...skipping 20 matching lines...) Expand all Loading... |
| 241 using BubbleShowPtr = | 249 using BubbleShowPtr = |
| 242 void (*)(content::WebContents*, | 250 void (*)(content::WebContents*, |
| 243 const std::vector<arc::ArcNavigationThrottle::AppInfo>&, | 251 const std::vector<arc::ArcNavigationThrottle::AppInfo>&, |
| 244 const IntentPickerResponse&); | 252 const IntentPickerResponse&); |
| 245 | 253 |
| 246 BubbleShowPtr ShowIntentPickerBubble(); | 254 BubbleShowPtr ShowIntentPickerBubble(); |
| 247 | 255 |
| 248 #endif // OS_CHROMEOS | 256 #endif // OS_CHROMEOS |
| 249 | 257 |
| 250 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ | 258 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
| OLD | NEW |