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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 | 249 |
250 // Sent when a URL has been added or modified. This is used by the in-memory | 250 // Sent when a URL has been added or modified. This is used by the in-memory |
251 // URL database and the InMemoryURLIndex (both used by autocomplete) to track | 251 // URL database and the InMemoryURLIndex (both used by autocomplete) to track |
252 // changes to the main history system. | 252 // changes to the main history system. |
253 // | 253 // |
254 // The source is the profile owning the history service that changed, and | 254 // The source is the profile owning the history service that changed, and |
255 // the details is history::URLsModifiedDetails that lists the modified or | 255 // the details is history::URLsModifiedDetails that lists the modified or |
256 // added URLs. | 256 // added URLs. |
257 NOTIFICATION_HISTORY_URLS_MODIFIED, | 257 NOTIFICATION_HISTORY_URLS_MODIFIED, |
258 | 258 |
259 // Sent when the user visits a URL. | |
260 // | |
261 // The source is the profile owning the history service that changed, and | |
262 // the details is history::URLVisitedDetails. | |
263 NOTIFICATION_HISTORY_URL_VISITED, | |
264 | |
265 // Sent when one or more URLs are deleted. | 259 // Sent when one or more URLs are deleted. |
266 // | 260 // |
267 // The source is the profile owning the history service that changed, and | 261 // The source is the profile owning the history service that changed, and |
268 // the details is history::URLsDeletedDetails that lists the deleted URLs. | 262 // the details is history::URLsDeletedDetails that lists the deleted URLs. |
269 NOTIFICATION_HISTORY_URLS_DELETED, | 263 NOTIFICATION_HISTORY_URLS_DELETED, |
270 | 264 |
271 // Sent when a keyword search term is updated. The source is the Profile and | 265 // Sent when a keyword search term is updated. The source is the Profile and |
272 // the details is history::KeywordSearchUpdatedDetails. | 266 // the details is history::KeywordSearchUpdatedDetails. |
273 NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_UPDATED, | 267 NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_UPDATED, |
274 | 268 |
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
695 // Note:- | 689 // Note:- |
696 // Currently only Content and Chrome define and use notifications. | 690 // Currently only Content and Chrome define and use notifications. |
697 // Custom notifications not belonging to Content and Chrome should start | 691 // Custom notifications not belonging to Content and Chrome should start |
698 // from here. | 692 // from here. |
699 NOTIFICATION_CHROME_END, | 693 NOTIFICATION_CHROME_END, |
700 }; | 694 }; |
701 | 695 |
702 } // namespace chrome | 696 } // namespace chrome |
703 | 697 |
704 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 698 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |