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

Side by Side Diff: extensions/browser/notification_types.h

Issue 496403003: Remove NOTIFICATION_EXTENSION_PAGE_ACTIONS_UPDATED (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Latest master for CQ Created 6 years, 3 months 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
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_BROWSER_NOTIFICATION_TYPES_H_ 5 #ifndef EXTENSIONS_BROWSER_NOTIFICATION_TYPES_H_
6 #define EXTENSIONS_BROWSER_NOTIFICATION_TYPES_H_ 6 #define EXTENSIONS_BROWSER_NOTIFICATION_TYPES_H_
7 7
8 #include "content/public/browser/notification_types.h" 8 #include "content/public/browser/notification_types.h"
9 9
10 namespace extensions { 10 namespace extensions {
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 // Sent when the count of page actions has changed. Note that some of them 119 // Sent when the count of page actions has changed. Note that some of them
120 // may not apply to the current page. The source is a LocationBar*. There 120 // may not apply to the current page. The source is a LocationBar*. There
121 // are no details. 121 // are no details.
122 NOTIFICATION_EXTENSION_PAGE_ACTION_COUNT_CHANGED, 122 NOTIFICATION_EXTENSION_PAGE_ACTION_COUNT_CHANGED,
123 123
124 // Sent when a browser action's visibility has changed. The source is the 124 // Sent when a browser action's visibility has changed. The source is the
125 // ExtensionPrefs* that changed, and the details are a std::string with the 125 // ExtensionPrefs* that changed, and the details are a std::string with the
126 // extension's ID. 126 // extension's ID.
127 NOTIFICATION_EXTENSION_BROWSER_ACTION_VISIBILITY_CHANGED, 127 NOTIFICATION_EXTENSION_BROWSER_ACTION_VISIBILITY_CHANGED,
128 128
129 // Sent when the page actions have been updated. The source is a WebContents*,
130 // and there are no details.
131 NOTIFICATION_EXTENSION_PAGE_ACTIONS_UPDATED,
132
133 // Sent when an extension command has been removed. The source is the 129 // Sent when an extension command has been removed. The source is the
134 // BrowserContext* and the details is a std::pair of two std::string objects 130 // BrowserContext* and the details is a std::pair of two std::string objects
135 // (an extension ID and the name of the command being removed). 131 // (an extension ID and the name of the command being removed).
136 NOTIFICATION_EXTENSION_COMMAND_REMOVED, 132 NOTIFICATION_EXTENSION_COMMAND_REMOVED,
137 133
138 // Sent when an extension command has been added. The source is the 134 // Sent when an extension command has been added. The source is the
139 // BrowserContext* and the details is a std::pair of two std::string objects 135 // BrowserContext* and the details is a std::pair of two std::string objects
140 // (an extension ID and the name of the command being added). 136 // (an extension ID and the name of the command being added).
141 NOTIFICATION_EXTENSION_COMMAND_ADDED, 137 NOTIFICATION_EXTENSION_COMMAND_ADDED,
142 138
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 203
208 // Sent when there are new user scripts available. The details are a 204 // Sent when there are new user scripts available. The details are a
209 // pointer to SharedMemory containing the new scripts. 205 // pointer to SharedMemory containing the new scripts.
210 NOTIFICATION_USER_SCRIPTS_UPDATED, 206 NOTIFICATION_USER_SCRIPTS_UPDATED,
211 NOTIFICATION_EXTENSIONS_END 207 NOTIFICATION_EXTENSIONS_END
212 }; 208 };
213 209
214 } // namespace extensions 210 } // namespace extensions
215 211
216 #endif // EXTENSIONS_BROWSER_NOTIFICATION_TYPES_H_ 212 #endif // EXTENSIONS_BROWSER_NOTIFICATION_TYPES_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698