| 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 #include "extensions/features/features.h" | 9 #include "extensions/features/features.h" |
| 10 | 10 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 #if defined(USE_AURA) | 76 #if defined(USE_AURA) |
| 77 // The user has changed the fling curve configuration. | 77 // The user has changed the fling curve configuration. |
| 78 // Source<GesturePrefsObserver>. There are no details. | 78 // Source<GesturePrefsObserver>. There are no details. |
| 79 NOTIFICATION_BROWSER_FLING_CURVE_PARAMETERS_CHANGED, | 79 NOTIFICATION_BROWSER_FLING_CURVE_PARAMETERS_CHANGED, |
| 80 #endif // defined(USE_AURA) | 80 #endif // defined(USE_AURA) |
| 81 | 81 |
| 82 // Sent when the renderer returns focus to the browser, as part of focus | 82 // Sent when the renderer returns focus to the browser, as part of focus |
| 83 // traversal. The source is the browser, there are no details. | 83 // traversal. The source is the browser, there are no details. |
| 84 NOTIFICATION_FOCUS_RETURNED_TO_BROWSER, | 84 NOTIFICATION_FOCUS_RETURNED_TO_BROWSER, |
| 85 | 85 |
| 86 // A new tab is created from an existing tab to serve as a target of a | |
| 87 // navigation that is about to happen. The source will be a Source<Profile> | |
| 88 // corresponding to the profile in which the new tab will live. Details in | |
| 89 // the form of a RetargetingDetails object are provided. | |
| 90 NOTIFICATION_RETARGETING, | |
| 91 | |
| 92 // Application-wide ---------------------------------------------------------- | 86 // Application-wide ---------------------------------------------------------- |
| 93 | 87 |
| 94 // This message is sent when the application is terminating (the last | 88 // This message is sent when the application is terminating (the last |
| 95 // browser window has shutdown as part of an explicit user-initiated exit, | 89 // browser window has shutdown as part of an explicit user-initiated exit, |
| 96 // or the user closed the last browser window on Windows/Linux and there are | 90 // or the user closed the last browser window on Windows/Linux and there are |
| 97 // no BackgroundContents keeping the browser running). No source or details | 91 // no BackgroundContents keeping the browser running). No source or details |
| 98 // are passed. | 92 // are passed. |
| 99 NOTIFICATION_APP_TERMINATING, | 93 NOTIFICATION_APP_TERMINATING, |
| 100 | 94 |
| 101 #if defined(OS_MACOSX) | 95 #if defined(OS_MACOSX) |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 475 // Note:- | 469 // Note:- |
| 476 // Currently only Content and Chrome define and use notifications. | 470 // Currently only Content and Chrome define and use notifications. |
| 477 // Custom notifications not belonging to Content and Chrome should start | 471 // Custom notifications not belonging to Content and Chrome should start |
| 478 // from here. | 472 // from here. |
| 479 NOTIFICATION_CHROME_END, | 473 NOTIFICATION_CHROME_END, |
| 480 }; | 474 }; |
| 481 | 475 |
| 482 } // namespace chrome | 476 } // namespace chrome |
| 483 | 477 |
| 484 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 478 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |