/external/chromium/chrome/browser/ui/views/ |
browser_actions_container.cc | 62 BrowserActionButton::BrowserActionButton(const Extension* extension, 66 browser_action_(extension->browser_action()), 67 extension_(extension), 104 gfx::Size(Extension::kBrowserActionIconMaxSize, 105 Extension::kBrowserActionIconMaxSize), 168 // If the browser action name is empty, show the extension name instead. 171 name = UTF8ToUTF16(extension()->name()); 253 if (!extension()->ShowConfigureContextMenus()) 261 new ExtensionContextMenuModel(extension(), panel_->browser(), panel_) 804 const Extension* extension = service->GetExtensionById(extension_id, false); local [all...] |
browser_actions_container.h | 33 class Extension; 62 BrowserActionButton(const Extension* extension, 69 const Extension* extension() { return extension_; } function in class:BrowserActionButton 126 // The extension associated with the browser action we're displaying. 127 const Extension* extension_; 161 BrowserActionView(const Extension* extension, BrowserActionsContainer* panel); 302 // Retrieve the BrowserActionView for |extension| [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_prefs.cc | 14 #include "chrome/common/extensions/extension.h" 25 // Where an extension was installed from. (see Extension::Location) 28 // Enabled, disabled, killed, etc. (see Extension::State) 34 // The dictionary containing the extension's manifest. 40 // Indicates if an extension is blacklisted: 51 // server's perspective) an extension last included a "ping" parameter during 71 // A preference that, if true, will allow this extension to run in incognito 75 // A preference to control whether an extension is allowed to inject script in 96 // A preference for storing extra data sent in update checks for an extension 126 DictionaryValue* extension = NULL; local 827 const DictionaryValue* extension = GetExtensionPref(id); local 914 const DictionaryValue* extension = GetExtensionPref(extension_id); local 967 const DictionaryValue* extension = GetExtensionPref(extension_id); local 1017 DictionaryValue* extension = update.Get(); local 1356 const DictionaryValue* extension = GetExtensionPref(extension_id); local 1394 DictionaryValue* extension = update.Get(); local [all...] |
extension_event_router.cc | 15 #include "chrome/common/extensions/extension.h" 67 const Extension* extension = local 69 return CanCrossIncognito(profile, extension); 74 const Extension* extension) { 75 // We allow the extension to see events and data from another profile iff it 79 (profile->GetExtensionService()->IsIncognitoEnabled(extension->id()) && 80 !extension->incognito_split_mode()); 118 " PID=" << process->id() << " extension=" << extension_id < 207 const Extension* extension = service->GetExtensionById( local [all...] |
extension_prefs.h | 16 #include "chrome/common/extensions/extension.h" 21 // Class for managing global and per-extension preferences. 25 // internal state for the extension system in general, not associated 26 // with an individual extension, such as lastUpdateTime. 27 // - per-extension preferences: 28 // meta-preferences describing properties of the extension like 29 // installation time, whether the extension is enabled, etc. 30 // - extension controlled preferences: 31 // browser preferences that an extension controls. For example, an 32 // extension could use the proxy API to specify the browser's prox [all...] |
extension_web_ui.cc | 22 #include "chrome/common/extensions/extension.h" 58 // extension. 77 extension_->GetIconResource(Extension::EXTENSION_ICON_BITTY, 93 NOTREACHED() << "Could not encode extension favicon"; 120 const Extension* extension_; 134 const Extension* extension = service->GetExtensionByURL(url); local 135 if (!extension) 136 extension = service->GetExtensionByWebExtent(url); 137 DCHECK(extension); 274 const Extension* extension = service->GetExtensionByURL(extension_url); local [all...] |
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...] |
/external/chromium/chrome/browser/ |
background_page_tracker.cc | 24 #include "chrome/common/extensions/extension.h" 32 // each background page: the parent application/extension ID, and a boolean 163 const Extension* extension = Details<const Extension>(details).ptr(); local 164 if (!extension->is_hosted_app() && 165 extension->background_url().is_valid()) 166 OnBackgroundPageLoaded(extension->id()); 170 std::string id = Details<UnloadedExtensionInfo>(details)->extension->id(); 186 // 1) Walk our list, and make sure that there's a corresponding extension fo 203 const Extension* extension = extensions_service->GetExtensionById( local [all...] |
/external/chromium/chrome/browser/ui/views/extensions/ |
browser_action_overflow_menu_controller.cc | 13 #include "chrome/common/extensions/extension.h" 39 UTF8ToWide(view->button()->extension()->name()), 44 view->button()->extension()->browser_action()->GetTitle( 95 const Extension* extension = local 96 (*views_)[start_index_ + id - 1]->button()->extension(); 97 if (!extension->ShowConfigureContextMenus()) 101 extension, 193 std::string id = view->button()->extension()->id();
|
/external/chromium/chrome/browser/ui/views/location_bar/ |
page_action_image_view.cc | 30 const Extension* extension = profile->GetExtensionService()-> local 32 DCHECK(extension); 42 tracker_.LoadImage(extension, extension->GetResource(*iter), 43 gfx::Size(Extension::kPageActionIconMaxSize, 44 Extension::kPageActionIconMaxSize), 149 const Extension* extension = profile_->GetExtensionService()-> local 151 if (!extension->ShowConfigureContextMenus() [all...] |
/external/chromium/testing/gtest/src/ |
gtest-filepath.cc | 114 // Returns a copy of the FilePath with the case-insensitive extension removed. 116 // FilePath("dir/file"). If a case-insensitive extension is not 118 FilePath FilePath::RemoveExtension(const char* extension) const { 119 String dot_extension(String::Format(".%s", extension)); 173 // extension = "xml", returns "dir/test.xml". If number is greater 179 const char* extension) { 182 file = String::Format("%s.%s", base_name.c_str(), extension); 184 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension); 272 // will be directory/base_name.extension or 273 // directory/base_name_<number>.extension if directory/base_name.extensio [all...] |
/external/emma/core/java12/com/vladium/util/ |
Files.java | 160 * @return String file name without the extension [excluding '.' separator] 161 * [if 'file' does not appear to have an extension, the full name is returned]. 181 * @return String extension [including '.' separator] or "" if 'file' does not 182 * appear to have an extension. 294 * This defers to File.createTempFile (prefix, extension, parentDir) after 295 * normalizing 'extension'.<P> 307 * @param extension pattern for the temp file name [null is equivalient to 314 public static File createTempFile (final File parentDir, final String prefix, String extension) 322 if (extension == null) extension = ".tmp" [all...] |
/external/gtest/src/ |
gtest-filepath.cc | 114 // Returns a copy of the FilePath with the case-insensitive extension removed. 116 // FilePath("dir/file"). If a case-insensitive extension is not 118 FilePath FilePath::RemoveExtension(const char* extension) const { 119 String dot_extension(String::Format(".%s", extension)); 173 // extension = "xml", returns "dir/test.xml". If number is greater 179 const char* extension) { 182 file = String::Format("%s.%s", base_name.c_str(), extension); 184 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension); 272 // will be directory/base_name.extension or 273 // directory/base_name_<number>.extension if directory/base_name.extensio [all...] |
/external/libvpx/libvpx/third_party/googletest/src/src/ |
gtest-filepath.cc | 114 // Returns a copy of the FilePath with the case-insensitive extension removed. 116 // FilePath("dir/file"). If a case-insensitive extension is not 118 FilePath FilePath::RemoveExtension(const char* extension) const { 119 String dot_extension(String::Format(".%s", extension)); 173 // extension = "xml", returns "dir/test.xml". If number is greater 179 const char* extension) { 182 file = String::Format("%s.%s", base_name.c_str(), extension); 184 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension); 272 // will be directory/base_name.extension or 273 // directory/base_name_<number>.extension if directory/base_name.extensio [all...] |
/external/llvm/utils/unittest/googletest/ |
gtest-filepath.cc | 112 // Returns a copy of the FilePath with the case-insensitive extension removed. 114 // FilePath("dir/file"). If a case-insensitive extension is not 116 FilePath FilePath::RemoveExtension(const char* extension) const { 117 String dot_extension(String::Format(".%s", extension)); 171 // extension = "xml", returns "dir/test.xml". If number is greater 177 const char* extension) { 180 file = String::Format("%s.%s", base_name.c_str(), extension); 182 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension); 270 // will be directory/base_name.extension or 271 // directory/base_name_<number>.extension if directory/base_name.extensio [all...] |
/external/open-vcdiff/gtest/src/ |
gtest-filepath.cc | 99 // Returns a copy of the FilePath with the case-insensitive extension removed. 101 // FilePath("dir/file"). If a case-insensitive extension is not 103 FilePath FilePath::RemoveExtension(const char* extension) const { 104 String dot_extension(String::Format(".%s", extension)); 142 // extension = "xml", returns "dir/test.xml". If number is greater 148 const char* extension) { 151 file = String::Format("%s.%s", base_name.c_str(), extension); 153 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension); 241 // will be directory/base_name.extension or 242 // directory/base_name_<number>.extension if directory/base_name.extensio [all...] |
/external/protobuf/gtest/src/ |
gtest-filepath.cc | 99 // Returns a copy of the FilePath with the case-insensitive extension removed. 101 // FilePath("dir/file"). If a case-insensitive extension is not 103 FilePath FilePath::RemoveExtension(const char* extension) const { 104 String dot_extension(String::Format(".%s", extension)); 142 // extension = "xml", returns "dir/test.xml". If number is greater 148 const char* extension) { 151 file = String::Format("%s.%s", base_name.c_str(), extension); 153 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension); 241 // will be directory/base_name.extension or 242 // directory/base_name_<number>.extension if directory/base_name.extensio [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppReceiveFileInfo.java | 143 String extension = null; local 150 extension = ""; 153 extension = filename.substring(dotIndex); 158 String fullfilename = chooseUniquefilename(filename, extension); 212 private static String chooseUniquefilename(String filename, String extension) { 213 String fullfilename = filename + extension; 233 fullfilename = filename + sequence + extension;
|
/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/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...] |
/external/harfbuzz_ng/util/ |
helper-cairo.cc | 283 const char *extension = out_opts->output_format; local 284 if (!extension) { 287 extension = "ansi"; 292 extension = "png"; 294 extension = "ansi"; 300 else if (0 == strcasecmp (extension, "ansi")) 303 else if (0 == strcasecmp (extension, "png")) 307 else if (0 == strcasecmp (extension, "svg")) 311 else if (0 == strcasecmp (extension, "pdf")) 315 else if (0 == strcasecmp (extension, "ps") [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);
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
BluetoothOppHandover.java | 81 String extension = MimeTypeMap.getFileExtensionFromUrl(uri.getPath()).toLowerCase(); local 82 if (extension != null) { 83 return MimeTypeMap.getSingleton().getMimeTypeFromExtension(extension);
|