Searched defs:browser_action (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/chrome/common/extensions/
H A Dextension_file_util.cc59 const extensions::ActionInfo* browser_action = local
61 if (browser_action && !browser_action->default_icon.empty())
62 AddPathsFromIconSet(browser_action->default_icon, &image_paths);
/external/chromium_org/chrome/browser/extensions/api/commands/
H A Dcommands.cc31 extensions::Command browser_action; local
35 &browser_action,
37 command_list->Append(CreateCommandValue(browser_action, active));
/external/chromium_org/chrome/common/extensions/api/commands/
H A Dcommands_manifest_unittest.cc51 const Command* browser_action = local
53 ASSERT_TRUE(NULL != browser_action);
55 browser_action->command_name().c_str());
56 ASSERT_STREQ("", base::UTF16ToASCII(browser_action->description()).c_str());
57 ASSERT_EQ(alt_shift_f, browser_action->accelerator());
/external/chromium_org/chrome/browser/extensions/
H A Dextension_context_menu_model_unittest.cc219 scoped_refptr<const Extension> browser_action = local
221 ASSERT_TRUE(browser_action.get());
224 service()->AddExtension(browser_action.get());
245 menu = new ExtensionContextMenuModel(browser_action.get(), browser.get());
258 menu = new ExtensionContextMenuModel(browser_action.get(), browser.get());
263 prefs, browser_action->id()));
268 prefs, browser_action->id(), false);
269 menu = new ExtensionContextMenuModel(browser_action.get(), browser.get());
H A Dextension_action_icon_factory_unittest.cc188 "browser_action/no_icon", Manifest::INVALID_LOCATION));
190 ExtensionAction* browser_action = GetBrowserAction(*extension.get()); local
191 ASSERT_TRUE(browser_action);
192 ASSERT_FALSE(browser_action->default_icon());
193 ASSERT_TRUE(browser_action->GetExplicitlySetIcon(0 /*tab id*/).isNull());
198 profile(), extension.get(), browser_action, this); local
214 "browser_action/no_icon", Manifest::INVALID_LOCATION));
216 ExtensionAction* browser_action = GetBrowserAction(*extension.get()); local
217 ASSERT_TRUE(browser_action);
218 ASSERT_FALSE(browser_action
229 profile(), extension.get(), browser_action, this); local
254 ExtensionAction* browser_action = GetBrowserAction(*extension.get()); local
270 profile(), extension.get(), browser_action, this); local
[all...]
H A Dextension_toolbar_model_unittest.cc153 const Extension* browser_action() const { function in class:extensions::ExtensionToolbarModelUnitTest
225 GetActionExtension("browser_action", manifest_keys::kBrowserAction);
290 GetActionExtension("browser_action", manifest_keys::kBrowserAction);
676 EXPECT_EQ(browser_action(), GetExtensionAtIndex(0u));
691 EXPECT_EQ(browser_action(), GetExtensionAtIndex(0u));
755 const Extension* extension_a = browser_action();
/external/chromium_org/chrome/browser/ui/webui/extensions/
H A Dcommand_handler.cc158 Command browser_action; local
161 &browser_action,
164 browser_action.ToValue((extension->get()), active));
/external/chromium_org/chrome/browser/extensions/api/extension_action/
H A Dbrowser_action_apitest.cc96 ASSERT_TRUE(RunExtensionTest("browser_action/basics")) << message_;
127 ASSERT_TRUE(RunExtensionTest("browser_action/no_icon")) << message_;
307 ASSERT_TRUE(RunExtensionTest("browser_action/tab_specific_state")) <<
339 LoadExtension(test_data_dir_.AppendASCII("browser_action/popup")));
373 ASSERT_TRUE(RunExtensionTest("browser_action/add_popup")) << message_;
380 ExtensionAction* browser_action = GetBrowserAction(*extension); local
381 ASSERT_TRUE(browser_action)
384 ASSERT_FALSE(browser_action->HasPopup(tab_id));
385 ASSERT_FALSE(browser_action->HasPopup(ExtensionAction::kDefaultTabId));
398 ASSERT_TRUE(browser_action
436 ExtensionAction* browser_action = GetBrowserAction(*extension); local
707 ExtensionAction* browser_action = GetBrowserAction(*extension); local
[all...]
/external/chromium_org/chrome/browser/ui/views/location_bar/
H A Dzoom_bubble_view.cc208 const extensions::ActionInfo* browser_action = local
210 if (!browser_action || browser_action->default_icon.empty())
213 icon_size = browser_action->default_icon.map().begin()->first;
217 browser_action->default_icon,

Completed in 281 milliseconds