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

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

Issue 15295018: Continue bitmap fetching for notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced Notifications Bitmap Fetching improve unit tests Created 7 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 | Annotate | Revision Log
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_COMMON_CHROME_NOTIFICATION_TYPES_H_ 5 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/public/browser/notification_types.h" 9 #include "content/public/browser/notification_types.h"
10 10
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 // Source<BalloonHost> with a pointer to the the balloon. A 695 // Source<BalloonHost> with a pointer to the the balloon. A
696 // NOTIFY_BALLOON_DISCONNECTED is guaranteed before the source pointer 696 // NOTIFY_BALLOON_DISCONNECTED is guaranteed before the source pointer
697 // becomes junk. No details expected. 697 // becomes junk. No details expected.
698 NOTIFICATION_NOTIFY_BALLOON_CONNECTED, 698 NOTIFICATION_NOTIFY_BALLOON_CONNECTED,
699 699
700 // This message is sent after a balloon is disconnected from the renderer 700 // This message is sent after a balloon is disconnected from the renderer
701 // process. The source is a Source<BalloonHost> with a pointer to the 701 // process. The source is a Source<BalloonHost> with a pointer to the
702 // balloon host (the pointer is usable). No details are expected. 702 // balloon host (the pointer is usable). No details are expected.
703 NOTIFICATION_NOTIFY_BALLOON_DISCONNECTED, 703 NOTIFICATION_NOTIFY_BALLOON_DISCONNECTED,
704 704
705 // This notification is sent when an image is downloaded by a background
706 // process for the sake of notifications for an image.
707 NOTIFICATION_NOTIFY_BITMAP_FETCH_COMPLETE,
dcheng 2013/05/22 19:38:35 Is it possible to make this change without adding
Pete Williamson 2013/05/23 16:47:29 I will need to listen to this notification in the
dcheng 2013/05/23 19:32:25 I would suggest using the delegate or observer pat
708
705 // Upgrade notifications --------------------------------------------------- 709 // Upgrade notifications ---------------------------------------------------
706 710
707 // Sent when Chrome believes an update has been installed and available for 711 // Sent when Chrome believes an update has been installed and available for
708 // long enough with the user shutting down to let it take effect. See 712 // long enough with the user shutting down to let it take effect. See
709 // upgrade_detector.cc for details on how long it waits. No details are 713 // upgrade_detector.cc for details on how long it waits. No details are
710 // expected. 714 // expected.
711 NOTIFICATION_UPGRADE_RECOMMENDED, 715 NOTIFICATION_UPGRADE_RECOMMENDED,
712 716
713 // Sent when a critical update has been installed. No details are expected. 717 // Sent when a critical update has been installed. No details are expected.
714 NOTIFICATION_CRITICAL_UPGRADE_INSTALLED, 718 NOTIFICATION_CRITICAL_UPGRADE_INSTALLED,
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
1245 // Note:- 1249 // Note:-
1246 // Currently only Content and Chrome define and use notifications. 1250 // Currently only Content and Chrome define and use notifications.
1247 // Custom notifications not belonging to Content and Chrome should start 1251 // Custom notifications not belonging to Content and Chrome should start
1248 // from here. 1252 // from here.
1249 NOTIFICATION_CHROME_END, 1253 NOTIFICATION_CHROME_END,
1250 }; 1254 };
1251 1255
1252 } // namespace chrome 1256 } // namespace chrome
1253 1257
1254 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 1258 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698