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

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

Issue 475813004: Clean up NOTIFICATION_EXTENSION_PAGE_ACTION_[ COUNT | VISIBILITY ]_CHANGED (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master for CQ Created 6 years, 4 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
« no previous file with comments | « chrome/browser/ui/views/location_bar/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 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 a page action's visibility has changed. The source is the 129 // Sent when the page actions have been updated. The source is a WebContents*,
130 // ExtensionAction* that changed. The details are a WebContents*. 130 // and there are no details.
131 NOTIFICATION_EXTENSION_PAGE_ACTION_VISIBILITY_CHANGED, 131 NOTIFICATION_EXTENSION_PAGE_ACTIONS_UPDATED,
132 132
133 // Sent when an extension command has been removed. The source is the 133 // 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 134 // 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). 135 // (an extension ID and the name of the command being removed).
136 NOTIFICATION_EXTENSION_COMMAND_REMOVED, 136 NOTIFICATION_EXTENSION_COMMAND_REMOVED,
137 137
138 // Sent when an extension command has been added. The source is the 138 // 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 139 // 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). 140 // (an extension ID and the name of the command being added).
141 NOTIFICATION_EXTENSION_COMMAND_ADDED, 141 NOTIFICATION_EXTENSION_COMMAND_ADDED,
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 207
208 // Sent when there are new user scripts available. The details are a 208 // Sent when there are new user scripts available. The details are a
209 // pointer to SharedMemory containing the new scripts. 209 // pointer to SharedMemory containing the new scripts.
210 NOTIFICATION_USER_SCRIPTS_UPDATED, 210 NOTIFICATION_USER_SCRIPTS_UPDATED,
211 NOTIFICATION_EXTENSIONS_END 211 NOTIFICATION_EXTENSIONS_END
212 }; 212 };
213 213
214 } // namespace extensions 214 } // namespace extensions
215 215
216 #endif // EXTENSIONS_BROWSER_NOTIFICATION_TYPES_H_ 216 #endif // EXTENSIONS_BROWSER_NOTIFICATION_TYPES_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/location_bar/location_bar_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698