summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-28 17:25:25 +0000
committerevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-28 17:25:25 +0000
commit04fba9a91d7f46a517f67e1f3f10625ba589b8cc (patch)
treeca6581ca8d4a70ed21f3331c5510958993333416 /chrome/common
parent6a32e8ffd786f1d8da89fba7ca72f2ed3cf5209b (diff)
downloadchromium_src-04fba9a91d7f46a517f67e1f3f10625ba589b8cc.zip
chromium_src-04fba9a91d7f46a517f67e1f3f10625ba589b8cc.tar.gz
chromium_src-04fba9a91d7f46a517f67e1f3f10625ba589b8cc.tar.bz2
- Make user script loading asynchronous on the file thread.
- Automatically reload scripts when the directory changes. - Add a unit test for the GreasemonkeyMaster. Review URL: http://codereview.chromium.org/7472 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4069 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/notification_types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/common/notification_types.h b/chrome/common/notification_types.h
index 29ba6e1..05160bb 100644
--- a/chrome/common/notification_types.h
+++ b/chrome/common/notification_types.h
@@ -477,6 +477,12 @@ enum NotificationType {
// Personalization -----------------------------------------------------------
NOTIFY_PERSONALIZATION,
+ // Greasemonkey user scripts -------------------------------------------------
+
+ // Sent when there are new user scripts available.
+ // The details are a pointer to SharedMemory containing the new scripts.
+ NOTIFY_NEW_USER_SCRIPTS,
+
// Count (must be last) ------------------------------------------------------
// Used to determine the number of notification types. Not valid as
// a type parameter when registering for or posting notifications.