/external/chromium_org/extensions/browser/ |
lazy_background_task_queue.cc | 22 #include "extensions/common/extension.h" 44 const Extension* extension) { 45 DCHECK(extension); 46 if (BackgroundInfo::HasBackgroundPage(extension)) { 51 pm->GetBackgroundHostForExtension(extension->id()); 54 if (pm->IsBackgroundHostClosing(extension->id())) 55 pm->CancelSuspend(extension); 79 const Extension* extension local [all...] |
info_map.cc | 10 #include "extensions/common/extension.h" 26 // When the extension was installed. 29 // True if the user has allowed this extension to run in incognito mode. 32 // True if the user has disabled notifications for this extension manually. 47 void InfoMap::AddExtension(const Extension* extension, 52 extensions_.Insert(extension); 53 disabled_extensions_.Remove(extension->id()); 55 extra_data_[extension->id()].install_time = install_time; 56 extra_data_[extension->id()].incognito_enabled = incognito_enabled 63 const Extension* extension = extensions_.GetByID(extension_id); local 136 const Extension* extension = extensions_.GetByID(id); local [all...] |
/external/chromium_org/extensions/common/ |
manifest_handler.cc | 11 #include "extensions/common/extension.h" 37 bool ManifestHandler::Validate(const Extension* extension, 67 const Extension* extension) { 82 bool ManifestHandler::ParseExtension(Extension* extension, string16* error) { 83 return GetRegistry()->ParseExtension(extension, error); 87 bool ManifestHandler::ValidateExtension(const Extension* extension, [all...] |
extension_builder.cc | 7 #include "extensions/common/extension.h" 13 flags_(Extension::NO_FLAGS) { 17 scoped_refptr<Extension> ExtensionBuilder::Build() { 19 scoped_refptr<Extension> extension = Extension::Create( local 27 return extension;
|
/external/chromium/chrome/browser/ui/views/ |
browser_actions_container_browsertest.cc | 32 // Make sure extension with index |extension_index| has an icon. 52 // Load an extension with no browser action. 56 // This extension should not be in the model (has no browser action). 59 // Load an extension with a browser action. 66 // Unload the extension. 78 // Load extension A (contains browser action). 87 LOG(INFO) << "Load extension A done : " 91 // Load extension B (contains browser action). 100 LOG(INFO) << "Load extension B done : " 106 // Load extension C (contains browser action) 255 const Extension* extension = service->extensions()->at(size_before); local [all...] |
/external/chromium_org/chrome/browser/extensions/api/proxy/ |
proxy_apitest.cc | 12 #include "extensions/common/extension.h" 76 const Extension* extension = GetSingleLoadedExtension(); local 77 ASSERT_TRUE(extension); 87 const Extension* extension = GetSingleLoadedExtension(); local 88 ASSERT_TRUE(extension); 98 const Extension* extension = GetSingleLoadedExtension(); local 99 ASSERT_TRUE(extension); 109 const Extension* extension = GetSingleLoadedExtension(); local 123 const Extension* extension = GetSingleLoadedExtension(); local 137 const Extension* extension = GetSingleLoadedExtension(); local 151 const Extension* extension = GetSingleLoadedExtension(); local 162 const Extension* extension = GetSingleLoadedExtension(); local 192 const Extension* extension = GetSingleLoadedExtension(); local 216 const Extension* extension = GetSingleLoadedExtension(); local 244 const Extension* extension = GetSingleLoadedExtension(); local 254 const Extension* extension = GetSingleLoadedExtension(); local [all...] |
/external/chromium_org/chrome/browser/content_settings/ |
content_settings_internal_extension_provider.cc | 21 #include "extensions/common/extension.h" 76 if (host->extension()->is_platform_app()) { 77 SetContentSettingForExtension(host->extension(), CONTENT_SETTING_BLOCK); 90 host->extension()->id(), 94 host->extension(), 103 const extensions::Extension* extension = local 104 content::Details<extensions::Extension>(details).ptr(); 105 if (extensions::PluginInfo::HasPlugins(extension)) 106 SetContentSettingForExtension(extension, CONTENT_SETTING_ALLOW) [all...] |
/external/chromium_org/chrome/browser/extensions/ |
navigation_observer.cc | 61 const Extension* extension = extension_service->disabled_extensions()-> local 63 if (!extension) 66 // Try not to repeatedly prompt the user about the same extension. 67 if (prompted_extensions_.find(extension->id()) != prompted_extensions_.end()) 69 prompted_extensions_.insert(extension->id()); 72 if (extension_prefs->DidExtensionEscalatePermissions(extension->id())) { 73 // Keep track of the extension id and nav controller we're prompting for. 75 in_progress_prompt_extension_id_ = extension->id(); 80 extension_install_prompt_->ConfirmReEnable(this, extension); 87 const Extension* extension = extension_service->GetExtensionById( local 106 const Extension* extension = extension_service->GetExtensionById( local [all...] |
browser_extension_window_controller.h | 13 class Extension; 26 const extensions::Extension* extension) const OVERRIDE; 28 const extensions::Extension* extension, int tab_index) const OVERRIDE; 34 const extensions::Extension* extension) const OVERRIDE;
|
convert_web_app.h | 20 class Extension; 22 // Generates a version number for an extension from a time. The goal is to make 33 // Wraps the specified web app in an extension. The extension is created 34 // unpacked in the system temp dir. Returns a valid extension that the caller 38 // NOTE: The caller takes ownership of the directory at extension->path() on the 40 scoped_refptr<Extension> ConvertWebAppToExtension(
|
extension_keybinding_registry.cc | 39 const Extension* extension, 46 if (target->first == extension->id() && 105 const Extension* extension = service->extensions()->GetByID(extension_id); local 106 if (!extension) 110 // the extension acts on the command. NOTE: The Global Commands handler does 116 granter->GrantIfRequested(extension); 134 const extensions::Extension* extension local 141 const extensions::Extension* extension = local 153 const extensions::Extension* extension = local [all...] |
extension_webkit_preferences.cc | 9 #include "extensions/common/extension.h" 15 void SetPreferences(const extensions::Extension* extension, 18 if (!extension) 21 if (!extension->is_hosted_app()) { 31 // Disable gpu acceleration for extension background pages to avoid 39 if (extension->is_platform_app()) {
|
/external/chromium/chrome/browser/extensions/ |
convert_web_app.h | 13 class Extension; 21 // Generates a version number for an extension from a time. The goal is to make 32 // Wraps the specified web app in an extension. The extension is created 33 // unpacked in the system temp dir. Returns a valid extension that the caller 37 // NOTE: The caller takes ownership of the directory at extension->path() on the 39 scoped_refptr<Extension> ConvertWebAppToExtension(
|
extension_context_menu_apitest.cc | 25 const Extension* extension = GetSingleLoadedExtension(); local 26 ASSERT_TRUE(extension) << message_; 29 // Tell the extension to update the page action state. 32 extension->GetResourceURL("popup.html")); 37 // Tell the extension to update the page action state again. 40 extension->GetResourceURL("popup2.html"));
|
/external/chromium/chrome/common/extensions/docs/examples/api/extension/isAllowedAccess/ |
popup.html | 9 <title>extension.isAllowedAccess Sample</title> 13 <h1>extension.isAllowedAccess Sample</h1> 17 <span>1</span> chrome.extension.isAllowedFileSchemeAccess: 20 extension to toggle it properly) 23 <span>2</span> chrome.extension.isAllowedIncognitoAccess: 29 chrome.extension.isAllowedFileSchemeAccess(function(state) { 33 chrome.extension.isAllowedIncognitoAccess(function(state) {
|
/external/chromium/chrome/common/extensions/docs/static/ |
extension.html | 3 The <code>chrome.extension</code> module 4 has utilities that can be used by any extension page. 6 between an extension and its content scripts 15 parts of <code>chrome.extension</code> 25 Simple communication with extension pages 32 Extended communication with extension pages 38 Access to extension resources such as image files
|
/external/chromium_org/chrome/browser/apps/ |
app_browsertest_util.cc | 58 const Extension* PlatformAppBrowserTest::LoadAndLaunchPlatformApp( 64 const Extension* extension = LoadExtension( local 66 EXPECT_TRUE(extension); 69 browser()->profile(), extension, LAUNCH_CONTAINER_NONE, NEW_WINDOW)); 73 return extension; 76 const Extension* PlatformAppBrowserTest::InstallPlatformApp( 78 const Extension* extension = InstallExtension( local 80 EXPECT_TRUE(extension); 91 const Extension* extension = InstallPlatformApp(name); local [all...] |
/external/chromium_org/chrome/browser/extensions/api/context_menus/ |
context_menu_apitest.cc | 33 const extensions::Extension* extension = GetSingleLoadedExtension(); local 34 ASSERT_TRUE(extension) << message_; 37 // Tell the extension to update the page action state. 40 extension->GetResourceURL("popup.html")); 45 // Tell the extension to update the page action state again. 48 extension->GetResourceURL("popup2.html"));
|
/external/chromium_org/chrome/browser/extensions/api/settings_overrides/ |
settings_overrides_api.cc | 114 const Extension* extension = local 115 content::Details<const Extension>(details).ptr(); 117 SettingsOverrides::Get(extension); 120 SetPref(extension->id(), prefs::kHomePage, 122 SetPref(extension->id(), prefs::kHomePageIsNewTabPage, 126 SetPref(extension->id(), prefs::kRestoreOnStartup, 135 SetPref(extension->id(), prefs::kURLsToRestoreOnStartup, 139 SetPref(extension->id(), prefs::kDefaultSearchProviderEnabled, 143 RegisterSearchProvider(extension); 158 const Extension* extension = local [all...] |
/external/chromium_org/chrome/common/extensions/api/input_ime/ |
input_components_handler.h | 12 #include "extensions/common/extension.h" 18 class Extension; 45 struct InputComponents : public Extension::ManifestData { 54 const Extension* extension); 63 virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
|
/external/chromium_org/chrome/common/extensions/api/sockets/ |
sockets_manifest_data.cc | 22 const Extension* extension) { 24 extension->GetManifestData(manifest_keys::kSockets)); 29 const Extension* extension, 31 const SocketsManifestData* data = SocketsManifestData::Get(extension); 33 return data->permission()->CheckRequest(extension, request);
|
sockets_manifest_data.h | 11 #include "extensions/common/extension.h" 25 class SocketsManifestData : public Extension::ManifestData { 31 // Gets the SocketsManifestData for |extension|, or NULL if none was 33 static SocketsManifestData* Get(const Extension* extension); 35 static bool CheckRequest(const Extension* extension,
|
/external/chromium_org/chrome/common/extensions/api/storage/ |
storage_schema_manifest_handler.h | 24 // Returns the managed storage schema defined for |extension|. 28 static policy::Schema GetSchema(const Extension* extension, 34 virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; 35 virtual bool Validate(const Extension* extension,
|
/external/chromium_org/chrome/common/extensions/manifest_tests/ |
extension_manifests_offline_unittest.cc | 6 #include "extensions/common/extension.h" 21 scoped_refptr<Extension> extension_0( 24 scoped_refptr<Extension> extension_1( 27 scoped_refptr<Extension> extension_2( 30 scoped_refptr<Extension> extension_3( 33 scoped_refptr<Extension> extension_4( 36 scoped_refptr<Extension> extension_5(
|
/external/chromium_org/extensions/common/manifest_handlers/ |
requirements_info.h | 11 #include "extensions/common/extension.h" 17 // Declared requirements for the extension. 18 struct RequirementsInfo : public Extension::ManifestData { 26 static const RequirementsInfo& GetRequirements(const Extension* extension); 35 virtual bool Parse(Extension* extension, string16* error) OVERRIDE;
|