Searched defs:extension (Results 1 - 25 of 991) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/extensions/
H A Dshared_module_apitest.cc11 // the public-keys in their manifests are used to generate the extension ID, so
43 const Extension* extension = LoadExtension( local
45 ASSERT_TRUE(extension);
53 ReloadExtension(extension->id());
H A Dalert_apitest.cc15 #include "extensions/common/extension.h"
20 const extensions::Extension* extension = GetSingleLoadedExtension(); local
23 process_manager()->GetBackgroundHostForExtension(extension->id());
H A Dactive_tab_apitest.cc10 #include "extensions/common/extension.h"
26 const Extension* extension = local
28 ASSERT_TRUE(extension);
40 // Granting to the extension should give it access to page.html.
44 extension, browser(), true);
H A Dbrowser_action_apitest.cc12 extension::ExtensionRegistry* registry =
17 const Extension* extension = LoadExtension(extension_path); local
18 ASSERT_TRUE(extension);
24 extension->description().c_str());
26 extension->name().c_str());
30 extension->browser_action()->GetTitle(tab_id).c_str());
H A Dbrowsertest_util_browsertest.cc28 " \"name\": \"ExecuteScript extension\",\n"
34 const Extension* extension = LoadExtension(ext_dir.unpacked_path()); local
35 ASSERT_TRUE(extension);
36 EXPECT_EQ(extension->id(),
39 extension->id(),
46 extension->id(),
54 extension->id(),
H A Dextension_webkit_preferences.cc10 #include "extensions/common/extension.h"
15 void SetPreferences(const extensions::Extension* extension, argument
18 if (!extension)
21 if (!extension->is_hosted_app()) {
32 if (extension->is_platform_app()) {
/external/chromium_org/chrome/common/extensions/manifest_tests/
H A Dextension_manifests_old_unittest.cc7 #include "extensions/common/extension.h"
14 scoped_refptr<extensions::Extension> extension = LoadAndExpectSuccess( local
17 EXPECT_TRUE(extension->permissions_data()->HasAPIPermission(
H A Dextension_manifests_about_unittest.cc15 scoped_refptr<extensions::Extension> extension; local
16 extension = LoadAndExpectSuccess("shared_module_about.json");
17 EXPECT_EQ(GURL("chrome-extension://" + extension->id() + "/about.html"),
18 extensions::ManifestURL::GetAboutPage(extension.get()));
H A Dextension_manifests_devtools_unittest.cc7 #include "extensions/common/extension.h"
19 scoped_refptr<extensions::Extension> extension; local
20 extension = LoadAndExpectSuccess("devtools_extension.json");
21 EXPECT_EQ(extension->url().spec() + "devtools.html",
22 extensions::ManifestURL::GetDevToolsPage(extension.get()).spec());
23 EXPECT_TRUE(extension->permissions_data()->HasEffectiveAccessToAllHosts());
H A Dextension_manifests_dummy_unittest.cc10 scoped_refptr<Extension> extension = local
12 EXPECT_EQ(0u, extension->install_warnings().size());
16 scoped_refptr<Extension> extension = local
H A Dextension_manifests_override_unittest.cc23 scoped_refptr<extensions::Extension> extension; local
25 extension = LoadAndExpectSuccess("override_new_tab.json");
26 EXPECT_EQ(extension->url().spec() + "newtab.html",
27 extensions::URLOverrides::GetChromeURLOverrides(extension.get())
30 extension = LoadAndExpectSuccess("override_history.json");
31 EXPECT_EQ(extension->url().spec() + "history.html",
32 extensions::URLOverrides::GetChromeURLOverrides(extension.get())
H A Dextension_manifests_launch_unittest.cc10 #include "extensions/common/extension.h"
23 scoped_refptr<Extension> extension; local
25 extension = LoadAndExpectSuccess("launch_tab.json");
27 AppLaunchInfo::GetLaunchContainer(extension.get()));
29 extension = LoadAndExpectSuccess("launch_panel.json");
31 AppLaunchInfo::GetLaunchContainer(extension.get()));
33 extension = LoadAndExpectSuccess("launch_default.json");
35 AppLaunchInfo::GetLaunchContainer(extension.get()));
37 extension = LoadAndExpectSuccess("launch_width.json");
38 EXPECT_EQ(640, AppLaunchInfo::GetLaunchWidth(extension
110 scoped_refptr<Extension> extension; local
[all...]
H A Dextension_manifests_options_unittest.cc22 scoped_refptr<Extension> extension = local
25 OptionsPageInfo::GetOptionsPage(extension.get()).spec());
27 extension = LoadAndExpectSuccess("platform_app_with_options_page.json");
28 EXPECT_TRUE(!OptionsPageInfo::HasOptionsPage(extension.get()));
52 scoped_refptr<Extension> extension = local
54 EXPECT_EQ(base::StringPrintf("chrome-extension://%s/options.html",
55 extension.get()->id().c_str()),
56 OptionsPageInfo::GetOptionsPage(extension.get()).spec());
58 extension = LoadAndExpectSuccess("options_ui_page_with_legacy_page.json");
59 EXPECT_EQ(base::StringPrintf("chrome-extension
73 scoped_refptr<Extension> extension = local
94 scoped_refptr<Extension> extension = local
[all...]
/external/chromium_org/chrome/browser/extensions/api/streams_private/
H A Dstreams_private_manifest_unittest.cc29 scoped_refptr<const Extension> extension = local
40 ASSERT_TRUE(extension.get());
41 MimeTypesHandler* handler = MimeTypesHandler::GetHandler(extension.get());
50 scoped_refptr<const Extension> extension = local
60 ASSERT_TRUE(extension.get());
62 MimeTypesHandler* handler = MimeTypesHandler::GetHandler(extension.get());
/external/chromium_org/chrome/renderer/
H A Dplayback_extension.cc14 v8::Extension* extension = new v8::Extension( local
45 return extension;
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
H A DWebSocketExtensionParserTest.cpp44 CString input("extension");
45 String extension; local
49 ASSERT_TRUE(parser.parseExtension(extension, parameters));
50 EXPECT_EQ("extension", extension);
56 CString input("extension; foo=FOO; bar=BAR; baz");
57 String extension; local
61 ASSERT_TRUE(parser.parseExtension(extension, parameters));
62 EXPECT_EQ("extension", extension);
73 String extension; local
87 String extension; local
97 String extension; local
107 String extension; local
117 String extension; local
127 String extension; local
137 String extension; local
147 String extension; local
157 String extension; local
167 String extension; local
177 String extension; local
[all...]
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebScriptController.cpp38 void WebScriptController::registerExtension(v8::Extension* extension) argument
40 ScriptController::registerExtensionIfNeeded(extension);
/external/chromium_org/tools/gn/
H A Dsource_file_type.cc11 base::StringPiece extension = FindExtension(&file.value()); local
12 if (extension == "cc" || extension == "cpp" || extension == "cxx")
14 if (extension == "h")
16 if (extension == "c")
18 if (extension == "m")
20 if (extension == "mm")
22 if (extension == "rc")
24 if (extension
[all...]
/external/chromium_org/chrome/browser/background/
H A Dbackground_mode_manager_aura.cc8 #include "extensions/common/extension.h"
18 const extensions::Extension* extension) {
17 DisplayAppInstalledNotification( const extensions::Extension* extension) argument
H A Dbackground_mode_manager_chromeos.cc8 #include "extensions/common/extension.h"
16 const extensions::Extension* extension) {
15 DisplayAppInstalledNotification( const extensions::Extension* extension) argument
H A Dbackground_mode_manager_win.cc36 const extensions::Extension* extension) {
45 base::UTF8ToUTF16(extension->name()),
35 DisplayAppInstalledNotification( const extensions::Extension* extension) argument
/external/chromium_org/chrome/browser/chromeos/extensions/file_system_provider/
H A Dfile_system_provider_apitest.cc14 // Loads a helper testing extension.
17 const extensions::Extension* extension = LoadExtensionWithFlags( variable
20 ASSERT_TRUE(extension); variable
124 ASSERT_TRUE(RunComponentExtensionTest("file_system_provider/extension"))
/external/chromium_org/chrome/browser/chromeos/extensions/
H A Dwallpaper_manager_util.cc14 #include "extensions/common/extension.h"
28 const extensions::Extension* extension = local
30 if (!extension)
33 OpenApplication(AppLaunchParams(profile, extension,
/external/chromium_org/chrome/browser/extensions/api/context_menus/
H A Dcontext_menu_apitest.cc34 const extensions::Extension* extension = GetSingleLoadedExtension(); local
35 ASSERT_TRUE(extension) << message_;
38 // Tell the extension to update the page action state.
41 extension->GetResourceURL("popup.html"));
46 // Tell the extension to update the page action state again.
49 extension->GetResourceURL("popup2.html"));
/external/chromium_org/chrome/browser/extensions/api/i18n/
H A Di18n_apitest.cc12 #include "extensions/common/extension.h"
40 const extensions::Extension* extension = LoadExtension(extension_dir.path()); local
54 // Change messages.json file and reload extension.
59 ReloadExtension(extension->id());

Completed in 509 milliseconds

1234567891011>>