HomeSort by relevance Sort by last modified time
    Searched refs:extension (Results 26 - 50 of 2101) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/chromium_org/chrome/browser/resources/extensions/
pack_extension_overlay.css 5 .pack-extension-heading {
10 .pack-extension-text-boxes {
14 .pack-extension-text-area {
  /external/chromium_org/chrome/browser/extensions/
active_tab_unittest.cc 16 #include "chrome/common/extensions/extension.h"
40 scoped_refptr<const Extension> CreateTestExtension(
48 .Set("name", "Extension with ID " + id)
59 : extension(CreateTestExtension("deadbeef", true)),
77 bool IsAllowed(const scoped_refptr<const Extension>& extension,
79 return IsAllowed(extension, url, tab_id());
82 bool IsAllowed(const scoped_refptr<const Extension>& extension,
86 extension.get(), url, url, tab_id, NULL, -1, NULL) &
118 scoped_refptr<const Extension> extension; member in class:extensions::__anon7156::ActiveTabTest
    [all...]
management_policy.cc 11 void GetExtensionNameAndId(const Extension* extension,
14 // The extension may be NULL in testing.
15 *id = extension ? extension->id() : "[test]";
16 *name = extension ? extension->name() : "test";
27 bool ManagementPolicy::Provider::UserMayLoad(const Extension* extension,
33 const Extension* extension, string16* error) const
    [all...]
admin_policy.cc 8 #include "chrome/common/extensions/extension.h"
15 bool ManagementPolicyImpl(const extensions::Extension* extension,
19 extension->location() != extensions::Manifest::COMPONENT &&
20 extension->location() != extensions::Manifest::EXTERNAL_POLICY_DOWNLOAD;
28 UTF8ToUTF16(extension->name()));
33 bool ReturnLoadError(const extensions::Extension* extension, string16* error) {
37 UTF8ToUTF16(extension->name()),
38 UTF8ToUTF16(extension->id()))
    [all...]
suggest_permission_util.h 18 class Extension;
22 const Extension* extension,
27 const Extension* extension,
30 // Checks that |extension| is not NULL and that it has |permission|. If not
31 // and extension, just returns false. If an extension without |permission|
35 const Extension* extension,
    [all...]
extension_webkit_preferences.cc 9 #include "chrome/common/extensions/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()) {
50 // If this is a component extension, then apply the same poliy for
54 // sometimes loaded with chrome-extension: URLs - we should expect the
57 if (extension->location() == extensions::Manifest::COMPONENT &
    [all...]
permissions_updater.h 20 class Extension;
24 // Updates an Extension's active and granted permissions in persistent storage
31 // Adds the set of |permissions| to the |extension|'s active permission set
34 void AddPermissions(const Extension* extension,
37 // Removes the set of |permissions| from the |extension|'s active permission
39 void RemovePermissions(const Extension* extension,
42 // Adds all permissions in the |extension|'s active permissions to its
44 void GrantActivePermissions(const Extension* extension)
    [all...]
  /external/chromium_org/chrome/common/extensions/
extension_unittest.cc 12 #include "chrome/common/extensions/extension.h"
58 // Check that no install source can override a componenet extension.
85 scoped_refptr<Extension> extension = LoadManifestStrict("empty_manifest", local
87 EXPECT_TRUE(extension.get());
89 EXPECT_EQ(extension->url().spec() + "bar/baz.js",
90 Extension::GetResourceURL(extension->url(), "bar/baz.js").spec());
91 EXPECT_EQ(extension->url().spec() + "baz.js",
92 Extension::GetResourceURL(extension->url()
103 scoped_refptr<Extension> extension = LoadManifestStrict("absolute_path", local
163 scoped_refptr<Extension> extension; local
275 scoped_refptr<Extension> extension; local
    [all...]
background_info.cc 37 const BackgroundInfo& GetBackgroundInfo(const Extension* extension) {
39 extension->GetManifestData(kBackground));
56 GURL BackgroundInfo::GetBackgroundURL(const Extension* extension) {
57 const BackgroundInfo& info = GetBackgroundInfo(extension);
60 return extension->GetResourceURL(kGeneratedBackgroundPageFilename);
65 const Extension* extension) {
66 return GetBackgroundInfo(extension).background_scripts_
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/chromium/
ClipboardChromiumTest.cpp 56 String extension = "ext"; local
57 ClipboardChromium::validateFilename(name, extension);
59 EXPECT_EQ("ext", extension);
65 String extension = "e" + String(invalidCharacters, arraysize(invalidCharacters)) + "xt"; local
66 ClipboardChromium::validateFilename(name, extension);
68 EXPECT_EQ("ext", extension);
74 String extension = String(longString) + longString; local
75 ClipboardChromium::validateFilename(name, extension);
76 EXPECT_EQ(String(), extension); local
82 String extension = longString local
    [all...]
  /external/chromium/chrome/browser/extensions/
extension_disabled_infobar_delegate.h 9 class Extension;
13 // Shows UI to inform the user that an extension was disabled after upgrading
16 const Extension* extension);
18 // Shows the extension install dialog.
20 const Extension* extension);
extension_context_menu_model.cc 13 #include "chrome/common/extensions/extension.h"
31 const Extension* extension,
35 extension_id_(extension->id()),
39 extension_action_ = extension->browser_action();
41 extension_action_ = extension->page_action();
56 const Extension* extension = GetExtension(); local
58 // The extension pointer should only be null if the extension was uninstalled
78 const Extension* extension = this->GetExtension(); local
107 const Extension* extension = GetExtension(); local
    [all...]
  /external/chromium_org/chrome/common/extensions/api/i18n/
default_locale_manifest_unittest.cc 19 scoped_refptr<Extension> extension(
21 EXPECT_EQ("de-AT", LocaleInfo::GetDefaultLocale(extension.get()));
  /external/chromium_org/chrome/common/extensions/manifest_tests/
extension_manifests_old_unittest.cc 7 #include "chrome/common/extensions/extension.h"
13 scoped_refptr<extensions::Extension> extension = LoadAndExpectSuccess( local
15 extensions::Extension::NO_FLAGS);
16 EXPECT_TRUE(extension->HasAPIPermission(
extension_manifests_background_unittest.cc 11 #include "chrome/common/extensions/extension.h"
37 scoped_refptr<Extension> extension(
39 ASSERT_TRUE(extension.get());
41 BackgroundInfo::GetBackgroundScripts(extension.get());
46 EXPECT_TRUE(BackgroundInfo::HasBackgroundPage(extension.get()));
49 BackgroundInfo::GetBackgroundURL(extension.get()).path());
57 scoped_refptr<Extension> extension(
59 ASSERT_TRUE(extension.get())
80 scoped_refptr<Extension> extension; local
    [all...]
extension_manifests_launch_unittest.cc 7 #include "chrome/common/extensions/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")
110 scoped_refptr<Extension> extension; local
    [all...]
  /external/lzma/CPP/7zip/UI/Common/
DefaultName.h 9 const UString &extension, const UString &addSubExtension);
  /external/chromium_org/chrome/browser/chromeos/extensions/
wallpaper_manager_util.cc 30 const extensions::Extension* extension = local
32 if (!extension)
35 chrome::OpenApplication(chrome::AppLaunchParams(profile, extension,
  /external/chromium_org/apps/
launcher.h 18 class Extension;
23 // Launches the platform app |extension|. Creates appropriate launch data for
24 // the |command_line| fields present. |extension| and |profile| must not be
28 const extensions::Extension* extension,
32 // Launches the platform app |extension| with the contents of |file_path|
35 const extensions::Extension* extension,
38 // Launches the platform app |extension| with no launch data.
40 const extensions::Extension* extension)
    [all...]
  /external/chromium_org/chrome/common/extensions/api/system_indicator/
system_indicator_handler.cc 11 #include "chrome/common/extensions/extension.h"
24 bool SystemIndicatorHandler::Parse(Extension* extension, string16* error) {
26 if (!extension->manifest()->GetDictionary(
33 extension, system_indicator_value, error);
39 // TODO(dewittj) Add this for all extension action APIs.
40 PermissionsData::GetInitialAPIPermissions(extension)->insert(
43 ActionInfo::SetSystemIndicatorInfo(extension, action_info.release());
  /external/chromium_org/chrome/common/extensions/manifest_handlers/
content_scripts_handler.h 10 #include "chrome/common/extensions/extension.h"
18 struct ContentScriptsInfo : public Extension::ManifestData {
22 // Paths to the content scripts the extension contains (possibly empty).
25 // Returns the content scripts for the extension (if the extension has
27 static const UserScriptList& GetContentScripts(const Extension* extension);
29 // Returns the list of hosts that this extension can run content scripts on.
30 static URLPatternSet GetScriptableHosts(const Extension* extension);
    [all...]
app_launch_info.h 11 #include "chrome/common/extensions/extension.h"
20 class AppLaunchInfo : public Extension::ManifestData {
25 // Get the local path inside the extension to use with the launcher.
26 static const std::string& GetLaunchLocalPath(const Extension* extension);
29 static const GURL& GetLaunchWebURL(const Extension* extension);
37 const Extension* extension);
41 static int GetLaunchWidth(const Extension* extension)
    [all...]
kiosk_enabled_info.cc 26 bool KioskEnabledInfo::IsKioskEnabled(const Extension* extension) {
28 extension->GetManifestData(keys::kKioskEnabled));
38 bool KioskEnabledHandler::Parse(Extension* extension, string16* error) {
39 DCHECK(extension->manifest()->HasKey(keys::kKioskEnabled));
42 if (!extension->manifest()->GetBoolean(keys::kKioskEnabled, &kiosk_enabled)) {
49 DCHECK(extension->is_platform_app());
51 extension->SetManifestData(keys::kKioskEnabled,
  /external/chromium/chrome/browser/
background_application_list_model.h 14 #include "chrome/common/extensions/extension.h"
33 // Invoked when data that the model associates with the extension, such as
35 virtual void OnApplicationDataChanged(const Extension* extension);
37 // Invoked when the model detects a previously unknown extension and/or when
38 // it no longer detects a previously known extension.
53 // Return the icon associated with |extension| or NULL. NULL indicates either
54 // that there is no icon associated with the extension, or that a pending
59 // NOTE: All icons are currently sized as Extension::EXTENSION_ICON_BITTY.
60 const SkBitmap* GetIcon(const Extension* extension)
    [all...]
  /external/chromium_org/chrome/common/extensions/api/extension_action/
browser_action_handler.cc 10 #include "chrome/common/extensions/extension.h"
26 bool BrowserActionHandler::Parse(Extension* extension,
29 if (!extension->manifest()->GetDictionary(
35 scoped_ptr<ActionInfo> action_info = ActionInfo::Load(extension, dict, error);
39 ActionInfo::SetBrowserActionInfo(extension, action_info.release());
45 const Extension* extension,
48 const ActionInfo* action = ActionInfo::GetBrowserActionInfo(extension);
52 extension,
    [all...]

Completed in 1321 milliseconds

12 3 4 5 6 7 8 91011>>