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

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

Issue 2893693002: Remove NOTIFICATION_EXTENSION_ENABLED. (Closed)
Patch Set: address comments Created 3 years, 6 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 | « extensions/browser/events/lazy_event_dispatch_util.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 <string> 8 #include <string>
9 9
10 #include "content/public/browser/notification_types.h" 10 #include "content/public/browser/notification_types.h"
(...skipping 20 matching lines...) Expand all
31 // testing scenarios this can happen multiple times if extensions are 31 // testing scenarios this can happen multiple times if extensions are
32 // unloaded and reloaded. The source is a BrowserContext*. 32 // unloaded and reloaded. The source is a BrowserContext*.
33 // 33 //
34 // DEPRECATED: Use ExtensionSystem::Get(browser_context)->ready().Post(). 34 // DEPRECATED: Use ExtensionSystem::Get(browser_context)->ready().Post().
35 NOTIFICATION_EXTENSIONS_READY_DEPRECATED, 35 NOTIFICATION_EXTENSIONS_READY_DEPRECATED,
36 36
37 // An error occured while attempting to load an extension. The details are a 37 // An error occured while attempting to load an extension. The details are a
38 // string with details about why the load failed. 38 // string with details about why the load failed.
39 NOTIFICATION_EXTENSION_LOAD_ERROR, 39 NOTIFICATION_EXTENSION_LOAD_ERROR,
40 40
41 // Sent when an extension is enabled. Under most circumstances, listeners will
42 // want to use ExtensionRegistryObserver::OnExtensionLoaded(). This
43 // notification is only fired when the "Enable" button is hit in the
44 // extensions tab. The details are an Extension, and the source is a
45 // BrowserContext*.
46 NOTIFICATION_EXTENSION_ENABLED,
47
48 // Sent when attempting to load a new extension, but they are disabled. The 41 // Sent when attempting to load a new extension, but they are disabled. The
49 // details are an Extension, and the source is a BrowserContext*. 42 // details are an Extension, and the source is a BrowserContext*.
50 NOTIFICATION_EXTENSION_UPDATE_DISABLED, 43 NOTIFICATION_EXTENSION_UPDATE_DISABLED,
51 44
52 // Sent when an extension's permissions change. The details are an 45 // Sent when an extension's permissions change. The details are an
53 // UpdatedExtensionPermissionsInfo, and the source is a BrowserContext*. 46 // UpdatedExtensionPermissionsInfo, and the source is a BrowserContext*.
54 NOTIFICATION_EXTENSION_PERMISSIONS_UPDATED, 47 NOTIFICATION_EXTENSION_PERMISSIONS_UPDATED,
55 48
56 // An error occured during extension install. The details are a string with 49 // An error occured during extension install. The details are a string with
57 // details about why the install failed. 50 // details about why the install failed.
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 const std::string& accelerator); 172 const std::string& accelerator);
180 173
181 std::string extension_id; 174 std::string extension_id;
182 std::string command_name; 175 std::string command_name;
183 std::string accelerator; 176 std::string accelerator;
184 }; 177 };
185 178
186 } // namespace extensions 179 } // namespace extensions
187 180
188 #endif // EXTENSIONS_BROWSER_NOTIFICATION_TYPES_H_ 181 #endif // EXTENSIONS_BROWSER_NOTIFICATION_TYPES_H_
OLDNEW
« no previous file with comments | « extensions/browser/events/lazy_event_dispatch_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698