Searched defs:extension (Results 276 - 300 of 991) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/chrome/browser/extensions/
H A Dlocation_bar_controller_unittest.cc21 #include "extensions/common/extension.h"
78 scoped_refptr<const Extension> extension = local
82 extension_service_->AddExtension(extension.get());
83 return extension.get();
111 // There should only be one action - the action for the extension with a
119 // also show a page action for that extension.
127 // Check that each extension is present in the vector.
133 // If we request a script injection for an extension that already has a
153 const Extension* extension = AddExtension(true, "page_actions"); local
158 *ExtensionActionManager::Get(profile())->GetPageAction(*extension);
[all...]
H A Dpage_action_browsertest.cc17 #include "extensions/common/extension.h"
132 // Load extension A.
138 LOG(INFO) << "Load extension A done : "
142 // Load extension B.
148 LOG(INFO) << "Load extension B done : "
158 LOG(INFO) << "Reload extension A done: "
164 LOG(INFO) << "Reload extension B done: "
187 const Extension* extension = LoadExtension(extension_path); local
188 ASSERT_TRUE(extension);
198 extension
[all...]
H A Dplugin_manager.cc19 #include "extensions/common/extension.h"
49 const Extension* extension) {
51 if (PluginInfo::HasPlugins(extension)) {
52 const PluginInfo::PluginVector* plugins = PluginInfo::GetPlugins(extension);
67 plugin->path, profile_, extension->url());
74 NaClModuleInfo::GetNaClModules(extension);
86 const MimeTypesHandler* handler = MimeTypesHandler::GetHandler(extension);
113 const Extension* extension,
116 if (PluginInfo::HasPlugins(extension)) {
117 const PluginInfo::PluginVector* plugins = PluginInfo::GetPlugins(extension);
48 OnExtensionLoaded(content::BrowserContext* browser_context, const Extension* extension) argument
111 OnExtensionUnloaded( content::BrowserContext* browser_context, const Extension* extension, UnloadedExtensionInfo::Reason reason) argument
[all...]
H A Dtest_extension_service.cc80 void TestExtensionService::AddExtension(const Extension* extension) { argument
84 void TestExtensionService::AddComponentExtension(const Extension* extension) { argument
H A Dwebstore_reinstaller_browsertest.cc14 #include "extensions/common/extension.h"
27 const char kCrxFilename[] = "extension.crx";
63 // Build an extension with the same id as our test extension and add it.
65 scoped_refptr<const Extension> extension = local
75 extension_service()->AddExtension(extension.get());
98 // We should have failed, and the old extension should still be present.
100 extension = registry->enabled_extensions().GetByID(kTestExtensionId);
101 ASSERT_TRUE(extension.get());
102 EXPECT_EQ(kExtensionName, extension
[all...]
/external/chromium_org/chrome/browser/media_galleries/fileapi/
H A Dmedia_path_filter.cc46 // There exists many file formats all with the .raw extension. For now, only
48 // - TIFF files with .raw extension - image/tiff
79 bool IsUnsupportedExtension(const base::FilePath::StringType& extension) { argument
81 return !net::GetMimeTypeFromExtension(extension, &mime_type) ||
210 const base::FilePath::CharType* extension,
214 base::FilePath::StringType(extension);
209 AddExtensionToMediaFileExtensionMap( const base::FilePath::CharType* extension, MediaGalleryScanFileType type) argument
/external/chromium_org/chrome/browser/media_galleries/
H A Dmedia_galleries_test_util.cc67 scoped_refptr<extensions::Extension> extension = local
71 EXPECT_TRUE(extension.get() != NULL) << errors;
72 EXPECT_TRUE(crx_file::id_util::IdIsValid(extension->id()));
73 if (!extension.get() || !crx_file::id_util::IdIsValid(extension->id()))
77 extension.get(),
83 extension_service->AddExtension(extension.get());
84 extension_service->EnableExtension(extension->id());
86 return extension;
/external/chromium_org/chrome/browser/search/
H A Dhotword_service_unittest.cc18 #include "extensions/common/extension.h"
46 scoped_refptr<extensions::Extension> extension = variable
53 ASSERT_TRUE(extension.get());
54 service_->OnExtensionInstalled(extension.get(), syncer::StringOrdinal());
273 // Verify the extension is installed but disabled.
292 // Verify the extension is installed. It's still disabled.
/external/chromium_org/chrome/browser/speech/extension_api/
H A Dtts_engine_extension_observer.cc126 const extensions::Extension* extension,
128 if (engine_extension_ids_.find(extension->id()) !=
130 engine_extension_ids_.erase(extension->id());
124 OnExtensionUnloaded( content::BrowserContext* browser_context, const extensions::Extension* extension, extensions::UnloadedExtensionInfo::Reason reason) argument
/external/chromium_org/chrome/browser/sync/glue/
H A Dextension_backed_data_type_controller.cc23 // Helper method to generate a hash from an extension id.
56 // TODO(zea): consider checking if the extension was uninstalled without
63 const extensions::Extension* extension) {
64 if (DoesExtensionMatch(*extension)) {
73 const extensions::Extension* extension,
75 if (DoesExtensionMatch(*extension)) {
79 // issue, we should consider using the extension unload reason to just
91 return true; // For use while extension is in development.
93 // TODO(synced notifications): rather than rely on a hash of the extension
94 // id, look through the manifests to see if the extension ha
61 OnExtensionLoaded( content::BrowserContext* browser_context, const extensions::Extension* extension) argument
71 OnExtensionUnloaded( content::BrowserContext* browser_context, const extensions::Extension* extension, extensions::UnloadedExtensionInfo::Reason reason) argument
[all...]
H A Dextensions_activity_monitor_unittest.cc16 #include "extensions/common/extension.h"
29 // Create and return an extension with the given path.
39 scoped_refptr<Extension> extension(Extension::Create(
43 return extension;
46 // Fire a bookmarks API event from the given extension the given
50 const scoped_refptr<Extension>& extension, int repeats) {
56 content::Source<Extension>(extension.get()),
79 // IDs of |extension{1,2}_|.
87 // Fire some mutating bookmark API events with extension 1, then fire
88 // some mutating and non-mutating bookmark API events with extension
49 FireBookmarksApiEvent( const scoped_refptr<Extension>& extension, int repeats) argument
[all...]
/external/chromium_org/chrome/browser/sync/test/integration/
H A Dtwo_client_apps_sync_test.cc399 const extensions::Extension* extension = local
403 ASSERT_TRUE(extension);
409 extension_sync_service->GetAppSyncData(*extension));
415 *extension,
/external/chromium_org/chrome/browser/ui/app_list/
H A Dapp_list_service_views_browsertest.cc131 // Install an extension to open the dialog for.
137 const extensions::Extension* extension = InstallExtension( local
139 ASSERT_TRUE(extension);
162 controller->DoShowAppInfoFlow(browser()->profile(), extension->id());
/external/chromium_org/chrome/browser/ui/ash/
H A Daccelerator_commands_browsertest.cc274 const extensions::Extension* extension = LoadAndLaunchPlatformApp("minimal", local
284 CreateAppWindowFromParams(extension, params);
309 CreateAppWindowFromParams(extension, params);
H A Dapp_sync_ui_state.cc148 const extensions::Extension* extension) {
147 OnExtensionLoaded(content::BrowserContext* browser_context, const extensions::Extension* extension) argument
/external/chromium_org/chrome/browser/ui/extensions/
H A Dextension_installed_bubble.h23 // extension. Depending on the type of extension, the Bubble will
56 const extensions::Extension* extension,
62 const extensions::Extension* extension() const { return extension_; } function in class:ExtensionInstalledBubble
83 const extensions::Extension* extension) OVERRIDE;
86 const extensions::Extension* extension,
99 // Listen to extension load, unloaded notifications.
/external/chromium_org/chrome/browser/ui/location_bar/
H A Dlocation_bar_browsertest.cc19 #include "extensions/common/extension.h"
51 // Load an extension with a PageAction that sends a message when clicked.
62 // In order to let a vanilla extension override the bookmark star, we have to
77 const extensions::Extension* extension = LoadExtension(dir->unpacked_path()); local
80 return extension;
138 // Test that installing an extension that overrides the bookmark star
147 // Create and install an extension that overrides the bookmark star.
152 scoped_refptr<const extensions::Extension> extension = local
161 extension_service()->AddExtension(extension.get());
188 // extension actio
[all...]
H A Dorigin_chip_info.cc125 const extensions::Extension* extension = local
129 if (extension) {
133 extension,
134 extensions::IconsInfo::GetIcons(extension),
198 // For chrome-extension URLs, return the extension name.
202 const extensions::Extension* extension = local
204 return extension ?
205 base::UTF8ToUTF16(extension->name()) : base::UTF8ToUTF16(url.host());
/external/chromium_org/chrome/browser/ui/tabs/
H A Dpinned_tab_codec.cc21 #include "extensions/common/extension.h"
59 const extensions::Extension* extension = local
61 DCHECK(extension);
62 value->SetString(kAppID, extension->id());
67 kURL, extensions::AppLaunchInfo::GetFullLaunchURL(extension).spec());
/external/chromium_org/chrome/browser/ui/views/apps/
H A Dchrome_native_app_window_views_win.cc31 #include "extensions/common/extension.h"
116 const extensions::Extension* extension = app_window()->GetExtension(); local
117 if (!extension)
121 web_app::GenerateApplicationNameFromExtensionId(extension->id());
130 web_app::UpdateRelaunchDetailsForApp(profile, extension, hwnd);
168 const extensions::Extension* extension = app_window()->GetExtension(); local
169 if (!extension)
184 if (extensions::util::IsEphemeralApp(extension->id(),
193 switches::kInstallEphemeralAppFromWebstore, extension->id());
/external/chromium_org/chrome/browser/ui/views/extensions/
H A Dextension_action_view_controller.h44 // All common logic for executing extension actions should go in this class;
54 ExtensionActionViewController(const extensions::Extension* extension,
63 // Executes the default extension action (typically showing the popup), and
68 // Executes the extension action with |show_action|. If
69 // |grant_tab_permissions| is true, this will grant the extension active tab
84 // Registers an accelerator for the extension action's command, if one
88 // Unregisters the accelerator for the extension action's command, if one
93 const extensions::Extension* extension() const { return extension_; } function in class:ExtensionActionViewController
116 // Shows the context menu for extension action.
119 // Shows the popup for the extension actio
[all...]
H A Dextension_view_views.h47 const extensions::Extension* extension() const { return host_->extension(); } function in class:ExtensionViewViews
88 // The running extension instance that we're displaying.
107 // Whether this extension view is clipped.
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dbrowser_window_property_manager_browsertest_win.cc37 #include "extensions/common/extension.h"
99 const extensions::Extension* extension) {
108 // The relaunch name should be the extension name.
113 EXPECT_EQ(base::UTF8ToWide(extension->name()), prop_var.get().pwszVal);
124 EXPECT_EQ(base::UTF8ToWide(extension->id()),
128 // The app icon should be set to the extension app icon.
130 browser->profile()->GetPath(), extension->id(), GURL());
136 web_app_dir, base::UTF8ToUTF16(extension->name())).value(),
241 const extensions::Extension* extension = local
243 EXPECT_TRUE(extension);
98 ValidateHostedAppWindowProperties(const Browser* browser, const extensions::Extension* extension) argument
[all...]
/external/chromium_org/chrome/browser/ui/views/toolbar/
H A Dbrowser_action_view.h30 // A wrapper around an ExtensionActionViewController to display an extension
68 // |extension|.
70 const extensions::Extension* extension) = 0;
86 BrowserActionView(const extensions::Extension* extension,
92 const extensions::Extension* extension() const { function in class:BrowserActionView
93 return view_controller_->extension();
/external/chromium_org/chrome/common/extensions/api/commands/
H A Dcommands_handler.cc21 // keybinding an extension can have.
33 const Extension* extension) {
35 extension->GetManifestData(keys::kCommands));
40 const Command* CommandsInfo::GetPageActionCommand(const Extension* extension) { argument
42 extension->GetManifestData(keys::kCommands));
47 const CommandMap* CommandsInfo::GetNamedCommands(const Extension* extension) { argument
49 extension->GetManifestData(keys::kCommands));
59 bool CommandsHandler::Parse(Extension* extension, base::string16* error) { argument
60 if (!extension->manifest()->HasKey(keys::kCommands)) {
62 MaybeSetBrowserActionDefault(extension, commands_inf
32 GetBrowserActionCommand( const Extension* extension) argument
136 MaybeSetBrowserActionDefault(const Extension* extension, CommandsInfo* info) argument
[all...]

Completed in 6977 milliseconds

<<11121314151617181920>>