| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 859 // test. | 859 // test. |
| 860 EXTENSION_TEST_PASSED, | 860 EXTENSION_TEST_PASSED, |
| 861 EXTENSION_TEST_FAILED, | 861 EXTENSION_TEST_FAILED, |
| 862 | 862 |
| 863 // Sent when an bookmarks extensions API function was successfully invoked. | 863 // Sent when an bookmarks extensions API function was successfully invoked. |
| 864 // The source is the id of the extension that invoked the function, and the | 864 // The source is the id of the extension that invoked the function, and the |
| 865 // details are a pointer to the const BookmarksFunction in question. | 865 // details are a pointer to the const BookmarksFunction in question. |
| 866 EXTENSION_BOOKMARKS_API_INVOKED, | 866 EXTENSION_BOOKMARKS_API_INVOKED, |
| 867 | 867 |
| 868 // Sent when an omnibox extension has sent back omnibox suggestions. The | 868 // Sent when an omnibox extension has sent back omnibox suggestions. The |
| 869 // source is the profile, and the details are a | 869 // source is the profile, and the details are an ExtensionOmniboxSuggestions |
| 870 // std::pair<int suggest_id, ListValue suggestions_array> | 870 // object. |
| 871 EXTENSION_OMNIBOX_SUGGESTIONS_READY, | 871 EXTENSION_OMNIBOX_SUGGESTIONS_READY, |
| 872 | 872 |
| 873 // Sent when the user accepts the input in an extension omnibox keyword |
| 874 // session. The source is the profile. |
| 875 EXTENSION_OMNIBOX_INPUT_ENTERED, |
| 876 |
| 873 // The source is the extension object that changed. Details is a bool* | 877 // The source is the extension object that changed. Details is a bool* |
| 874 // with the new visibility. | 878 // with the new visibility. |
| 875 EXTENSION_APP_TOOLBAR_VISIBILITY_CHANGED, | 879 EXTENSION_APP_TOOLBAR_VISIBILITY_CHANGED, |
| 876 | 880 |
| 877 // Privacy Blacklist ------------------------------------------------------- | 881 // Privacy Blacklist ------------------------------------------------------- |
| 878 | 882 |
| 879 // Sent on the IO thread when a non-visual resource (like a cookie) | 883 // Sent on the IO thread when a non-visual resource (like a cookie) |
| 880 // is blocked by a privacy blacklist. The details are a const URLRequest, | 884 // is blocked by a privacy blacklist. The details are a const URLRequest, |
| 881 // and the source is a const ChromeURLRequestContext. | 885 // and the source is a const ChromeURLRequestContext. |
| 882 BLACKLIST_NONVISUAL_RESOURCE_BLOCKED, | 886 BLACKLIST_NONVISUAL_RESOURCE_BLOCKED, |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1089 }; | 1093 }; |
| 1090 | 1094 |
| 1091 inline bool operator==(NotificationType::Type a, NotificationType b) { | 1095 inline bool operator==(NotificationType::Type a, NotificationType b) { |
| 1092 return a == b.value; | 1096 return a == b.value; |
| 1093 } | 1097 } |
| 1094 inline bool operator!=(NotificationType::Type a, NotificationType b) { | 1098 inline bool operator!=(NotificationType::Type a, NotificationType b) { |
| 1095 return a != b.value; | 1099 return a != b.value; |
| 1096 } | 1100 } |
| 1097 | 1101 |
| 1098 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ | 1102 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ |
| OLD | NEW |