| 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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 701 // Note:- | 696 // Note:- |
| 702 // Currently only Content and Chrome define and use notifications. | 697 // Currently only Content and Chrome define and use notifications. |
| 703 // Custom notifications not belonging to Content and Chrome should start | 698 // Custom notifications not belonging to Content and Chrome should start |
| 704 // from here. | 699 // from here. |
| 705 NOTIFICATION_CHROME_END, | 700 NOTIFICATION_CHROME_END, |
| 706 }; | 701 }; |
| 707 | 702 |
| 708 } // namespace chrome | 703 } // namespace chrome |
| 709 | 704 |
| 710 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 705 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |