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 #include "extensions/browser/notification_types.h" | 9 #include "extensions/browser/notification_types.h" |
10 | 10 |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 NOTIFICATION_HISTORY_URLS_DELETED, | 256 NOTIFICATION_HISTORY_URLS_DELETED, |
257 | 257 |
258 // Sent when a keyword search term is updated. The source is the Profile and | 258 // Sent when a keyword search term is updated. The source is the Profile and |
259 // the details is history::KeywordSearchUpdatedDetails. | 259 // the details is history::KeywordSearchUpdatedDetails. |
260 NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_UPDATED, | 260 NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_UPDATED, |
261 | 261 |
262 // Sent when a keyword search term is deleted. The source is the Profile and | 262 // Sent when a keyword search term is deleted. The source is the Profile and |
263 // the details is history::KeywordSearchDeletedDetails. | 263 // the details is history::KeywordSearchDeletedDetails. |
264 NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_DELETED, | 264 NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_DELETED, |
265 | 265 |
266 // Sent by history when the favicon of a URL changes. The source is the | |
267 // profile, and the details is FaviconChangedDetails (see | |
268 // chrome/browser/favicon/favicon_changed_details.h). | |
269 NOTIFICATION_FAVICON_CHANGED, | |
270 | |
271 // Sent by FaviconTabHelper when a tab's favicon has been successfully | 266 // Sent by FaviconTabHelper when a tab's favicon has been successfully |
272 // updated. The details are a bool indicating whether the | 267 // updated. The details are a bool indicating whether the |
273 // NavigationEntry's favicon URL has changed since the previous | 268 // NavigationEntry's favicon URL has changed since the previous |
274 // NOTIFICATION_FAVICON_UPDATED notification. The details are true if | 269 // NOTIFICATION_FAVICON_UPDATED notification. The details are true if |
275 // there was no previous NOTIFICATION_FAVICON_UPDATED notification for the | 270 // there was no previous NOTIFICATION_FAVICON_UPDATED notification for the |
276 // current NavigationEntry. | 271 // current NavigationEntry. |
277 NOTIFICATION_FAVICON_UPDATED, | 272 NOTIFICATION_FAVICON_UPDATED, |
278 | 273 |
279 // Profiles ----------------------------------------------------------------- | 274 // Profiles ----------------------------------------------------------------- |
280 | 275 |
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
697 // Note:- | 692 // Note:- |
698 // Currently only Content and Chrome define and use notifications. | 693 // Currently only Content and Chrome define and use notifications. |
699 // Custom notifications not belonging to Content and Chrome should start | 694 // Custom notifications not belonging to Content and Chrome should start |
700 // from here. | 695 // from here. |
701 NOTIFICATION_CHROME_END, | 696 NOTIFICATION_CHROME_END, |
702 }; | 697 }; |
703 | 698 |
704 } // namespace chrome | 699 } // namespace chrome |
705 | 700 |
706 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 701 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |