Chromium Code Reviews| 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 CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| 6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "content/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
| 10 | 10 |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 199 // the LoginHandler that should be cancelled. | 199 // the LoginHandler that should be cancelled. |
| 200 NOTIFICATION_AUTH_CANCELLED, | 200 NOTIFICATION_AUTH_CANCELLED, |
| 201 | 201 |
| 202 // History ----------------------------------------------------------------- | 202 // History ----------------------------------------------------------------- |
| 203 | 203 |
| 204 // Sent when a history service has finished loading. The source is the | 204 // Sent when a history service has finished loading. The source is the |
| 205 // profile that the history service belongs to, and the details is the | 205 // profile that the history service belongs to, and the details is the |
| 206 // HistoryService. | 206 // HistoryService. |
| 207 NOTIFICATION_HISTORY_LOADED, | 207 NOTIFICATION_HISTORY_LOADED, |
| 208 | 208 |
| 209 // Sent when a URL that has been typed has been added or modified. This is | 209 // Sent when a URL has been added or modified. This is used by the in-memory |
| 210 // used by the in-memory URL database (used by autocomplete) to track | 210 // URL database and the InMemoruURLIndex (both used by autocomplete) to track |
|
Peter Kasting
2012/04/10 02:18:57
Nit: typo
mrossetti
2012/04/11 19:38:55
Done.
| |
| 211 // changes to the main history system. | 211 // changes to the main history system. |
| 212 // | 212 // |
| 213 // The source is the profile owning the history service that changed, and | 213 // The source is the profile owning the history service that changed, and |
| 214 // the details is history::URLsModifiedDetails that lists the modified or | 214 // the details is history::URLsModifiedDetails that lists the modified or |
| 215 // added URLs. | 215 // added URLs. |
| 216 NOTIFICATION_HISTORY_TYPED_URLS_MODIFIED, | 216 NOTIFICATION_HISTORY_URLS_MODIFIED, |
| 217 | 217 |
| 218 // Sent when the user visits a URL. | 218 // Sent when the user visits a URL. |
| 219 // | 219 // |
| 220 // The source is the profile owning the history service that changed, and | 220 // The source is the profile owning the history service that changed, and |
| 221 // the details is history::URLVisitedDetails. | 221 // the details is history::URLVisitedDetails. |
| 222 NOTIFICATION_HISTORY_URL_VISITED, | 222 NOTIFICATION_HISTORY_URL_VISITED, |
| 223 | 223 |
| 224 // Sent when one or more URLs are deleted. | 224 // Sent when one or more URLs are deleted. |
| 225 // | 225 // |
| 226 // The source is the profile owning the history service that changed, and | 226 // The source is the profile owning the history service that changed, and |
| (...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1056 // Currently only Content and Chrome define and use notifications. | 1056 // Currently only Content and Chrome define and use notifications. |
| 1057 // Custom notifications not belonging to Content and Chrome should start | 1057 // Custom notifications not belonging to Content and Chrome should start |
| 1058 // from here. | 1058 // from here. |
| 1059 NOTIFICATION_CHROME_END, | 1059 NOTIFICATION_CHROME_END, |
| 1060 }; | 1060 }; |
| 1061 | 1061 |
| 1062 } // namespace chrome | 1062 } // namespace chrome |
| 1063 | 1063 |
| 1064 | 1064 |
| 1065 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1065 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |