/external/chromium_org/chrome/common/extensions/api/extension_action/ |
D | action_info.cc | 26 explicit ActionInfoData(ActionInfo* action_info); 31 scoped_ptr<ActionInfo> action_info; 34 ActionInfoData::ActionInfoData(ActionInfo* info) : action_info(info) { in ActionInfoData() 40 static const ActionInfo* GetActionInfo(const Extension* extension, in GetActionInfo() 49 ActionInfo::ActionInfo() { in ActionInfo() function in extensions::ActionInfo 52 ActionInfo::~ActionInfo() { in ~ActionInfo() 56 scoped_ptr<ActionInfo> ActionInfo::Load(const Extension* extension, in Load() 59 scoped_ptr<ActionInfo> result(new ActionInfo()); in Load() 73 return scoped_ptr<ActionInfo>(); in Load() 82 return scoped_ptr<ActionInfo>(); in Load() [all …]
|
D | action_info.h | 23 struct ActionInfo { struct 24 ActionInfo(); 25 ~ActionInfo(); 36 static scoped_ptr<ActionInfo> Load(const Extension* extension, 41 static const ActionInfo* GetBrowserActionInfo(const Extension* extension); 44 static const ActionInfo* GetPageActionInfo(const Extension* extension); 47 static const ActionInfo* GetScriptBadgeInfo(const Extension* etxension); 50 static const ActionInfo* GetSystemIndicatorInfo(const Extension* extension); 53 static void SetBrowserActionInfo(Extension* extension, ActionInfo* info); 56 static void SetPageActionInfo(Extension* extension, ActionInfo* info); [all …]
|
D | page_action_manifest_unittest.cc | 24 scoped_ptr<ActionInfo> LoadAction(const std::string& manifest_filename); 27 scoped_ptr<ActionInfo> PageActionManifestTest::LoadAction( in LoadAction() 31 const ActionInfo* page_action_info = in LoadAction() 32 ActionInfo::GetPageActionInfo(extension.get()); in LoadAction() 35 return make_scoped_ptr(new ActionInfo(*page_action_info)); in LoadAction() 39 return scoped_ptr<ActionInfo>(); in LoadAction() 46 const ActionInfo* page_action_info = in TEST_F() 47 ActionInfo::GetPageActionInfo(extension.get()); in TEST_F() 60 scoped_ptr<ActionInfo> action; in TEST_F() 127 const ActionInfo* extension_action = in TEST_F() [all …]
|
D | browser_action_handler.cc | 35 scoped_ptr<ActionInfo> action_info = ActionInfo::Load(extension, dict, error); in Parse() 39 ActionInfo::SetBrowserActionInfo(extension, action_info.release()); in Parse() 48 const ActionInfo* action = ActionInfo::GetBrowserActionInfo(extension); in Validate()
|
D | browser_action_manifest_unittest.cc | 36 const ActionInfo* browser_action_info = in TEST_F() 37 ActionInfo::GetBrowserActionInfo(extension.get()); in TEST_F() 55 const ActionInfo* browser_action_info = in TEST_F() 56 ActionInfo::GetBrowserActionInfo(extension.get()); in TEST_F() 82 const ActionInfo* browser_action_info = in TEST_F() 83 ActionInfo::GetBrowserActionInfo(extension.get()); in TEST_F()
|
D | script_badge_handler.cc | 34 scoped_ptr<ActionInfo> action_info(new ActionInfo); in Parse() 39 ActionInfo::SetScriptBadgeInfo(extension, action_info.release()); in Parse() 57 action_info = ActionInfo::Load(extension, dict, error); in Parse() 83 ActionInfo::SetScriptBadgeInfo(extension, action_info.release()); in Parse() 92 ActionInfo* info) { in SetActionInfoDefaults()
|
D | page_action_handler.cc | 27 scoped_ptr<ActionInfo> page_action_info; in Parse() 67 page_action_info = ActionInfo::Load(extension, page_action_value, error); in Parse() 71 ActionInfo::SetPageActionInfo(extension, page_action_info.release()); in Parse() 79 const extensions::ActionInfo* action = in Validate() 80 extensions::ActionInfo::GetPageActionInfo(extension); in Validate()
|
D | script_badge_manifest_unittest.cc | 56 const ActionInfo* script_badge_info = in TEST_F() 57 ActionInfo::GetScriptBadgeInfo(extension.get()); in TEST_F() 96 const ActionInfo* script_badge_info = in TEST_F() 97 ActionInfo::GetScriptBadgeInfo(extension.get()); in TEST_F() 132 const ActionInfo* script_badge_info = in TEST_F() 133 ActionInfo::GetScriptBadgeInfo(extension.get()); in TEST_F()
|
D | script_badge_handler.h | 30 void SetActionInfoDefaults(const Extension* extension, ActionInfo* info);
|
/external/chromium_org/chrome/browser/extensions/ |
D | extension_action_manager.cc | 109 ActionInfo::Type action_type, in GetOrCreateOrNull() 110 const ActionInfo* action_info, in GetOrCreateOrNull() 143 ActionInfo::TYPE_PAGE, in GetPageAction() 144 ActionInfo::GetPageActionInfo(&extension), in GetPageAction() 150 const ActionInfo* action_info = ActionInfo::GetBrowserActionInfo(&extension); in GetBrowserAction() 151 ActionInfo::Type action_type = ActionInfo::TYPE_BROWSER; in GetBrowserAction() 153 ActionInfo::GetPageActionInfo(&extension)) { in GetBrowserAction() 156 action_info = ActionInfo::GetPageActionInfo(&extension); in GetBrowserAction() 157 action_type = ActionInfo::TYPE_PAGE; in GetBrowserAction() 173 ActionInfo::TYPE_SYSTEM_INDICATOR, in GetSystemIndicator() [all …]
|
D | extension_action_unittest.cc | 13 using extensions::ActionInfo; 16 ActionInfo action_info; in TEST() 18 ExtensionAction action(std::string(), ActionInfo::TYPE_PAGE, action_info); in TEST() 34 ExtensionAction action(std::string(), ActionInfo::TYPE_PAGE, ActionInfo()); in TEST() 56 std::string(), ActionInfo::TYPE_BROWSER, ActionInfo()); in TEST() 65 std::string(), ActionInfo::TYPE_SCRIPT_BADGE, ActionInfo()); in TEST() 89 std::string(), ActionInfo::TYPE_SCRIPT_BADGE, ActionInfo()); in TEST() 107 ActionInfo action_info; in TEST() 110 std::string(), ActionInfo::TYPE_PAGE, action_info); in TEST() 121 ExtensionAction action(std::string(), ActionInfo::TYPE_PAGE, ActionInfo()); in TEST() [all …]
|
D | extension_action.cc | 161 extensions::ActionInfo::Type action_type, in ExtensionAction() 162 const extensions::ActionInfo& manifest_data) in ExtensionAction() 169 action_type == extensions::ActionInfo::TYPE_BROWSER ? in ExtensionAction() 186 extensions::ActionInfo())); in CopyForTest() 205 extensions::ActionInfo::Type type) { in GetIconSizeForType() 207 case extensions::ActionInfo::TYPE_BROWSER: in GetIconSizeForType() 208 case extensions::ActionInfo::TYPE_PAGE: in GetIconSizeForType() 209 case extensions::ActionInfo::TYPE_SYSTEM_INDICATOR: in GetIconSizeForType() 213 case extensions::ActionInfo::TYPE_SCRIPT_BADGE: in GetIconSizeForType() 267 action_type_ == extensions::ActionInfo::TYPE_SCRIPT_BADGE) { in SetAppearance()
|
D | extension_action.h | 117 extensions::ActionInfo::Type action_type, 118 const extensions::ActionInfo& manifest_data); 128 static int GetIconSizeForType(extensions::ActionInfo::Type type); 134 extensions::ActionInfo::Type action_type() const { in action_type() 326 const extensions::ActionInfo::Type action_type_;
|
/external/chromium_org/chrome/common/extensions/api/system_indicator/ |
D | system_indicator_handler.cc | 33 scoped_ptr<ActionInfo> action_info = ActionInfo::Load( in Parse() 44 ActionInfo::SetSystemIndicatorInfo(extension, action_info.release()); in Parse()
|
/external/chromium_org/chrome/browser/ui/extensions/ |
D | extension_installed_bubble.cc | 44 else if (extensions::ActionInfo::GetBrowserActionInfo(extension)) in ExtensionInstalledBubble() 46 else if (extensions::ActionInfo::GetPageActionInfo(extension) && in ExtensionInstalledBubble() 47 extensions::ActionInfo::IsVerboseInstallMessage(extension)) in ExtensionInstalledBubble()
|
/external/chromium_org/chrome/common/ |
D | icon_with_badge_image_source.h | 29 extensions::ActionInfo::Type action_type); 51 extensions::ActionInfo::Type action_type_;
|
D | badge_util.h | 44 extensions::ActionInfo::Type action_type);
|
D | icon_with_badge_image_source.cc | 19 extensions::ActionInfo::Type action_type) in IconWithBadgeImageSource()
|
D | badge_util.cc | 148 extensions::ActionInfo::Type action_type) { in PaintBadge() 183 action_type == extensions::ActionInfo::TYPE_BROWSER ? in PaintBadge()
|
/external/chromium_org/chrome/renderer/extensions/ |
D | page_actions_custom_bindings.cc | 35 if (ActionInfo::GetPageActionInfo(extension)) { in GetCurrentPageActions() 36 std::string id = ActionInfo::GetPageActionInfo(extension)->id; in GetCurrentPageActions()
|
/external/chromium_org/chrome/browser/extensions/api/extension_action/ |
D | extension_action_api.cc | 366 case ActionInfo::TYPE_BROWSER: in ExtensionActionExecuted() 369 case ActionInfo::TYPE_PAGE: in ExtensionActionExecuted() 372 case ActionInfo::TYPE_SCRIPT_BADGE: in ExtensionActionExecuted() 375 case ActionInfo::TYPE_SYSTEM_INDICATOR: in ExtensionActionExecuted() 543 ActionInfo::Type action_type = extension_action_->action_type(); in RunImpl() 545 action_type == ActionInfo::TYPE_BROWSER || in RunImpl() 546 action_type == ActionInfo::TYPE_SYSTEM_INDICATOR); in RunImpl() 600 case ActionInfo::TYPE_BROWSER: in NotifyChange() 601 case ActionInfo::TYPE_PAGE: in NotifyChange() 610 case ActionInfo::TYPE_SCRIPT_BADGE: in NotifyChange() [all …]
|
/external/chromium_org/chrome/common/extensions/ |
D | extension_file_util.cc | 313 const extensions::ActionInfo* page_action = in GetBrowserImagePaths() 314 extensions::ActionInfo::GetPageActionInfo(extension); in GetBrowserImagePaths() 318 const extensions::ActionInfo* browser_action = in GetBrowserImagePaths() 319 extensions::ActionInfo::GetBrowserActionInfo(extension); in GetBrowserImagePaths()
|
/external/chromium_org/chrome/browser/ui/views/location_bar/ |
D | script_bubble_icon_view.cc | 49 extensions::ActionInfo::TYPE_PAGE), in SetScriptCount()
|
/external/chromium_org/chrome/browser/extensions/api/declarative_content/ |
D | content_action.cc | 54 if (ActionInfo::GetPageActionInfo(extension) == NULL) { in Create()
|
/external/chromium_org/chrome/browser/ui/cocoa/extensions/ |
D | extension_installed_bubble_controller.mm | 131 } else if (extensions::ActionInfo::GetBrowserActionInfo(extension)) { 133 } else if (extensions::ActionInfo::GetPageActionInfo(extension) && 134 extensions::ActionInfo::IsVerboseInstallMessage(extension)) { 620 extensions::ActionInfo::GetBrowserActionInfo(extension_) || 621 extensions::ActionInfo::IsVerboseInstallMessage(extension_)) {
|