Add ICU message format support
[chromium-blink-merge.git] / chrome / browser / chrome_notification_types.h
blob6f19215cc8dc8381e5ef140354fc9a8c256e97c0
1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_
6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_
8 #include "build/build_config.h"
10 #if defined(ENABLE_EXTENSIONS)
11 #include "extensions/browser/notification_types.h"
12 #else
13 #include "content/public/browser/notification_types.h"
14 #endif
16 #if defined(ENABLE_EXTENSIONS)
17 #define PREVIOUS_END extensions::NOTIFICATION_EXTENSIONS_END
18 #else
19 #define PREVIOUS_END content::NOTIFICATION_CONTENT_END
20 #endif
22 namespace chrome {
24 // NotificationService &c. are deprecated (https://crbug.com/268984).
25 // Don't add any new notification types, and migrate existing uses of the
26 // notification types below to observers.
27 enum NotificationType {
28 NOTIFICATION_CHROME_START = PREVIOUS_END,
30 // Browser-window ----------------------------------------------------------
32 // This message is sent after a window has been opened. The source is a
33 // Source<Browser> containing the affected Browser. No details are
34 // expected.
35 NOTIFICATION_BROWSER_OPENED = NOTIFICATION_CHROME_START,
37 // This message is sent soon after BROWSER_OPENED, and indicates that
38 // the Browser's |window_| is now non-NULL. The source is a Source<Browser>
39 // containing the affected Browser. No details are expected.
40 NOTIFICATION_BROWSER_WINDOW_READY,
42 // This message is sent when a browser is closing. The source is a
43 // Source<Browser> containing the affected Browser. No details are expected.
44 // This is sent prior to BROWSER_CLOSED, and may be sent more than once for a
45 // particular browser.
46 NOTIFICATION_BROWSER_CLOSING,
48 // This message is sent after a window has been closed. The source is a
49 // Source<Browser> containing the affected Browser. No details are exptected.
50 NOTIFICATION_BROWSER_CLOSED,
52 // This message is sent when closing a browser has been cancelled, either by
53 // the user cancelling a beforeunload dialog, or IsClosingPermitted()
54 // disallowing closing. This notification implies that no BROWSER_CLOSING or
55 // BROWSER_CLOSED notification will be sent.
56 // The source is a Source<Browser> containing the affected browser. No details
57 // are expected.
58 NOTIFICATION_BROWSER_CLOSE_CANCELLED,
60 // Sent when the language (English, French...) for a page has been detected.
61 // The details Details<std::string> contain the ISO 639-1 language code and
62 // the source is Source<WebContents>.
63 NOTIFICATION_TAB_LANGUAGE_DETERMINED,
65 // Sent when a page has been translated. The source is the tab for that page
66 // (Source<WebContents>) and the details are the language the page was
67 // originally in and the language it was translated to
68 // (std::pair<std::string, std::string>).
69 NOTIFICATION_PAGE_TRANSLATED,
71 // The user has changed the browser theme. The source is a
72 // Source<ThemeService>. There are no details.
73 NOTIFICATION_BROWSER_THEME_CHANGED,
75 #if defined(USE_AURA)
76 // The user has changed the fling curve configuration.
77 // Source<GesturePrefsObserver>. There are no details.
78 NOTIFICATION_BROWSER_FLING_CURVE_PARAMETERS_CHANGED,
79 #endif // defined(USE_AURA)
81 // Sent when the renderer returns focus to the browser, as part of focus
82 // traversal. The source is the browser, there are no details.
83 NOTIFICATION_FOCUS_RETURNED_TO_BROWSER,
85 // A new tab is created from an existing tab to serve as a target of a
86 // navigation that is about to happen. The source will be a Source<Profile>
87 // corresponding to the profile in which the new tab will live. Details in
88 // the form of a RetargetingDetails object are provided.
89 NOTIFICATION_RETARGETING,
91 // Application-wide ----------------------------------------------------------
93 // This message is sent when the application is terminating (the last
94 // browser window has shutdown as part of an explicit user-initiated exit,
95 // or the user closed the last browser window on Windows/Linux and there are
96 // no BackgroundContents keeping the browser running). No source or details
97 // are passed.
98 NOTIFICATION_APP_TERMINATING,
100 #if defined(OS_MACOSX)
101 // This notification is sent when the app has no key window, such as when
102 // all windows are closed but the app is still active. No source or details
103 // are provided.
104 NOTIFICATION_NO_KEY_WINDOW,
105 #endif
107 // This is sent when the user has chosen to exit the app, but before any
108 // browsers have closed. This is sent if the user chooses to exit (via exit
109 // menu item or keyboard shortcut) or to restart the process (such as in flags
110 // page), not if Chrome exits by some other means (such as the user closing
111 // the last window). No source or details are passed.
113 // Note that receiving this notification does not necessarily mean the process
114 // will exit because the shutdown process can be cancelled by an unload
115 // handler. Use APP_TERMINATING for such needs.
116 NOTIFICATION_CLOSE_ALL_BROWSERS_REQUEST,
118 // This message is sent when a new InfoBar has been added to an
119 // InfoBarService. The source is a Source<InfoBarService> with a pointer to
120 // the InfoBarService the InfoBar was added to. The details is a
121 // Details<InfoBar::AddedDetails>.
122 NOTIFICATION_TAB_CONTENTS_INFOBAR_ADDED,
124 // This message is sent when an InfoBar is about to be removed from an
125 // InfoBarService. The source is a Source<InfoBarService> with a pointer to
126 // the InfoBarService the InfoBar was removed from. The details is a
127 // Details<InfoBar::RemovedDetails>.
128 NOTIFICATION_TAB_CONTENTS_INFOBAR_REMOVED,
130 #if defined(ENABLE_EXTENSIONS)
131 // This notification is sent when extensions::TabHelper::SetExtensionApp is
132 // invoked. The source is the extensions::TabHelper SetExtensionApp was
133 // invoked on.
134 NOTIFICATION_TAB_CONTENTS_APPLICATION_EXTENSION_CHANGED,
135 #endif
137 // Tabs --------------------------------------------------------------------
139 // Sent when a tab is added to a WebContentsDelegate. The source is the
140 // WebContentsDelegate and the details is the added WebContents.
141 NOTIFICATION_TAB_ADDED,
143 // This notification is sent after a tab has been appended to the tab_strip.
144 // The source is a Source<WebContents> of the tab being added. There
145 // are no details.
146 NOTIFICATION_TAB_PARENTED,
148 // This message is sent before a tab has been closed. The source is a
149 // Source<NavigationController> with a pointer to the controller for the
150 // closed tab. No details are expected.
152 // See also content::NOTIFICATION_WEB_CONTENTS_DESTROYED, which is sent when
153 // the WebContents containing the NavigationController is destroyed.
154 NOTIFICATION_TAB_CLOSING,
156 // Stuff inside the tabs ---------------------------------------------------
158 // This notification is sent when the result of a find-in-page search is
159 // available with the browser process. The source is a Source<WebContents>.
160 // Details encompass a FindNotificationDetail object that tells whether the
161 // match was found or not found.
162 NOTIFICATION_FIND_RESULT_AVAILABLE,
164 // BackgroundContents ------------------------------------------------------
166 // A new background contents was opened by script. The source is the parent
167 // profile and the details are BackgroundContentsOpenedDetails.
168 NOTIFICATION_BACKGROUND_CONTENTS_OPENED,
170 // The background contents navigated to a new location. The source is the
171 // parent Profile, and the details are the BackgroundContents that was
172 // navigated.
173 NOTIFICATION_BACKGROUND_CONTENTS_NAVIGATED,
175 // The background contents were closed by someone invoking window.close()
176 // or the parent application was uninstalled.
177 // The source is the parent profile, and the details are the
178 // BackgroundContents.
179 NOTIFICATION_BACKGROUND_CONTENTS_CLOSED,
181 // The background contents is being deleted. The source is the
182 // parent Profile, and the details are the BackgroundContents being deleted.
183 NOTIFICATION_BACKGROUND_CONTENTS_DELETED,
185 // The background contents has crashed. The source is the parent Profile,
186 // and the details are the BackgroundContents.
187 NOTIFICATION_BACKGROUND_CONTENTS_TERMINATED,
189 // The background contents associated with a hosted app has changed (either
190 // a new background contents has been created, or an existing background
191 // contents has closed). The source is the parent Profile, and the details
192 // are the BackgroundContentsService.
193 NOTIFICATION_BACKGROUND_CONTENTS_SERVICE_CHANGED,
195 // Chrome has entered/exited background mode. The source is the
196 // BackgroundModeManager and the details are a boolean value which is set to
197 // true if Chrome is now in background mode.
198 NOTIFICATION_BACKGROUND_MODE_CHANGED,
200 // This is sent when a login prompt is shown. The source is the
201 // Source<NavigationController> for the tab in which the prompt is shown.
202 // Details are a LoginNotificationDetails which provide the LoginHandler
203 // that should be given authentication.
204 NOTIFICATION_AUTH_NEEDED,
206 // This is sent when authentication credentials have been supplied (either
207 // by the user or by an automation service), but before we've actually
208 // received another response from the server. The source is the
209 // Source<NavigationController> for the tab in which the prompt was shown.
210 // Details are an AuthSuppliedLoginNotificationDetails which provide the
211 // LoginHandler that should be given authentication as well as the supplied
212 // username and password.
213 NOTIFICATION_AUTH_SUPPLIED,
215 // This is sent when an authentication request has been dismissed without
216 // supplying credentials (either by the user or by an automation service).
217 // The source is the Source<NavigationController> for the tab in which the
218 // prompt was shown. Details are a LoginNotificationDetails which provide
219 // the LoginHandler that should be cancelled.
220 NOTIFICATION_AUTH_CANCELLED,
222 // Profiles -----------------------------------------------------------------
224 // Sent after a Profile has been created. This notification is sent both for
225 // normal and OTR profiles.
226 // The details are none and the source is the new profile.
227 NOTIFICATION_PROFILE_CREATED,
229 // Sent after a Profile has been added to ProfileManager.
230 // The details are none and the source is the new profile.
231 NOTIFICATION_PROFILE_ADDED,
233 // Use KeyedServiceShutdownNotifier instead this notification type (you did
234 // read the comment at the top of the file, didn't you?).
235 // Sent early in the process of destroying a Profile, at the time a user
236 // initiates the deletion of a profile versus the much later time when the
237 // profile object is actually destroyed (use NOTIFICATION_PROFILE_DESTROYED).
238 // The details are none and the source is a Profile*.
239 NOTIFICATION_PROFILE_DESTRUCTION_STARTED,
241 // Use KeyedServiceShutdownNotifier instead this notification type (you did
242 // read the comment at the top of the file, didn't you?).
243 // Sent before a Profile is destroyed. This notification is sent both for
244 // normal and OTR profiles.
245 // The details are none and the source is a Profile*.
246 NOTIFICATION_PROFILE_DESTROYED,
248 // Sent after the URLRequestContextGetter for a Profile has been initialized.
249 // The details are none and the source is a Profile*.
250 NOTIFICATION_PROFILE_URL_REQUEST_CONTEXT_GETTER_INITIALIZED,
252 // Non-history storage services --------------------------------------------
254 // The state of a web resource has been changed. A resource may have been
255 // added, removed, or altered. Source is WebResourceService, and the
256 // details are NoDetails.
257 NOTIFICATION_PROMO_RESOURCE_STATE_CHANGED,
259 // A safe browsing database update completed. Source is the
260 // SafeBrowsingService and the details are a bool indicating whether the
261 // update was successful.
262 NOTIFICATION_SAFE_BROWSING_UPDATE_COMPLETE,
264 // Autocomplete ------------------------------------------------------------
266 // Sent by the autocomplete controller when done. The source is the
267 // AutocompleteController, the details not used.
268 NOTIFICATION_AUTOCOMPLETE_CONTROLLER_RESULT_READY,
270 // This is sent when an item of the Omnibox popup is selected. The source
271 // is the profile.
272 NOTIFICATION_OMNIBOX_OPENED_URL,
274 // This is sent from Instant when the omnibox focus state changes.
275 NOTIFICATION_OMNIBOX_FOCUS_CHANGED,
277 // Printing ----------------------------------------------------------------
279 // Notification from PrintJob that an event occurred. It can be that a page
280 // finished printing or that the print job failed. Details is
281 // PrintJob::EventDetails. Source is a PrintJob.
282 NOTIFICATION_PRINT_JOB_EVENT,
284 // Sent when a PrintJob has been released.
285 // Source is the WebContents that holds the print job.
286 NOTIFICATION_PRINT_JOB_RELEASED,
288 // Upgrade notifications ---------------------------------------------------
290 // Sent when Chrome believes an update has been installed and available for
291 // long enough with the user shutting down to let it take effect. See
292 // upgrade_detector.cc for details on how long it waits. No details are
293 // expected.
294 NOTIFICATION_UPGRADE_RECOMMENDED,
296 // Sent when a critical update has been installed. No details are expected.
297 NOTIFICATION_CRITICAL_UPGRADE_INSTALLED,
299 // Sent when the current install is outdated. No details are expected.
300 NOTIFICATION_OUTDATED_INSTALL,
302 // Sent when the current install is outdated and auto-update (AU) is disabled.
303 // No details are expected.
304 NOTIFICATION_OUTDATED_INSTALL_NO_AU,
306 // Software incompatibility notifications ----------------------------------
308 // Sent when Chrome has finished compiling the list of loaded modules (and
309 // other modules of interest). No details are expected.
310 NOTIFICATION_MODULE_LIST_ENUMERATED,
312 // Sent when Chrome is done scanning the module list and when the user has
313 // acknowledged the module incompatibility. No details are expected.
314 NOTIFICATION_MODULE_INCOMPATIBILITY_BADGE_CHANGE,
316 // Content Settings --------------------------------------------------------
318 // Sent when the collect cookies dialog is shown. The source is a
319 // TabSpecificContentSettings object, there are no details.
320 NOTIFICATION_COLLECTED_COOKIES_SHOWN,
322 // Sent when content settings change for a tab. The source is a
323 // content::WebContents object, the details are None.
324 NOTIFICATION_WEB_CONTENT_SETTINGS_CHANGED,
326 // Sync --------------------------------------------------------------------
328 // The sync service has finished the datatype configuration process. The
329 // source is the ProfileSyncService object of the Profile. There are no
330 // details.
331 NOTIFICATION_SYNC_CONFIGURE_DONE,
333 // A service is requesting a sync datatype refresh for the current profile.
334 // The details value is a const syncer::ModelTypeSet.
335 // If the payload map is empty, it should be treated as an invalidation for
336 // all enabled types. This is used by session sync.
337 NOTIFICATION_SYNC_REFRESH_LOCAL,
339 // The session service has been saved. This notification type is only sent
340 // if there were new SessionService commands to save, and not for no-op save
341 // operations.
342 NOTIFICATION_SESSION_SERVICE_SAVED,
344 // A foreign session has been updated. If a new tab page is open, the
345 // foreign session handler needs to update the new tab page's foreign
346 // session data.
347 NOTIFICATION_FOREIGN_SESSION_UPDATED,
349 // Foreign sessions has been disabled. New tabs should not display foreign
350 // session data.
351 NOTIFICATION_FOREIGN_SESSION_DISABLED,
353 // All tab metadata has been loaded from disk asynchronously.
354 // Sent on the UI thread.
355 // The source is the Profile. There are no details.
356 NOTIFICATION_SESSION_RESTORE_COMPLETE,
358 // Cookies -----------------------------------------------------------------
360 #if defined(ENABLE_EXTENSIONS)
361 // Sent when a cookie changes, for consumption by extensions. The source is a
362 // Profile object, the details are a ChromeCookieDetails object.
363 NOTIFICATION_COOKIE_CHANGED_FOR_EXTENSIONS,
364 #endif
366 // Download Notifications --------------------------------------------------
368 // Sent when a download is initiated. It is possible that the download will
369 // not actually begin due to the DownloadRequestLimiter cancelling it
370 // prematurely.
371 // The source is the corresponding RenderViewHost. There are no details.
372 NOTIFICATION_DOWNLOAD_INITIATED,
374 // Misc --------------------------------------------------------------------
376 #if defined(OS_CHROMEOS)
377 // Sent when a chromium os user logs in.
378 // The details are a chromeos::User object.
379 NOTIFICATION_LOGIN_USER_CHANGED,
381 // Sent immediately after the logged-in user's profile is ready.
382 // The details are a Profile object.
383 NOTIFICATION_LOGIN_USER_PROFILE_PREPARED,
385 // Sent when the chromium session of a particular user is started.
386 // If this is a new user on the machine this will not be sent until a profile
387 // picture has been selected, unlike NOTIFICATION_LOGIN_USER_CHANGED which is
388 // sent immediately after the user has logged in. This will be sent again if
389 // the browser crashes and restarts.
390 // The details are a chromeos::User object.
391 NOTIFICATION_SESSION_STARTED,
393 // Sent when user image is updated.
394 NOTIFICATION_LOGIN_USER_IMAGE_CHANGED,
396 // Sent by UserManager when a profile image download has been completed.
397 NOTIFICATION_PROFILE_IMAGE_UPDATED,
399 // Sent by UserManager when profile image download has failed or user has the
400 // default profile image or no profile image at all. No details are expected.
401 NOTIFICATION_PROFILE_IMAGE_UPDATE_FAILED,
403 // Sent when a network error message is displayed on the WebUI login screen.
404 // First paint event of this fires NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE.
405 NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN,
407 // Sent when the specific part of login/lock WebUI is considered to be
408 // visible. That moment is tracked as the first paint event after one of the:
409 // NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN
411 // Possible series of notifications:
412 // 1. Boot into fresh OOBE
413 // NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE
414 // 2. Boot into user pods list (normal boot). Same for lock screen.
415 // NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE
416 // 3. Boot into GAIA sign in UI (user pods display disabled or no users):
417 // if no network is connected or flaky network
418 // (NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN +
419 // NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE)
420 // NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE
421 // 4. Boot into retail mode
422 // NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE
423 // 5. Boot into kiosk mode
424 // NOTIFICATION_KIOSK_APP_LAUNCHED
425 NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE,
427 // Sent when proxy dialog is closed.
428 NOTIFICATION_LOGIN_PROXY_CHANGED,
430 // Send when kiosk auto-launch warning screen is visible.
431 NOTIFICATION_KIOSK_AUTOLAUNCH_WARNING_VISIBLE,
433 // Send when kiosk auto-launch warning screen had completed.
434 NOTIFICATION_KIOSK_AUTOLAUNCH_WARNING_COMPLETED,
436 // Send when enable consumer kiosk warning screen is visible.
437 NOTIFICATION_KIOSK_ENABLE_WARNING_VISIBLE,
439 // Send when consumer kiosk has been enabled.
440 NOTIFICATION_KIOSK_ENABLED,
442 // Send when enable consumer kiosk warning screen had completed.
443 NOTIFICATION_KIOSK_ENABLE_WARNING_COMPLETED,
445 // Sent when kiosk app list is loaded in UI.
446 NOTIFICATION_KIOSK_APPS_LOADED,
448 // Sent when a kiosk app is launched.
449 NOTIFICATION_KIOSK_APP_LAUNCHED,
451 // Sent when the user list has changed.
452 NOTIFICATION_USER_LIST_CHANGED,
454 // Sent when the screen lock state has changed. The source is
455 // ScreenLocker and the details is a bool specifing that the
456 // screen is locked. When details is a false, the source object
457 // is being deleted, so the receiver shouldn't use the screen locker
458 // object.
459 NOTIFICATION_SCREEN_LOCK_STATE_CHANGED,
461 // Sent by DeviceSettingsService to indicate that the ownership status
462 // changed. If you can, please use DeviceSettingsService::Observer instead.
463 // Other singleton-based services can't use that because Observer
464 // unregistration is impossible due to unpredictable deletion order.
465 NOTIFICATION_OWNERSHIP_STATUS_CHANGED,
466 #endif
468 #if defined(TOOLKIT_VIEWS)
469 // Sent when a bookmark's context menu is shown. Used to notify
470 // tests that the context menu has been created and shown.
471 NOTIFICATION_BOOKMARK_CONTEXT_MENU_SHOWN,
473 // Notification that the nested loop using during tab dragging has returned.
474 // Used for testing.
475 NOTIFICATION_TAB_DRAG_LOOP_DONE,
476 #endif
478 // Send when a context menu is shown. Used to notify tests that the context
479 // menu has been created and shown.
480 NOTIFICATION_RENDER_VIEW_CONTEXT_MENU_SHOWN,
482 // Sent when the Instant Controller determines whether an Instant tab supports
483 // the Instant API or not.
484 NOTIFICATION_INSTANT_TAB_SUPPORT_DETERMINED,
486 // Sent when the CaptivePortalService checks if we're behind a captive portal.
487 // The Source is the Profile the CaptivePortalService belongs to, and the
488 // Details are a Details<CaptivePortalService::CheckResults>.
489 NOTIFICATION_CAPTIVE_PORTAL_CHECK_RESULT,
491 // Sent when the applications in the NTP app launcher have been reordered.
492 // The details, if not NoDetails, is the std::string ID of the extension that
493 // was moved.
494 NOTIFICATION_APP_LAUNCHER_REORDERED,
496 // Sent when an app is installed and an NTP has been shown. Source is the
497 // WebContents that was shown, and Details is the string ID of the extension
498 // which was installed.
499 NOTIFICATION_APP_INSTALLED_TO_NTP,
501 #if defined(USE_ASH)
502 // Sent when wallpaper show animation has finished.
503 NOTIFICATION_WALLPAPER_ANIMATION_FINISHED,
505 // Sent when the Ash session has started. In its current incantation this is
506 // generated when the metro app has connected to the browser IPC channel.
507 // Used only on Windows.
508 NOTIFICATION_ASH_SESSION_STARTED,
510 // Sent when the Ash session ended. Currently this means the metro app exited.
511 // Used only on Windows.
512 NOTIFICATION_ASH_SESSION_ENDED,
513 #endif
515 // Protocol Handler Registry -----------------------------------------------
516 // Sent when a ProtocolHandlerRegistry is changed. The source is the profile.
517 NOTIFICATION_PROTOCOL_HANDLER_REGISTRY_CHANGED,
519 // Sent when the browser enters or exits fullscreen mode.
520 NOTIFICATION_FULLSCREEN_CHANGED,
522 // Sent when the FullscreenController changes, confirms, or denies mouse lock.
523 // The source is the browser's FullscreenController, no details.
524 NOTIFICATION_MOUSE_LOCK_CHANGED,
526 // Sent by the PluginPrefs when there is a change of plugin enable/disable
527 // status. The source is the profile.
528 NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED,
530 // Panels Notifications. The Panels are small browser windows near the bottom
531 // of the screen.
532 // Sent when all nonblocking bounds animations are finished across panels.
533 // Used only in unit testing.
534 NOTIFICATION_PANEL_BOUNDS_ANIMATIONS_FINISHED,
536 // Sent when panel gains/loses focus.
537 // The source is the Panel, no details.
538 // Used only in unit testing.
539 NOTIFICATION_PANEL_CHANGED_ACTIVE_STATUS,
541 // Sent when panel is minimized/restored/shows title only etc.
542 // The source is the Panel, no details.
543 NOTIFICATION_PANEL_CHANGED_EXPANSION_STATE,
545 // Sent when panel app icon is loaded.
546 // Used only in unit testing.
547 NOTIFICATION_PANEL_APP_ICON_LOADED,
549 // Sent when panel collection get updated.
550 // The source is the PanelCollection, no details.
551 // Used only in coordination with notification balloons.
552 NOTIFICATION_PANEL_COLLECTION_UPDATED,
554 // Sent when panel is closed.
555 // The source is the Panel, no details.
556 NOTIFICATION_PANEL_CLOSED,
558 // Sent when a global error has changed and the error UI should update it
559 // self. The source is a Source<Profile> containing the profile for the
560 // error. The detail is a GlobalError object that has changed or NULL if
561 // all error UIs should update.
562 NOTIFICATION_GLOBAL_ERRORS_CHANGED,
564 // The user accepted or dismissed a SSL client authentication request.
565 // The source is a Source<net::HttpNetworkSession>. Details is a
566 // (std::pair<net::SSLCertRequestInfo*, net::X509Certificate*>).
567 NOTIFICATION_SSL_CLIENT_AUTH_CERT_SELECTED,
569 // Note:-
570 // Currently only Content and Chrome define and use notifications.
571 // Custom notifications not belonging to Content and Chrome should start
572 // from here.
573 NOTIFICATION_CHROME_END,
576 } // namespace chrome
578 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_