Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 333 | 333 |
| 334 // Sent when a non-default setting in the the notification content settings | 334 // Sent when a non-default setting in the the notification content settings |
| 335 // map has changed. The source is the DesktopNotificationService, the | 335 // map has changed. The source is the DesktopNotificationService, the |
| 336 // details are None. | 336 // details are None. |
| 337 NOTIFICATION_DESKTOP_NOTIFICATION_SETTINGS_CHANGED, | 337 NOTIFICATION_DESKTOP_NOTIFICATION_SETTINGS_CHANGED, |
| 338 | 338 |
| 339 // Sent when content settings change for a tab. The source is a | 339 // Sent when content settings change for a tab. The source is a |
| 340 // content::WebContents object, the details are None. | 340 // content::WebContents object, the details are None. |
| 341 NOTIFICATION_WEB_CONTENT_SETTINGS_CHANGED, | 341 NOTIFICATION_WEB_CONTENT_SETTINGS_CHANGED, |
| 342 | 342 |
| 343 // Sidebar ----------------------------------------------------------------- | |
|
Devlin
2015/05/27 16:51:05
We're working "hard" (read: we really want to, but
| |
| 344 | |
| 345 // Sent when the sidebar state is changed. | |
| 346 // The source is a SidebarManager instance, the details are the changed | |
| 347 // SidebarContainer object. | |
| 348 NOTIFICATION_SIDEBAR_CHANGED, | |
| 349 | |
| 343 // Sync -------------------------------------------------------------------- | 350 // Sync -------------------------------------------------------------------- |
| 344 | 351 |
| 345 // The sync service has finished the datatype configuration process. The | 352 // The sync service has finished the datatype configuration process. The |
| 346 // source is the ProfileSyncService object of the Profile. There are no | 353 // source is the ProfileSyncService object of the Profile. There are no |
| 347 // details. | 354 // details. |
| 348 NOTIFICATION_SYNC_CONFIGURE_DONE, | 355 NOTIFICATION_SYNC_CONFIGURE_DONE, |
| 349 | 356 |
| 350 // A service is requesting a sync datatype refresh for the current profile. | 357 // A service is requesting a sync datatype refresh for the current profile. |
| 351 // The details value is a const syncer::ModelTypeSet. | 358 // The details value is a const syncer::ModelTypeSet. |
| 352 // If the payload map is empty, it should be treated as an invalidation for | 359 // If the payload map is empty, it should be treated as an invalidation for |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 599 // Note:- | 606 // Note:- |
| 600 // Currently only Content and Chrome define and use notifications. | 607 // Currently only Content and Chrome define and use notifications. |
| 601 // Custom notifications not belonging to Content and Chrome should start | 608 // Custom notifications not belonging to Content and Chrome should start |
| 602 // from here. | 609 // from here. |
| 603 NOTIFICATION_CHROME_END, | 610 NOTIFICATION_CHROME_END, |
| 604 }; | 611 }; |
| 605 | 612 |
| 606 } // namespace chrome | 613 } // namespace chrome |
| 607 | 614 |
| 608 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 615 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |