| 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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 | 428 |
| 429 // Notification that the nested loop using during tab dragging has returned. | 429 // Notification that the nested loop using during tab dragging has returned. |
| 430 // Used for testing. | 430 // Used for testing. |
| 431 NOTIFICATION_TAB_DRAG_LOOP_DONE, | 431 NOTIFICATION_TAB_DRAG_LOOP_DONE, |
| 432 #endif | 432 #endif |
| 433 | 433 |
| 434 // Send when a context menu is shown. Used to notify tests that the context | 434 // Send when a context menu is shown. Used to notify tests that the context |
| 435 // menu has been created and shown. | 435 // menu has been created and shown. |
| 436 NOTIFICATION_RENDER_VIEW_CONTEXT_MENU_SHOWN, | 436 NOTIFICATION_RENDER_VIEW_CONTEXT_MENU_SHOWN, |
| 437 | 437 |
| 438 // Sent when the Instant Controller determines whether an Instant tab supports | |
| 439 // the Instant API or not. | |
| 440 NOTIFICATION_INSTANT_TAB_SUPPORT_DETERMINED, | |
| 441 | |
| 442 // Sent when the CaptivePortalService checks if we're behind a captive portal. | 438 // Sent when the CaptivePortalService checks if we're behind a captive portal. |
| 443 // The Source is the Profile the CaptivePortalService belongs to, and the | 439 // The Source is the Profile the CaptivePortalService belongs to, and the |
| 444 // Details are a Details<CaptivePortalService::CheckResults>. | 440 // Details are a Details<CaptivePortalService::CheckResults>. |
| 445 NOTIFICATION_CAPTIVE_PORTAL_CHECK_RESULT, | 441 NOTIFICATION_CAPTIVE_PORTAL_CHECK_RESULT, |
| 446 | 442 |
| 447 // Sent when the applications in the NTP app launcher have been reordered. | 443 // Sent when the applications in the NTP app launcher have been reordered. |
| 448 // The details, if not NoDetails, is the std::string ID of the extension that | 444 // The details, if not NoDetails, is the std::string ID of the extension that |
| 449 // was moved. | 445 // was moved. |
| 450 NOTIFICATION_APP_LAUNCHER_REORDERED, | 446 NOTIFICATION_APP_LAUNCHER_REORDERED, |
| 451 | 447 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 497 // Note:- | 493 // Note:- |
| 498 // Currently only Content and Chrome define and use notifications. | 494 // Currently only Content and Chrome define and use notifications. |
| 499 // Custom notifications not belonging to Content and Chrome should start | 495 // Custom notifications not belonging to Content and Chrome should start |
| 500 // from here. | 496 // from here. |
| 501 NOTIFICATION_CHROME_END, | 497 NOTIFICATION_CHROME_END, |
| 502 }; | 498 }; |
| 503 | 499 |
| 504 } // namespace chrome | 500 } // namespace chrome |
| 505 | 501 |
| 506 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 502 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |