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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 // register for AllSources() to receive this notification. The details are | 329 // register for AllSources() to receive this notification. The details are |
330 // in a Details<ChildProcessData>. | 330 // in a Details<ChildProcessData>. |
331 NOTIFICATION_CHILD_INSTANCE_CREATED, | 331 NOTIFICATION_CHILD_INSTANCE_CREATED, |
332 | 332 |
333 // Miscellaneous ------------------------------------------------------------- | 333 // Miscellaneous ------------------------------------------------------------- |
334 | 334 |
335 // Sent before the repost form warning is brought up. | 335 // Sent before the repost form warning is brought up. |
336 // The source is a NavigationController. | 336 // The source is a NavigationController. |
337 NOTIFICATION_REPOST_WARNING_SHOWN, | 337 NOTIFICATION_REPOST_WARNING_SHOWN, |
338 | 338 |
339 // Sent when the zoom level changes. The source is the HostZoomMap. The | |
340 // details is a string of the hostname for which the zoom changed. In case | |
341 // of a temporary zoom level change, the details is an empty string. | |
342 NOTIFICATION_ZOOM_LEVEL_CHANGED, | |
343 | |
344 // Custom notifications used by the embedder should start from here. | 339 // Custom notifications used by the embedder should start from here. |
345 NOTIFICATION_CONTENT_END, | 340 NOTIFICATION_CONTENT_END, |
346 }; | 341 }; |
347 | 342 |
348 } // namespace content | 343 } // namespace content |
349 | 344 |
350 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 345 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
OLD | NEW |