Home
last modified time | relevance | path

Searched refs:extension_ (Results 1 – 25 of 48) sorted by relevance

12

/external/chromium/chrome/browser/extensions/
Dextension_disabled_infobar_delegate.cc46 const Extension* extension_; member in ExtensionDisabledDialogDelegate
53 : service_(service), extension_(extension) { in ExtensionDisabledDialogDelegate()
57 install_ui_->ConfirmReEnable(this, extension_); in ExtensionDisabledDialogDelegate()
64 service_->GrantPermissionsAndEnableExtension(extension_); in InstallUIProceed()
70 extension_, "Extensions.Permissions_ReEnableCancel"); in InstallUIAbort()
104 const Extension* extension_; member in ExtensionDisabledInfobarDelegate
114 extension_(extension) { in ExtensionDisabledInfobarDelegate()
130 return l10n_util::GetStringFUTF16(extension_->is_app() ? in GetMessageText()
132 UTF8ToUTF16(extension_->name())); in GetMessageText()
149 extension_); in Accept()
[all …]
Dcrx_installer.cc241 if (extension_->is_app()) { in AllowInstall()
277 extension_->web_extent().patterns(); in AllowInstall()
302 extension_ = extension; in OnUnpackSuccess()
316 Extension::DecodeIcon(extension_.get(), Extension::EXTENSION_ICON_LARGE, in OnUnpackSuccess()
338 if (frontend_->extension_prefs()->IsExtensionBlacklisted(extension_->id())) { in ConfirmInstall()
339 VLOG(1) << "This extension: " << extension_->id() in ConfirmInstall()
346 extension_->id())) { in ConfirmInstall()
353 frontend_->GetExtensionByOverlappingWebExtent(extension_->web_extent()); in ConfirmInstall()
355 overlapping_extension->id() != extension_->id()) { in ConfirmInstall()
363 frontend_->extension_prefs()->GetVersionString(extension_->id()); in ConfirmInstall()
[all …]
Dextension_uninstall_dialog.cc24 extension_(NULL), in ExtensionUninstallDialog()
35 extension_ = extension; in ConfirmUninstall()
38 extension_->GetIconResource(Extension::EXTENSION_ICON_LARGE, in ConfirmUninstall()
41 tracker_.LoadImage(extension_, image, in ConfirmUninstall()
52 if (extension_->is_app()) { in SetIcon()
67 Show(profile_, delegate_, extension_, &icon_); in OnImageLoaded()
Dextension_install_ui.cc96 extension_(NULL), in ExtensionInstallUI()
123 extension_ = extension; in ConfirmInstall()
140 extension_ = extension; in ConfirmReEnable()
148 extension_ = extension; in OnInstallSuccess()
189 icon_ = Extension::GetDefaultIcon(extension_->is_app()); in SetIcon()
207 extension_->GetPermissionMessageStrings(); in OnImageLoaded()
209 profile_, delegate_, extension_, &icon_, warnings, prompt_type_); in OnImageLoaded()
267 extension_->GetIconResource(Extension::EXTENSION_ICON_LARGE, in ShowConfirmation()
269 tracker_.LoadImage(extension_, image, in ShowConfirmation()
Dextension_prefs_unittest.cc509 extension_ = prefs_.AddExtension("on_extension_installed"); in Initialize()
511 prefs()->GetExtensionState(extension_->id())); in Initialize()
512 EXPECT_FALSE(prefs()->IsIncognitoEnabled(extension_->id())); in Initialize()
513 prefs()->OnExtensionInstalled(extension_.get(), in Initialize()
519 prefs()->GetExtensionState(extension_->id())); in Verify()
520 EXPECT_TRUE(prefs()->IsIncognitoEnabled(extension_->id())); in Verify()
524 scoped_refptr<Extension> extension_; member in ExtensionPrefsOnExtensionInstalled
535 extension_ = prefs_.AddExtension("on_extension_installed"); in Initialize()
537 prefs()->GetExtensionState(extension_->id())); in Initialize()
538 prefs()->OnExtensionInstalled(extension_.get(), in Initialize()
[all …]
Dextension_web_ui.cc66 extension_(NULL) { in ExtensionWebUIImageLoadingTracker()
71 extension_ = service->GetExtensionByURL(page_url); in ExtensionWebUIImageLoadingTracker()
75 if (extension_) { in Init()
77 extension_->GetIconResource(Extension::EXTENSION_ICON_BITTY, in Init()
80 tracker_.LoadImage(extension_, icon_resource, in Init()
120 const Extension* extension_; member in __anon6396a6540111::ExtensionWebUIImageLoadingTracker
Dextension_host.cc126 : extension_(extension), in ExtensionHost()
245 !profile_->GetExtensionService()->IsBackgroundPageReady(extension_)) { in NavigateToURL()
248 Source<Extension>(extension_)); in NavigateToURL()
261 IsBackgroundPageReady(extension_)); in Observe()
275 if (extension_ == Details<UnloadedExtensionInfo>(details)->extension) in Observe()
276 extension_ = NULL; in Observe()
313 if (!extension_) in RenderViewGone()
407 profile_->GetExtensionService()->SetBackgroundPageReady(extension_); in DocumentAvailableInMainFrame()
545 if (extension_->HasApiPermission(Extension::kExperimentalPermission)) in GetWebkitPrefs()
Dextension_infobar_delegate.h35 const Extension* extension() { return extension_; } in extension()
67 const Extension* extension_; variable
Dextension_infobar_delegate.cc23 extension_(extension), in ExtensionInfoBarDelegate()
88 if (extension_ == extension) in Observe()
Dsandboxed_extension_unpacker.cc200 extension_ = Extension::Create( in OnUnpackExtensionSucceeded()
207 if (!extension_.get()) { in OnUnpackExtensionSucceeded()
419 client_->OnUnpackSuccess(temp_dir_.Take(), extension_root_, extension_); in ReportSuccess()
420 extension_ = NULL; in ReportSuccess()
475 std::set<FilePath> image_paths = extension_->GetBrowserImages(); in RewriteImageFiles()
Dextension_file_browser_private_api.cc233 extension_(extension) { in LocalFileSystemCallbackDispatcher()
290 if (!extension_.get()) in SetupFileSystemAccessPermissions()
295 if (extension_->location() != Extension::COMPONENT in SetupFileSystemAccessPermissions()
302 << extension_->id(); in SetupFileSystemAccessPermissions()
314 provider->GrantFullAccessToExtension(extension_->id()); in SetupFileSystemAccessPermissions()
333 scoped_refptr<const Extension> extension_; member in LocalFileSystemCallbackDispatcher
441 extension_(extension), in ExecuteTasksFileSystemCallbackDispatcher()
518 if (!extension_.get()) in SetupFileAccessPermissions()
601 extension_->location() != Extension::COMPONENT ? in SetupFileAccessPermissions()
626 scoped_refptr<const Extension> extension_; member in ExecuteTasksFileSystemCallbackDispatcher
/external/chromium/third_party/libjingle/source/talk/base/
Dpathutils.cc101 extension_.clear(); in clear()
105 return folder_.empty() && basename_.empty() && extension_.empty(); in empty()
111 pathname.append(extension_); in pathname()
129 s += extension_; in url()
213 return extension_; in extension()
221 extension_.assign(extension); in SetExtension()
223 if (!extension_.empty() && (extension_[0] != EXT_DELIM)) { in SetExtension()
224 extension_.insert(extension_.begin(), EXT_DELIM); in SetExtension()
231 filename.append(extension_); in filename()
/external/chromium/chrome/browser/ui/gtk/extensions/
Dextension_installed_bubble_gtk.cc70 : extension_(extension), in ExtensionInstalledBubbleGtk()
76 if (!extension_->omnibox_keyword().empty()) { in ExtensionInstalledBubbleGtk()
78 } else if (extension_->browser_action()) { in ExtensionInstalledBubbleGtk()
105 if (extension == extension_) { in Observe()
113 if (extension == extension_) in Observe()
114 extension_ = NULL; in Observe()
139 reference_widget = toolbar->GetBrowserActionWidget(extension_); in ShowInternal()
154 location_bar_view->SetPreviewEnabledPageAction(extension_->page_action(), in ShowInternal()
157 extension_->page_action()); in ShowInternal()
217 string16 extension_name = UTF8ToUTF16(extension_->name()); in ShowInternal()
[all …]
/external/chromium/chrome/browser/ui/views/extensions/
Dextension_installed_bubble.cc245 : extension_(extension), in ExtensionInstalledBubble()
251 if (!extension_->omnibox_keyword().empty()) { in ExtensionInstalledBubble()
253 } else if (extension_->browser_action()) { in ExtensionInstalledBubble()
280 if (extension == extension_) { in Observe()
289 if (extension == extension_) in Observe()
290 extension_ = NULL; in Observe()
314 extension_->browser_action()); in ShowInternal()
325 location_bar_view->SetPreviewEnabledPageAction(extension_->page_action(), in ShowInternal()
328 extension_->page_action()); in ShowInternal()
355 bubble_content_ = new InstalledBubbleContent(extension_, type_, &icon_); in ShowInternal()
[all …]
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
DPhonenumber.java76 private java.lang.String extension_ = ""; field in Phonenumber.PhoneNumber
78 public String getExtension() { return extension_; } in getExtension()
84 extension_ = value; in setExtension()
89 extension_ = ""; in clearExtension()
210 extension_.equals(other.extension_) && italianLeadingZero_ == other.italianLeadingZero_ && in exactlySameAs()
248 outputString.append(" Extension: ").append(extension_); in toString()
/external/chromium/chrome/browser/ui/cocoa/extensions/
Dextension_action_context_menu.mm41 : extension_(extension),
44 extension_uninstall_dialog_->ConfirmUninstall(this, extension_);
52 UninstallExtension(extension_->id(), false, NULL);
58 const Extension* extension_;
162 extension_ = extension;
189 extension_->options_url().spec().length() <= 0) {
251 std::string("/detail/") + extension_->id());
256 DCHECK(!extension_->options_url().is_empty());
257 profile_->GetExtensionProcessManager()->OpenOptionsPage(extension_,
265 extensionService->DisableExtension(extension_->id());
[all …]
Dextension_installed_bubble_controller.mm75 @synthesize extension = extension_;
89 extension_ = extension;
127 extension_ = NULL;
157 if (!extension_ || !extension_->page_action() || pageActionRemoved_)
165 locationBarView->SetPreviewEnabledPageAction(extension_->page_action(),
191 arrowPoint = [controller popupPointForBrowserAction:extension_];
201 locationBarView->SetPreviewEnabledPageAction(extension_->page_action(),
206 locationBarView->GetPageActionBubblePoint(extension_->page_action());
288 string16 extension_name = UTF8ToUTF16(extension_->name().c_str());
312 UTF8ToUTF16(extension_->omnibox_keyword()))];
[all …]
Dextension_install_dialog_controller_unittest.mm63 extension_ = Extension::Create(path.DirName(), Extension::INVALID, *value,
65 if (!extension_.get()) {
74 scoped_refptr<Extension> extension_;
116 extension:extension_.get()
173 extension:extension_.get()
205 extension:extension_.get()
217 extension:extension_.get()
260 extension:extension_.get()
Dextension_installed_bubble_controller_unittest.mm117 scoped_refptr<Extension> extension_;
125 extension_ = CreateExtension(extension_installed_bubble::kPageAction);
129 extension:extension_.get()
168 extension_ = CreateExtension(extension_installed_bubble::kBrowserAction);
172 extension:extension_.get()
Dbrowser_action_button.mm108 @synthesize extension = extension_;
140 extension_ = extension;
242 std::string tooltip = extension_->browser_action()->GetTitle(tabId_);
249 SkBitmap image = extension_->browser_action()->GetIcon(tabId_);
/external/chromium/chrome/browser/ui/gtk/
Dbrowser_actions_toolbar_gtk.cc90 extension_(extension), in BrowserActionButton()
106 DCHECK(extension_->browser_action()); in BrowserActionButton()
112 std::string path = extension_->browser_action()->default_icon_path(); in BrowserActionButton()
114 tracker_.LoadImage(extension_, extension_->GetResource(path), in BrowserActionButton()
147 const Extension* extension() { return extension_; } in extension()
176 std::string tooltip = extension_->browser_action()->GetTitle(tab_id); in UpdateState()
182 SkBitmap image = extension_->browser_action()->GetIcon(tab_id); in UpdateState()
196 const SkBitmap& image = extension_->browser_action()->GetIcon( in GetIcon()
206 if (!extension_->ShowConfigureContextMenus()) in GetContextMenu()
210 new ExtensionContextMenuModel(extension_, toolbar_->browser(), this); in GetContextMenu()
[all …]
/external/chromium/chrome/browser/autofill/
Dphone_number.h62 const string16& extension() const { return extension_; } in extension()
73 void set_extension(const string16& extension) { extension_ = extension; } in set_extension()
94 string16 extension_; variable
/external/chromium/chrome/browser/
Dbackground_application_list_model.cc64 const Extension* extension_; member in BackgroundApplicationListModel::Application
115 : extension_(extension), in Application()
128 model_->OnApplicationDataChanged(extension_); in OnImageLoaded()
133 ExtensionResource resource = extension_->GetIconResource( in RequestIcon()
135 tracker_.LoadImage(extension_, resource, gfx::Size(size, size), in RequestIcon()
/external/v8/src/
Dcompiler.h68 v8::Extension* extension() const { return extension_; } in extension()
112 extension_ = extension; in SetExtension()
246 v8::Extension* extension_; variable
/external/chromium/chrome/browser/sync/util/
Dextensions_activity_monitor_unittest.cc45 extension_(e), function_(t), repeats_(repeats), done_(done) {} in BookmarkAPIEventTask()
50 Source<Extension>(extension_.get()), in Run()
56 scoped_refptr<Extension> extension_; member in __anondd7b41190111::BookmarkAPIEventTask

12