Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: chrome/browser/ui/browser_dialogs.h

Issue 2881683002: Log the creation of several more dialog box types. (Closed)
Patch Set: Fix alphabetization errors. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 EXTENSION_UNINSTALL = 22, 238 EXTENSION_UNINSTALL = 22,
239 EXTENSION_INSTALLED = 23, 239 EXTENSION_INSTALLED = 23,
240 PAYMENT_REQUEST = 24, 240 PAYMENT_REQUEST = 24,
241 SAVE_CARD = 25, 241 SAVE_CARD = 25,
242 CARD_UNMASK = 26, 242 CARD_UNMASK = 26,
243 SIGN_IN = 27, 243 SIGN_IN = 27,
244 SIGN_IN_SYNC_CONFIRMATION = 28, 244 SIGN_IN_SYNC_CONFIRMATION = 28,
245 SIGN_IN_ERROR = 29, 245 SIGN_IN_ERROR = 29,
246 SIGN_IN_EMAIL_CONFIRMATION = 30, 246 SIGN_IN_EMAIL_CONFIRMATION = 30,
247 PROFILE_CHOOSER = 31, 247 PROFILE_CHOOSER = 31,
248 ACCOUNT_CHOOSER = 32,
249 ARC_APP = 33,
250 AUTO_SIGNIN_FIRST_RUN = 34,
251 BOOKMARK_APP_CONFIRMATION = 35,
252 CHOOSER_UI = 36,
253 CHOOSER = 37,
254 COLLECTED_COOKIES = 38,
255 CONSTRAINED_WEB = 39,
256 CONTENT_SETTING_CONTENTS = 40,
257 CREATE_CHROME_APPLICATION_SHORTCUT = 41,
258 DOWNLOAD_DANGER_PROMPT = 42,
259 DOWNLOAD_IN_PROGRESS = 43,
260 ECHO = 44,
261 ENROLLMENT = 45,
262 EXTENSION = 46,
263 EXTENSION_POPUP_AURA = 47,
264 EXTERNAL_PROTOCOL = 48,
265 EXTERNAL_PROTOCOL_CHROMEOS = 49,
266 FIRST_RUN_DIALOG = 50,
267 HOME_PAGE_UNDO = 51,
268 IDLE_ACTION_WARNING = 52,
269 IMPORT_LOCK = 53,
270 INTENT_PICKER = 54,
271 INVERT = 55,
272 JAVA_SCRIPT = 56,
273 JAVA_SCRIPT_APP_MODAL_X11 = 57,
274 LOGIN_HANDLER = 58,
275 MANAGE_PASSWORDS = 59,
276 MEDIA_GALLERIES = 60,
277 MULTIPROFILES_INTRO = 61,
278 MULTIPROFILES_SESSION_ABORTED = 62,
279 NATIVE_CONTAINER = 63,
280 NETWORK_CONFIG = 64,
281 PERMISSIONS = 65,
282 PLATFORM_KEYS_CERTIFICATE_SELECTOR = 66,
283 PLATFORM_VERIFICATION = 67,
284 PROXIMITY_AUTH_ERROR = 68,
285 REQUEST_PIN = 69,
286 SSL_CLIENT_CERTIFICATE_SELECTOR = 70,
287 SIMPLE_MESSAGE_BOX = 71,
288 TAB_MODAL_CONFIRM = 72,
289 TASK_MANAGER = 73,
290 TELEPORT_WARNING = 74,
291 USER_MANAGER = 75,
292 USER_MANAGER_PROFILE = 76,
293 VALIDATION_MESSAGE = 77,
294 WEB_SHARE_TARGET_PICKER = 78,
295 ZOOM = 79,
248 MAX_VALUE 296 MAX_VALUE
249 }; 297 };
250 298
251 // Record an UMA metric counting the creation of a dialog box of this type. 299 // Record an UMA metric counting the creation of a dialog box of this type.
252 void RecordDialogCreation(DialogIdentifier identifier); 300 void RecordDialogCreation(DialogIdentifier identifier);
253 301
254 #if defined(OS_WIN) 302 #if defined(OS_WIN)
255 303
256 // Shows the Chrome Cleanup dialog asking the user if they want to clean their 304 // Shows the Chrome Cleanup dialog asking the user if they want to clean their
257 // system from unwanted software. This is called when unwanted software has been 305 // system from unwanted software. This is called when unwanted software has been
(...skipping 21 matching lines...) Expand all
279 using BubbleShowPtr = 327 using BubbleShowPtr =
280 void (*)(content::WebContents*, 328 void (*)(content::WebContents*,
281 const std::vector<arc::ArcNavigationThrottle::AppInfo>&, 329 const std::vector<arc::ArcNavigationThrottle::AppInfo>&,
282 const IntentPickerResponse&); 330 const IntentPickerResponse&);
283 331
284 BubbleShowPtr ShowIntentPickerBubble(); 332 BubbleShowPtr ShowIntentPickerBubble();
285 333
286 #endif // OS_CHROMEOS 334 #endif // OS_CHROMEOS
287 335
288 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ 336 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698