/external/webkit/Source/WebCore/platform/ |
MIMETypeRegistry.cpp | 264 const char* extension; member in struct:WebCore::TypeExtensionPair 268 // specific MIME type lookup doesn't have a match for a media file extension. 357 if (mediaMIMETypeForExtensionMap.contains(pairs[ndx].extension)) 358 mediaMIMETypeForExtensionMap.get(pairs[ndx].extension)->append(pairs[ndx].type); 362 // If there is a system specific type for this extension, add it as the first type so 364 String systemType = MIMETypeRegistry::getMIMETypeForExtension(pairs[ndx].extension); 368 mediaMIMETypeForExtensionMap.add(pairs[ndx].extension, synonyms); 376 String MIMETypeRegistry::getMIMETypeForExtension(const String& extension) 378 return getMIMETypeForExtensionThreadSafe(extension); 403 // the extension at all, because it always contains the system-specific type if th 464 String extension = path.substring(pos + 1); local [all...] |
/external/chromium/chrome/browser/extensions/ |
extensions_ui.h | 24 class Extension; 32 // Information about a page running in an extension, for example a toolstrip, 75 // Extension Detail JSON Struct for page. (static for ease of testing). 79 const Extension* extension, 140 // Utility for callbacks that get an extension ID as the sole argument. 141 const Extension* GetExtension(const ListValue* args); 161 // Helper that lists the current active html pages for an extension. 163 const Extension* extension); [all...] |
extension_context_menu_model.h | 15 class Extension; 19 // The menu model for the context menu for extension action icons (browser and 38 // Creates a menu model for the given extension action. If 42 ExtensionContextMenuModel(const Extension* extension, 61 // Gets the extension we are displaying the menu for. Returns NULL if the 62 // extension has been uninstalled and no longer exists. 63 const Extension* GetExtension() const; 65 // A copy of the extension's id. 68 // The extension action we are displaying the menu for (or NULL) [all...] |
extension_icon_manager.h | 18 class Extension; 25 // Start loading the icon for the given extension. 26 void LoadIcon(const Extension* extension); 29 // entry specified in the extension's 'icon' section of the manifest, or a 30 // default extension icon. 33 // Removes the extension's icon from memory. 44 // Makes sure we've done one-time initialization of the default extension icon 52 // Used for loading extension icons. 55 // Maps extension id to an SkBitmap with the icon for that extension [all...] |
extension_info_map.cc | 7 #include "chrome/common/extensions/extension.h" 25 void ExtensionInfoMap::AddExtension(const Extension* extension) { 27 extension_info_[extension->id()] = extension; 28 Map::iterator iter = disabled_extension_info_.find(extension->id()); 42 // If the extension was uninstalled, make sure it's removed from the map of 48 // disabled extension (e.g., via sync). See 118 // If the url is an extension scheme, we just look it up by extension id [all...] |
extension_info_map.h | 15 #include "chrome/common/extensions/extension.h" 19 class Extension; 21 // Contains extension data that needs to be accessed on the IO thread. It can 33 void AddExtension(const Extension* extension); 35 // Callback for when an extension is unloaded. 39 // Gets the name for the specified extension. 42 // Gets the path to the directory for the specified extension. 45 // Gets the path to the directory for the specified disabled extension. 48 // Returns true if the specified extension exists and has a non-empty we [all...] |
image_loading_tracker.h | 15 class Extension; 31 // tracker_.LoadImage(extension, resource, max_size, false); 68 void LoadImage(const Extension* extension, 74 typedef std::map<int, const Extension*> LoadMap; 87 // NotificationObserver method. If an extension is uninstalled while we're 103 // integer identifies the id assigned to the request. If the extension is
|
user_script_listener.h | 20 class Extension; 87 // Helper to collect the extension's user script URL patterns in a list and 89 void CollectURLPatterns(const Extension* extension, URLPatterns* patterns);
|
app_background_page_apitest.cc | 13 #include "chrome/common/extensions/extension.h" 127 const Extension* extension = GetSingleLoadedExtension(); local 130 GetAppBackgroundContents(ASCIIToUTF16(extension->id())));
|
browser_action_test_util_views.cc | 40 button()->extension()->browser_action()); 55 return button->extension()->id();
|
/external/chromium/chrome/common/extensions/ |
extension_set_unittest.cc | 10 #include "chrome/common/extensions/extension.h" 16 scoped_refptr<Extension> CreateTestExtension(const std::string& name, 40 scoped_refptr<Extension> extension( 41 Extension::Create(path, Extension::INTERNAL, manifest, 42 Extension::STRICT_ERROR_CHECKS, &error)); 43 EXPECT_TRUE(extension.get()) << error; 44 return extension; 50 scoped_refptr<Extension> ext1(CreateTestExtension [all...] |
extension_set.h | 14 #include "chrome/common/extensions/extension.h" 17 // The one true extension container. Extensions are identified by their id. 18 // Only one extension can be in the set with a given ID. 27 // Returns true if the set contains the specified extension. 30 // Adds the specified extension to the set. The set becomes an owner. Any 31 // previous extension with the same ID is removed. 32 void Insert(const scoped_refptr<const Extension>& extension); 34 // Removes the specified extension. 37 // Returns the extension ID that the given URL is a part of, or empty i [all...] |
/external/v8/test/cctest/ |
cctest.cc | 49 // Drop the extension, if there is one. 50 char *extension = strrchr(basename, '.'); local 51 if (extension) *extension = 0;
|
/external/v8/test/mjsunit/regress/ |
regress-186.js | 42 // Add property called __proto__ to the extension object. 44 // Check that the extension object's prototype did not change. 46 assertFalse(setterCalled, "prototype of extension object changed"); 51 // Add const property called __proto__ to the extension object. 53 // Check that the extension object's prototype did not change. 55 assertFalse(setterCalled, "prototype of extension object changed");
|
/external/webkit/Source/WebCore/platform/chromium/ |
MIMETypeRegistryChromium.cpp | 61 // Returns the file extension if one is found. Does not include the dot in the 81 String extension = path.substring(pos + 1); 82 String mimeType = getMIMETypeForExtension(extension); 84 // If there's no mimetype registered for the extension, check to see 85 // if a plugin can handle the extension. 86 mimeType = getPluginMimeTypeFromExtension(extension);
|
/external/chromium/chrome/browser/download/ |
download_prefs.h | 35 // Returns true if there is at least one file extension registered 40 const FilePath::StringType& extension) const; 42 // Enables auto-open based on file extension. Returns true on success. 46 // Disables auto-open based on file extension.
|
/external/chromium/chrome/browser/sync/glue/ |
extension_sync.h | 15 class Extension; 33 // A map from extension IDs to ExtensionData objects. 65 // Updates the server data for the given extension. Returns true iff 69 const Extension& extension, 74 // Removes the server data for the given extension ID.
|
/external/chromium/chrome/browser/tabs/ |
pinned_tab_codec.cc | 15 #include "chrome/common/extensions/extension.h" 47 const Extension* extension = local 49 DCHECK(extension); 50 value->SetString(kAppID, extension->id()); 54 value->SetString(kURL, extension->GetFullLaunchURL().spec());
|
/external/chromium/chrome/browser/ui/views/extensions/ |
extension_uninstall_dialog_view.cc | 14 #include "chrome/common/extensions/extension.h" 35 const Extension* extension, 50 UTF8ToUTF16(extension->name())))); 147 const Extension* extension, 162 new ExtensionUninstallDialogView(delegate, extension, icon))->Show();
|
/external/chromium/chrome/browser/ui/webui/options/ |
extension_settings_handler.h | 24 class Extension; 32 // Information about a page running in an extension, for example a toolstrip, 73 // We do this with native code instead of just using chrome-extension:// URLs 112 // Extension Detail JSON Struct for page. (static for ease of testing). 116 const Extension* extension, 182 // Utility for callbacks that get an extension ID as the sole argument. 183 const Extension* GetExtension(const ListValue* args); 200 // Helper that lists the current active html pages for an extension. 202 const Extension* extension) [all...] |
/external/chromium/chrome/browser/ui/webui/ |
shown_sections_handler.h | 13 class Extension; 70 const Extension* extension);
|
/external/webkit/Source/WebKit/mac/Plugins/ |
WebPluginDatabase.h | 49 - (WebBasePluginPackage *)pluginForExtension:(NSString *)extension;
|
/external/webkit/Source/WebKit2/UIProcess/Plugins/mac/ |
PluginInfoStoreMac.mm | 92 String PluginInfoStore::getMIMETypeForExtension(const String& extension) 98 RetainPtr<CFStringRef> extensionCFString(AdoptCF, safeCreateCFString(extension));
|
/external/webkit/Tools/Scripts/ |
check-dom-results | 118 my $extension = $1; 120 $failure =~ s|-expected\.txt|.${extension}|;
|
/external/chromium/chrome/browser/ |
background_mode_manager_win.cc | 91 const Extension* extension) { 99 UTF8ToUTF16(extension->name()),
|