Chromium Code Reviews

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

Issue 1780009: Reland: Link the name of the extension on the management page to the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « chrome/browser/resources/extensions_ui.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 258 matching lines...)
269 bool HasEffectiveBrowsingHistoryPermission() const; 269 bool HasEffectiveBrowsingHistoryPermission() const;
270 270
271 // Whether the extension has access to all hosts. This is true if there is 271 // Whether the extension has access to all hosts. This is true if there is
272 // a content script that matches all hosts, or if there is a host permission 272 // a content script that matches all hosts, or if there is a host permission
273 // for all hosts. 273 // for all hosts.
274 bool HasAccessToAllHosts() const; 274 bool HasAccessToAllHosts() const;
275 275
276 const GURL& update_url() const { return update_url_; } 276 const GURL& update_url() const { return update_url_; }
277 const std::map<int, std::string>& icons() const { return icons_; } 277 const std::map<int, std::string>& icons() const { return icons_; }
278 278
279 // Returns the Google Gallery URL for this extension, if one exists. For
280 // third-party extensions, this returns a blank GURL.
281 GURL GalleryUrl() const;
282
279 // Theme-related. 283 // Theme-related.
280 DictionaryValue* GetThemeImages() const { return theme_images_.get(); } 284 DictionaryValue* GetThemeImages() const { return theme_images_.get(); }
281 DictionaryValue* GetThemeColors() const { return theme_colors_.get(); } 285 DictionaryValue* GetThemeColors() const { return theme_colors_.get(); }
282 DictionaryValue* GetThemeTints() const { return theme_tints_.get(); } 286 DictionaryValue* GetThemeTints() const { return theme_tints_.get(); }
283 DictionaryValue* GetThemeDisplayProperties() const { 287 DictionaryValue* GetThemeDisplayProperties() const {
284 return theme_display_properties_.get(); 288 return theme_display_properties_.get();
285 } 289 }
286 bool IsTheme() const { return is_theme_; } 290 bool IsTheme() const { return is_theme_; }
287 291
288 // Returns a list of paths (relative to the extension dir) for images that 292 // Returns a list of paths (relative to the extension dir) for images that
(...skipping 247 matching lines...)
536 scoped_ptr<DictionaryValue> extension_manifest; 540 scoped_ptr<DictionaryValue> extension_manifest;
537 std::string extension_id; 541 std::string extension_id;
538 FilePath extension_path; 542 FilePath extension_path;
539 Extension::Location extension_location; 543 Extension::Location extension_location;
540 544
541 private: 545 private:
542 DISALLOW_COPY_AND_ASSIGN(ExtensionInfo); 546 DISALLOW_COPY_AND_ASSIGN(ExtensionInfo);
543 }; 547 };
544 548
545 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 549 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources/extensions_ui.html ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine