Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(947)

Side by Side Diff: chrome/common/notification_type.h

Issue 174277: override chrome:// URLs via extensions. (Closed)
Patch Set: fix linux errors Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_COMMON_NOTIFICATION_TYPE_H_ 5 #ifndef CHROME_COMMON_NOTIFICATION_TYPE_H_
6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_ 6 #define CHROME_COMMON_NOTIFICATION_TYPE_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 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
624 EXTENSION_UNLOADED_DISABLED, 624 EXTENSION_UNLOADED_DISABLED,
625 625
626 // Sent after a new ExtensionHost is created. The details are 626 // Sent after a new ExtensionHost is created. The details are
627 // an ExtensionHost* and the source is an ExtensionProcessManager*. 627 // an ExtensionHost* and the source is an ExtensionProcessManager*.
628 EXTENSION_HOST_CREATED, 628 EXTENSION_HOST_CREATED,
629 629
630 // Sent before an ExtensionHost is destroyed. The details are 630 // Sent before an ExtensionHost is destroyed. The details are
631 // an ExtensionHost* and the source is a Profile*. 631 // an ExtensionHost* and the source is a Profile*.
632 EXTENSION_HOST_DESTROYED, 632 EXTENSION_HOST_DESTROYED,
633 633
634 // Send by an ExtensionHost when it finished its initial page load.
635 // The details are an ExtensionHost* and the source is a Profile*.
636 EXTENSION_HOST_DID_STOP_LOADING,
637
634 // Sent after an extension render process is created and fully functional. 638 // Sent after an extension render process is created and fully functional.
635 // The details are an ExtensionHost*. 639 // The details are an ExtensionHost*.
636 EXTENSION_PROCESS_CREATED, 640 EXTENSION_PROCESS_CREATED,
637 641
638 // Sent when extension render process crashes. The details are 642 // Sent when extension render process crashes. The details are
639 // an ExtensionHost* and the source is an ExtensionsService*. 643 // an ExtensionHost* and the source is an ExtensionsService*.
640 EXTENSION_PROCESS_CRASHED, 644 EXTENSION_PROCESS_CRASHED,
641 645
642 // Sent when the contents or order of toolstrips in the shelf model change. 646 // Sent when the contents or order of toolstrips in the shelf model change.
643 EXTENSION_SHELF_MODEL_CHANGED, 647 EXTENSION_SHELF_MODEL_CHANGED,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 }; 680 };
677 681
678 inline bool operator==(NotificationType::Type a, NotificationType b) { 682 inline bool operator==(NotificationType::Type a, NotificationType b) {
679 return a == b.value; 683 return a == b.value;
680 } 684 }
681 inline bool operator!=(NotificationType::Type a, NotificationType b) { 685 inline bool operator!=(NotificationType::Type a, NotificationType b) {
682 return a != b.value; 686 return a != b.value;
683 } 687 }
684 688
685 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ 689 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_constants.cc ('k') | chrome/test/data/extensions/api_test/override1/api_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698