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 | 7 |
8 // This file describes various types used to describe and filter notifications | 8 // This file describes various types used to describe and filter notifications |
9 // that pass through the NotificationService. | 9 // that pass through the NotificationService. |
10 // | 10 // |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 // register for AllSources() to receive this notification. The details are | 350 // register for AllSources() to receive this notification. The details are |
351 // in a Details<ChildProcessData>. | 351 // in a Details<ChildProcessData>. |
352 NOTIFICATION_CHILD_INSTANCE_CREATED, | 352 NOTIFICATION_CHILD_INSTANCE_CREATED, |
353 | 353 |
354 // Miscellaneous ------------------------------------------------------------- | 354 // Miscellaneous ------------------------------------------------------------- |
355 | 355 |
356 // Sent before the repost form warning is brought up. | 356 // Sent before the repost form warning is brought up. |
357 // The source is a NavigationController. | 357 // The source is a NavigationController. |
358 NOTIFICATION_REPOST_WARNING_SHOWN, | 358 NOTIFICATION_REPOST_WARNING_SHOWN, |
359 | 359 |
360 // Sent when the zoom level changes. The source is the HostZoomMap. The | |
361 // details is a string of the hostname for which the zoom changed. In case | |
362 // of a temporary zoom level change, the details is an empty string. | |
363 NOTIFICATION_ZOOM_LEVEL_CHANGED, | |
364 | |
365 // Custom notifications used by the embedder should start from here. | 360 // Custom notifications used by the embedder should start from here. |
366 NOTIFICATION_CONTENT_END, | 361 NOTIFICATION_CONTENT_END, |
367 }; | 362 }; |
368 | 363 |
369 } // namespace content | 364 } // namespace content |
370 | 365 |
371 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 366 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
OLD | NEW |