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

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

Issue 1530002: Move history API out of experimental. Allow extensions to override history page. (Closed)
Patch Set: Rebase for commit. Created 10 years, 8 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 | « chrome/common/extensions/docs/xhr.html ('k') | chrome/common/extensions/extension.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // Max size (both dimensions) for browser and page actions. 85 // Max size (both dimensions) for browser and page actions.
86 static const int kPageActionIconMaxSize; 86 static const int kPageActionIconMaxSize;
87 static const int kBrowserActionIconMaxSize; 87 static const int kBrowserActionIconMaxSize;
88 88
89 // Each permission is a module that the extension is permitted to use. 89 // Each permission is a module that the extension is permitted to use.
90 static const char* kTabPermission; 90 static const char* kTabPermission;
91 static const char* kBookmarkPermission; 91 static const char* kBookmarkPermission;
92 static const char* kNotificationPermission; 92 static const char* kNotificationPermission;
93 static const char* kExperimentalPermission; 93 static const char* kExperimentalPermission;
94 static const char* kUnlimitedStoragePermission; 94 static const char* kUnlimitedStoragePermission;
95 static const char* kHistoryPermission;
95 96
96 static const char* kPermissionNames[]; 97 static const char* kPermissionNames[];
97 static const size_t kNumPermissions; 98 static const size_t kNumPermissions;
98 99
99 // An NPAPI plugin included in the extension. 100 // An NPAPI plugin included in the extension.
100 struct PluginInfo { 101 struct PluginInfo {
101 FilePath path; // Path to the plugin. 102 FilePath path; // Path to the plugin.
102 bool is_public; // False if only this extension can load this plugin. 103 bool is_public; // False if only this extension can load this plugin.
103 }; 104 };
104 105
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 scoped_ptr<DictionaryValue> extension_manifest; 526 scoped_ptr<DictionaryValue> extension_manifest;
526 std::string extension_id; 527 std::string extension_id;
527 FilePath extension_path; 528 FilePath extension_path;
528 Extension::Location extension_location; 529 Extension::Location extension_location;
529 530
530 private: 531 private:
531 DISALLOW_COPY_AND_ASSIGN(ExtensionInfo); 532 DISALLOW_COPY_AND_ASSIGN(ExtensionInfo);
532 }; 533 };
533 534
534 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 535 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/xhr.html ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698