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

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: . Created 9 years, 5 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
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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 NOTIFICATION_EXTENSIONS_READY, 428 NOTIFICATION_EXTENSIONS_READY,
429 429
430 // Sent when a new extension is loaded. The details are an Extension, and 430 // Sent when a new extension is loaded. The details are an Extension, and
431 // the source is a Profile. 431 // the source is a Profile.
432 NOTIFICATION_EXTENSION_LOADED, 432 NOTIFICATION_EXTENSION_LOADED,
433 433
434 // Sent when attempting to load a new extension, but they are disabled. The 434 // Sent when attempting to load a new extension, but they are disabled. The
435 // details are an Extension*, and the source is a Profile*. 435 // details are an Extension*, and the source is a Profile*.
436 NOTIFICATION_EXTENSION_UPDATE_DISABLED, 436 NOTIFICATION_EXTENSION_UPDATE_DISABLED,
437 437
438 // Sent when an extension's permissions change. The details are an
439 // UpdatedExtensionPermissionsInfo, and the source is a Profile.
440 NOTIFICATION_EXTENSION_PERMISSIONS_UPDATED,
441
438 // Sent when an extension is about to be installed so we can (in the case of 442 // Sent when an extension is about to be installed so we can (in the case of
439 // themes) alert the user with a loading dialog. The source is the download 443 // themes) alert the user with a loading dialog. The source is the download
440 // manager and the details are the download url. 444 // manager and the details are the download url.
441 NOTIFICATION_EXTENSION_READY_FOR_INSTALL, 445 NOTIFICATION_EXTENSION_READY_FOR_INSTALL,
442 446
443 // Sent when an extension install turns out to not be a theme. 447 // Sent when an extension install turns out to not be a theme.
444 NOTIFICATION_NO_THEME_DETECTED, 448 NOTIFICATION_NO_THEME_DETECTED,
445 449
446 // Sent when new extensions are installed. The details are an Extension, and 450 // Sent when new extensions are installed. The details are an Extension, and
447 // the source is a Profile. 451 // the source is a Profile.
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
926 // Currently only Content and Chrome define and use notifications. 930 // Currently only Content and Chrome define and use notifications.
927 // Custom notifications not belonging to Content and Chrome should start 931 // Custom notifications not belonging to Content and Chrome should start
928 // from here. 932 // from here.
929 NOTIFICATION_CHROME_END, 933 NOTIFICATION_CHROME_END,
930 }; 934 };
931 935
932 } // namespace chrome 936 } // namespace chrome
933 937
934 938
935 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 939 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698