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

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 includes 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
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, 241 SIGN_IN = 27,
242 SIGN_IN_SYNC_CONFIRMATION = 28, 242 SIGN_IN_SYNC_CONFIRMATION = 28,
243 SIGN_IN_ERROR = 29, 243 SIGN_IN_ERROR = 29,
244 SIGN_IN_EMAIL_CONFIRMATION = 30, 244 SIGN_IN_EMAIL_CONFIRMATION = 30,
245 PROFILE_CHOOSER = 31, 245 PROFILE_CHOOSER = 31,
246 ACCOUNT_CHOOSER = 32,
247 ARC_APP = 33,
248 AUTO_SIGNIN_FIRST_RUN = 34,
249 BOOKMARK_APP_CONFIRMATION = 35,
250 CHOOSER_UI = 36,
251 CHOOSER = 37,
252 COLLECTED_COOKIES = 38,
253 CONSTRAINED_WEB = 39,
254 CONTENT_SETTING_CONTENTS = 40,
255 CREATE_CHROME_APPLICATION_SHORTCUT = 41,
256 DOWNLOAD_DANGER_PROMPT = 42,
257 DOWNLOAD_IN_PROGRESS = 43,
258 ECHO = 44,
259 ENROLLMENT = 45,
260 EXTENSION = 46,
261 EXTENSION_POPUP_AURA = 47,
262 EXTERNAL_PROTOCOL = 48,
263 EXTERNAL_PROTOCOL_CHROMEOS = 49,
264 FIRST_RUN_DIALOG = 50,
265 HOME_PAGE_UNDO = 51,
266 IDLE_ACTION_WARNING = 52,
267 IMPORT_LOCK = 53,
268 INTENT_PICKER = 54,
269 INVERT = 55,
270 JAVA_SCRIPT_APP_MODAL_X11 = 56,
271 JAVA_SCRIPT = 57,
272 LOGIN_HANDLER = 58,
273 MANAGE_PASSWORDS = 59,
274 MEDIA_GALLERIES = 60,
275 MULTIPROFILES_INTRO = 61,
276 MULTIPROFILES_SESSION_ABORTED = 62,
277 NATIVE_CONTAINER = 63,
278 NETWORK_CONFIG = 64,
279 PERMISSIONS = 65,
280 PLATFORM_KEYS_CERTIFICATE_SELECTOR = 66,
281 PLATFORM_VERIFICATION = 67,
282 PROXIMITY_AUTH_ERROR = 68,
283 REQUEST_PIN = 69,
284 SSL_CLIENT_CERTIFICATE_SELECTOR = 70,
285 SIMPLE_MESSAGE_BOX = 71,
286 TAB_MODAL_CONFIRM = 72,
287 TASK_MANAGER = 73,
288 TELEPORT_WARNING = 74,
289 USER_MANAGER_PROFILE = 75,
290 USER_MANAGER = 76,
msw 2017/05/15 21:51:15 I think this value is not used; perhaps you meant
pdyson 2017/05/16 01:06:46 Good catch. I've now added the logging for USER_MA
291 VALIDATION_MESSAGE = 77,
292 WEB_SHARE_TARGET_PICKER = 78,
293 ZOOM = 79,
246 MAX_VALUE 294 MAX_VALUE
247 }; 295 };
248 296
249 // Record an UMA metric counting the creation of a dialog box of this type. 297 // Record an UMA metric counting the creation of a dialog box of this type.
250 void RecordDialogCreation(DialogIdentifier identifier); 298 void RecordDialogCreation(DialogIdentifier identifier);
251 299
252 #if defined(OS_WIN) 300 #if defined(OS_WIN)
253 301
254 // Shows the Chrome Cleanup dialog asking the user if they want to clean their 302 // Shows the Chrome Cleanup dialog asking the user if they want to clean their
255 // system from unwanted software. This is called when unwanted software has been 303 // system from unwanted software. This is called when unwanted software has been
(...skipping 21 matching lines...) Expand all
277 using BubbleShowPtr = 325 using BubbleShowPtr =
278 void (*)(content::WebContents*, 326 void (*)(content::WebContents*,
279 const std::vector<arc::ArcNavigationThrottle::AppInfo>&, 327 const std::vector<arc::ArcNavigationThrottle::AppInfo>&,
280 const IntentPickerResponse&); 328 const IntentPickerResponse&);
281 329
282 BubbleShowPtr ShowIntentPickerBubble(); 330 BubbleShowPtr ShowIntentPickerBubble();
283 331
284 #endif // OS_CHROMEOS 332 #endif // OS_CHROMEOS
285 333
286 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ 334 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698