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

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

Issue 845013002: Remove TopSites notification in favor of Observers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing typo causing compilation issues on win Created 5 years, 11 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 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 9
10 #if defined(ENABLE_EXTENSIONS) 10 #if defined(ENABLE_EXTENSIONS)
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 267
268 // Sent before a Profile is destroyed. This notification is sent both for 268 // Sent before a Profile is destroyed. This notification is sent both for
269 // normal and OTR profiles. 269 // normal and OTR profiles.
270 // The details are none and the source is a Profile*. 270 // The details are none and the source is a Profile*.
271 NOTIFICATION_PROFILE_DESTROYED, 271 NOTIFICATION_PROFILE_DESTROYED,
272 272
273 // Sent after the URLRequestContextGetter for a Profile has been initialized. 273 // Sent after the URLRequestContextGetter for a Profile has been initialized.
274 // The details are none and the source is a Profile*. 274 // The details are none and the source is a Profile*.
275 NOTIFICATION_PROFILE_URL_REQUEST_CONTEXT_GETTER_INITIALIZED, 275 NOTIFICATION_PROFILE_URL_REQUEST_CONTEXT_GETTER_INITIALIZED,
276 276
277 // TopSites ----------------------------------------------------------------
278
279 // Sent by TopSites when it finishes loading. The source is the profile the
280 // details the TopSites.
281 NOTIFICATION_TOP_SITES_LOADED,
282
283 // Sent by TopSites when the either one of the most visited urls changed, or
284 // one of the images changes. The source is the TopSites, the details not
285 // used.
286 NOTIFICATION_TOP_SITES_CHANGED,
287
288 // Task Manager ------------------------------------------------------------ 277 // Task Manager ------------------------------------------------------------
289 278
290 // Sent when a renderer process is notified of new v8 heap statistics. The 279 // Sent when a renderer process is notified of new v8 heap statistics. The
291 // source is the ID of the renderer process, and the details are a 280 // source is the ID of the renderer process, and the details are a
292 // V8HeapStatsDetails object. 281 // V8HeapStatsDetails object.
293 NOTIFICATION_RENDERER_V8_HEAP_STATS_COMPUTED, 282 NOTIFICATION_RENDERER_V8_HEAP_STATS_COMPUTED,
294 283
295 // Non-history storage services -------------------------------------------- 284 // Non-history storage services --------------------------------------------
296 285
297 // The state of a web resource has been changed. A resource may have been 286 // The state of a web resource has been changed. A resource may have been
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 // Note:- 648 // Note:-
660 // Currently only Content and Chrome define and use notifications. 649 // Currently only Content and Chrome define and use notifications.
661 // Custom notifications not belonging to Content and Chrome should start 650 // Custom notifications not belonging to Content and Chrome should start
662 // from here. 651 // from here.
663 NOTIFICATION_CHROME_END, 652 NOTIFICATION_CHROME_END,
664 }; 653 };
665 654
666 } // namespace chrome 655 } // namespace chrome
667 656
668 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ 657 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698