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

Side by Side Diff: chrome/common/extensions/extension.h

Issue 432005: Make notifications permission available in the extension manifest and hook up... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_EXTENSIONS_EXTENSION_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_H_
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // Icon sizes used by the extension system. 66 // Icon sizes used by the extension system.
67 static const int kIconSizes[]; 67 static const int kIconSizes[];
68 68
69 // Max size (both dimensions) for browser and page actions. 69 // Max size (both dimensions) for browser and page actions.
70 static const int kPageActionIconMaxSize; 70 static const int kPageActionIconMaxSize;
71 static const int kBrowserActionIconMaxSize; 71 static const int kBrowserActionIconMaxSize;
72 72
73 // Each permission is a module that the extension is permitted to use. 73 // Each permission is a module that the extension is permitted to use.
74 static const char* kTabPermission; 74 static const char* kTabPermission;
75 static const char* kBookmarkPermission; 75 static const char* kBookmarkPermission;
76 static const char* kNotificationPermission;
76 77
77 static const char* kPermissionNames[]; 78 static const char* kPermissionNames[];
78 static const size_t kNumPermissions; 79 static const size_t kNumPermissions;
79 80
80 // Experimental extension APIs are guarded by the following flag. 81 // Experimental extension APIs are guarded by the following flag.
81 static const char* kExperimentalName; 82 static const char* kExperimentalName;
82 83
83 struct PrivacyBlacklistInfo { 84 struct PrivacyBlacklistInfo {
84 FilePath path; // Path to the plain-text blacklist. 85 FilePath path; // Path to the plain-text blacklist.
85 }; 86 };
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 417
417 // True if the background page is ready. 418 // True if the background page is ready.
418 bool background_page_ready_; 419 bool background_page_ready_;
419 420
420 FRIEND_TEST(ExtensionTest, LoadPageActionHelper); 421 FRIEND_TEST(ExtensionTest, LoadPageActionHelper);
421 422
422 DISALLOW_COPY_AND_ASSIGN(Extension); 423 DISALLOW_COPY_AND_ASSIGN(Extension);
423 }; 424 };
424 425
425 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 426 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698