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

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

Issue 347016: Implement page action popups. (Closed)
Patch Set: fixed failing test 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
« no previous file with comments | « chrome/browser/views/location_bar_view.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 // Sent when the contents or order of toolstrips in the shelf model change. 700 // Sent when the contents or order of toolstrips in the shelf model change.
701 EXTENSION_SHELF_MODEL_CHANGED, 701 EXTENSION_SHELF_MODEL_CHANGED,
702 702
703 // Sent when a background page is ready so other components can load. 703 // Sent when a background page is ready so other components can load.
704 EXTENSION_BACKGROUND_PAGE_READY, 704 EXTENSION_BACKGROUND_PAGE_READY,
705 705
706 // Sent when a browser action's state has changed. The source is the 706 // Sent when a browser action's state has changed. The source is the
707 // ExtensionAction* that changed. The details are an ExtensionActionState*. 707 // ExtensionAction* that changed. The details are an ExtensionActionState*.
708 EXTENSION_BROWSER_ACTION_UPDATED, 708 EXTENSION_BROWSER_ACTION_UPDATED,
709 709
710 // Sent when a page action's visibility has changed. The source is the
711 // ExtensionAction* that changed. The details are a TabContents*.
712 EXTENSION_PAGE_ACTION_VISIBILITY_CHANGED,
713
710 // Sent by an extension to notify the browser about the results of a unit 714 // Sent by an extension to notify the browser about the results of a unit
711 // test. 715 // test.
712 EXTENSION_TEST_PASSED, 716 EXTENSION_TEST_PASSED,
713 EXTENSION_TEST_FAILED, 717 EXTENSION_TEST_FAILED,
714 718
715 // Sent when an bookmarks extensions API function was successfully invoked. 719 // Sent when an bookmarks extensions API function was successfully invoked.
716 // The source is the id of the extension that invoked the function, and the 720 // The source is the id of the extension that invoked the function, and the
717 // details are a pointer to the const BookmarksFunction in question. 721 // details are a pointer to the const BookmarksFunction in question.
718 EXTENSION_BOOKMARKS_API_INVOKED, 722 EXTENSION_BOOKMARKS_API_INVOKED,
719 723
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
773 }; 777 };
774 778
775 inline bool operator==(NotificationType::Type a, NotificationType b) { 779 inline bool operator==(NotificationType::Type a, NotificationType b) {
776 return a == b.value; 780 return a == b.value;
777 } 781 }
778 inline bool operator!=(NotificationType::Type a, NotificationType b) { 782 inline bool operator!=(NotificationType::Type a, NotificationType b) {
779 return a != b.value; 783 return a != b.value;
780 } 784 }
781 785
782 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ 786 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/location_bar_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698