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

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

Issue 10883008: Port the Extension Install Bubble changes to Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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
« no previous file with comments | « chrome/browser/ui/views/extensions/extension_installed_bubble.cc ('k') | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <algorithm> 8 #include <algorithm>
9 #include <iosfwd> 9 #include <iosfwd>
10 #include <map> 10 #include <map>
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 const std::string& public_key() const { return public_key_; } 602 const std::string& public_key() const { return public_key_; }
603 const std::string& description() const { return description_; } 603 const std::string& description() const { return description_; }
604 int manifest_version() const { return manifest_version_; } 604 int manifest_version() const { return manifest_version_; }
605 bool converted_from_user_script() const { 605 bool converted_from_user_script() const {
606 return converted_from_user_script_; 606 return converted_from_user_script_;
607 } 607 }
608 const UserScriptList& content_scripts() const { return content_scripts_; } 608 const UserScriptList& content_scripts() const { return content_scripts_; }
609 ExtensionAction* script_badge() const { return script_badge_.get(); } 609 ExtensionAction* script_badge() const { return script_badge_.get(); }
610 ExtensionAction* page_action() const { return page_action_.get(); } 610 ExtensionAction* page_action() const { return page_action_.get(); }
611 ExtensionAction* browser_action() const { return browser_action_.get(); } 611 ExtensionAction* browser_action() const { return browser_action_.get(); }
612 bool verbose_install_message() const {
Yoyo Zhou 2012/08/24 15:56:21 I would rename this to something like is_install_m
613 return !omnibox_keyword().empty() ||
614 browser_action() ||
615 (page_action() &&
616 (page_action_command() ||
617 !page_action()->default_icon_path().empty()));
618 }
612 const FileBrowserHandlerList* file_browser_handlers() const { 619 const FileBrowserHandlerList* file_browser_handlers() const {
613 return file_browser_handlers_.get(); 620 return file_browser_handlers_.get();
614 } 621 }
615 const std::vector<PluginInfo>& plugins() const { return plugins_; } 622 const std::vector<PluginInfo>& plugins() const { return plugins_; }
616 const std::vector<NaClModuleInfo>& nacl_modules() const { 623 const std::vector<NaClModuleInfo>& nacl_modules() const {
617 return nacl_modules_; 624 return nacl_modules_;
618 } 625 }
619 const std::vector<InputComponentInfo>& input_components() const { 626 const std::vector<InputComponentInfo>& input_components() const {
620 return input_components_; 627 return input_components_;
621 } 628 }
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
1200 1207
1201 UpdatedExtensionPermissionsInfo( 1208 UpdatedExtensionPermissionsInfo(
1202 const Extension* extension, 1209 const Extension* extension,
1203 const PermissionSet* permissions, 1210 const PermissionSet* permissions,
1204 Reason reason); 1211 Reason reason);
1205 }; 1212 };
1206 1213
1207 } // namespace extensions 1214 } // namespace extensions
1208 1215
1209 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 1216 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/extensions/extension_installed_bubble.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698