OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
6 #define CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 6 #define CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 // This file describes various types used to describe and filter notifications | 9 // This file describes various types used to describe and filter notifications |
10 // that pass through the NotificationService. | 10 // that pass through the NotificationService. |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 | 376 |
377 // Sent before the repost form warning is brought up. | 377 // Sent before the repost form warning is brought up. |
378 // The source is a NavigationController. | 378 // The source is a NavigationController. |
379 NOTIFICATION_REPOST_WARNING_SHOWN, | 379 NOTIFICATION_REPOST_WARNING_SHOWN, |
380 | 380 |
381 // Sent when the zoom level changes. The source is the HostZoomMap. The | 381 // Sent when the zoom level changes. The source is the HostZoomMap. The |
382 // details is a string of the hostname for which the zoom changed. In case | 382 // details is a string of the hostname for which the zoom changed. In case |
383 // of a temporary zoom level change, the details is an empty string. | 383 // of a temporary zoom level change, the details is an empty string. |
384 NOTIFICATION_ZOOM_LEVEL_CHANGED, | 384 NOTIFICATION_ZOOM_LEVEL_CHANGED, |
385 | 385 |
| 386 // Sent when a session storage is associated to a tab. The details are in a |
| 387 // Details<SessionStorageAssociatedDetails>. |
| 388 NOTIFICATION_SESSION_STORAGE_ASSOCIATED, |
| 389 |
386 // Custom notifications used by the embedder should start from here. | 390 // Custom notifications used by the embedder should start from here. |
387 NOTIFICATION_CONTENT_END, | 391 NOTIFICATION_CONTENT_END, |
388 }; | 392 }; |
389 | 393 |
390 } // namespace content | 394 } // namespace content |
391 | 395 |
392 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 396 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
OLD | NEW |