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

Side by Side Diff: chrome/browser/chrome_notification_types.h

Issue 2568973002: chromeos: Replace user image notifications with observer (Closed)
Patch Set: rebase Created 4 years 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/screens/user_image_screen.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 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 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_CHROME_NOTIFICATION_TYPES_H_ 5 #ifndef CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_
6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ 6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "extensions/features/features.h" 9 #include "extensions/features/features.h"
10 10
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 NOTIFICATION_LOGIN_USER_PROFILE_PREPARED, 340 NOTIFICATION_LOGIN_USER_PROFILE_PREPARED,
341 341
342 // Sent when the chromium session of a particular user is started. 342 // Sent when the chromium session of a particular user is started.
343 // If this is a new user on the machine this will not be sent until a profile 343 // If this is a new user on the machine this will not be sent until a profile
344 // picture has been selected, unlike NOTIFICATION_LOGIN_USER_CHANGED which is 344 // picture has been selected, unlike NOTIFICATION_LOGIN_USER_CHANGED which is
345 // sent immediately after the user has logged in. This will be sent again if 345 // sent immediately after the user has logged in. This will be sent again if
346 // the browser crashes and restarts. 346 // the browser crashes and restarts.
347 // The details are a chromeos::User object. 347 // The details are a chromeos::User object.
348 NOTIFICATION_SESSION_STARTED, 348 NOTIFICATION_SESSION_STARTED,
349 349
350 // Sent when user image is updated.
351 NOTIFICATION_LOGIN_USER_IMAGE_CHANGED,
352
353 // Sent by UserManager when a profile image download has been completed.
354 NOTIFICATION_PROFILE_IMAGE_UPDATED,
355
356 // Sent by UserManager when profile image download has failed or user has the
357 // default profile image or no profile image at all. No details are expected.
358 NOTIFICATION_PROFILE_IMAGE_UPDATE_FAILED,
359
360 // Sent when a network error message is displayed on the WebUI login screen. 350 // Sent when a network error message is displayed on the WebUI login screen.
361 // First paint event of this fires NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE. 351 // First paint event of this fires NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE.
362 NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN, 352 NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN,
363 353
364 // Sent when the specific part of login/lock WebUI is considered to be 354 // Sent when the specific part of login/lock WebUI is considered to be
365 // visible. That moment is tracked as the first paint event after one of the: 355 // visible. That moment is tracked as the first paint event after one of the:
366 // NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN 356 // NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN
367 // 357 //
368 // Possible series of notifications: 358 // Possible series of notifications:
369 // 1. Boot into fresh OOBE 359 // 1. Boot into fresh OOBE
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 // Note:- 475 // Note:-
486 // Currently only Content and Chrome define and use notifications. 476 // Currently only Content and Chrome define and use notifications.
487 // Custom notifications not belonging to Content and Chrome should start 477 // Custom notifications not belonging to Content and Chrome should start
488 // from here. 478 // from here.
489 NOTIFICATION_CHROME_END, 479 NOTIFICATION_CHROME_END,
490 }; 480 };
491 481
492 } // namespace chrome 482 } // namespace chrome
493 483
494 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ 484 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/screens/user_image_screen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698