Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: chrome/common/notification_type.h

Issue 357003: Move the spellchecker to the renderer.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rename Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 // Sent when the bookmark bar model finishes loading. This source is the 544 // Sent when the bookmark bar model finishes loading. This source is the
545 // Profile, and the details aren't used. 545 // Profile, and the details aren't used.
546 BOOKMARK_MODEL_LOADED, 546 BOOKMARK_MODEL_LOADED,
547 547
548 // Sent when the spellchecker object changes. Note that this is not sent 548 // Sent when the spellchecker object changes. Note that this is not sent
549 // the first time the spellchecker gets initialized. The source is the 549 // the first time the spellchecker gets initialized. The source is the
550 // profile, the details is SpellcheckerReinitializedDetails defined in 550 // profile, the details is SpellcheckerReinitializedDetails defined in
551 // profile. 551 // profile.
552 SPELLCHECKER_REINITIALIZED, 552 SPELLCHECKER_REINITIALIZED,
553 553
554 #if defined(SPELLCHECKER_IN_RENDERER)
555 // Sent when SpellCheckHost has been reloaded. The source is the profile,
556 // the details are NoDetails.
557 SPELLCHECK_HOST_REINITIALIZED,
558
559 // Sent when a new word has been added to the custom dictionary. The source
560 // is the SpellCheckHost, the details are NoDetails.
561 SPELLCHECK_WORD_ADDED,
562 #endif
563
554 // Sent when the bookmark bubble is shown for a particular URL. The source 564 // Sent when the bookmark bubble is shown for a particular URL. The source
555 // is the profile, the details the URL. 565 // is the profile, the details the URL.
556 BOOKMARK_BUBBLE_SHOWN, 566 BOOKMARK_BUBBLE_SHOWN,
557 567
558 // Non-history storage services -------------------------------------------- 568 // Non-history storage services --------------------------------------------
559 569
560 // Notification that the TemplateURLModel has finished loading from the 570 // Notification that the TemplateURLModel has finished loading from the
561 // database. The source is the TemplateURLModel, and the details are 571 // database. The source is the TemplateURLModel, and the details are
562 // NoDetails. 572 // NoDetails.
563 TEMPLATE_URL_MODEL_LOADED, 573 TEMPLATE_URL_MODEL_LOADED,
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 }; 795 };
786 796
787 inline bool operator==(NotificationType::Type a, NotificationType b) { 797 inline bool operator==(NotificationType::Type a, NotificationType b) {
788 return a == b.value; 798 return a == b.value;
789 } 799 }
790 inline bool operator!=(NotificationType::Type a, NotificationType b) { 800 inline bool operator!=(NotificationType::Type a, NotificationType b) {
791 return a != b.value; 801 return a != b.value;
792 } 802 }
793 803
794 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ 804 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698