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

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

Issue 7432006: Add an experimental permissions API for extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix clang Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/common/extensions/api/extension_api.json » ('j') | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_CHROME_NOTIFICATION_TYPES_H_ 5 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/common/content_notification_types.h" 9 #include "content/common/content_notification_types.h"
10 10
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 NOTIFICATION_EXTENSIONS_READY, 421 NOTIFICATION_EXTENSIONS_READY,
422 422
423 // Sent when a new extension is loaded. The details are an Extension, and 423 // Sent when a new extension is loaded. The details are an Extension, and
424 // the source is a Profile. 424 // the source is a Profile.
425 NOTIFICATION_EXTENSION_LOADED, 425 NOTIFICATION_EXTENSION_LOADED,
426 426
427 // Sent when attempting to load a new extension, but they are disabled. The 427 // Sent when attempting to load a new extension, but they are disabled. The
428 // details are an Extension*, and the source is a Profile*. 428 // details are an Extension*, and the source is a Profile*.
429 NOTIFICATION_EXTENSION_UPDATE_DISABLED, 429 NOTIFICATION_EXTENSION_UPDATE_DISABLED,
430 430
431 // Sent when an extension's permissions change. The details are an
432 // UpdatedExtensionPermissionsInfo, and the source is a Profile.
433 NOTIFICATION_EXTENSION_PERMISSIONS_UPDATED,
434
431 // Sent when an extension is about to be installed so we can (in the case of 435 // Sent when an extension is about to be installed so we can (in the case of
432 // themes) alert the user with a loading dialog. The source is the download 436 // themes) alert the user with a loading dialog. The source is the download
433 // manager and the details are the download url. 437 // manager and the details are the download url.
434 NOTIFICATION_EXTENSION_READY_FOR_INSTALL, 438 NOTIFICATION_EXTENSION_READY_FOR_INSTALL,
435 439
436 // Sent when an extension install turns out to not be a theme. 440 // Sent when an extension install turns out to not be a theme.
437 NOTIFICATION_NO_THEME_DETECTED, 441 NOTIFICATION_NO_THEME_DETECTED,
438 442
439 // Sent when new extensions are installed. The details are an Extension, and 443 // Sent when new extensions are installed. The details are an Extension, and
440 // the source is a Profile. 444 // the source is a Profile.
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
936 // Currently only Content and Chrome define and use notifications. 940 // Currently only Content and Chrome define and use notifications.
937 // Custom notifications not belonging to Content and Chrome should start 941 // Custom notifications not belonging to Content and Chrome should start
938 // from here. 942 // from here.
939 NOTIFICATION_CHROME_END, 943 NOTIFICATION_CHROME_END,
940 }; 944 };
941 945
942 } // namespace chrome 946 } // namespace chrome
943 947
944 948
945 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 949 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/common/extensions/api/extension_api.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698