Home
last modified time | relevance | path

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

12

/external/chromium/chrome/browser/ui/gtk/status_icons/
Dstatus_icon_gtk.cc15 icon_ = gtk_status_icon_new(); in StatusIconGtk()
16 gtk_status_icon_set_visible(icon_, TRUE); in StatusIconGtk()
18 g_signal_connect(icon_, "activate", in StatusIconGtk()
20 g_signal_connect(icon_, "popup-menu", in StatusIconGtk()
25 g_object_unref(icon_); in ~StatusIconGtk()
33 gtk_status_icon_set_from_pixbuf(icon_, pixbuf); in SetImage()
43 gtk_status_icon_set_tooltip(icon_, UTF16ToUTF8(tool_tip).c_str()); in SetToolTip()
66 menu_->PopupAsContextForStatusIcon(time, button, icon_); in OnPopupMenu()
/external/chromium/chrome/browser/extensions/
Dextension_uninstall_dialog.cc48 icon_ = *image; in SetIcon()
50 icon_ = SkBitmap(); in SetIcon()
51 if (icon_.empty()) { in SetIcon()
53 icon_ = *ResourceBundle::GetSharedInstance().GetBitmapNamed( in SetIcon()
56 icon_ = *ResourceBundle::GetSharedInstance().GetBitmapNamed( in SetIcon()
67 Show(profile_, delegate_, extension_, &icon_); in OnImageLoaded()
Dextension_install_ui.cc170 browser::ShowExtensionInstalledBubble(extension, browser, icon_, profile); in OnInstallSuccess()
185 icon_ = *image; in SetIcon()
187 icon_ = SkBitmap(); in SetIcon()
188 if (icon_.empty()) in SetIcon()
189 icon_ = Extension::GetDefaultIcon(extension_->is_app()); in SetIcon()
209 profile_, delegate_, extension_, &icon_, warnings, prompt_type_); in OnImageLoaded()
Dextension_webstore_private_api.cc184 icon_ = decoded_image; in OnDecodeImageSucceeded()
237 client_->OnParseSuccess(icon_, parsed_manifest_.release()); in ReportResultFromUIThread()
259 SkBitmap icon_; member in SafeBeginInstallHelper
344 icon_ = icon; in OnParseSuccess()
360 if (icon_.empty()) in OnParseSuccess()
361 icon_ = Extension::GetDefaultIcon(dummy_extension_->is_app()); in OnParseSuccess()
366 &icon_, in OnParseSuccess()
/external/chromium/chrome/browser/ui/views/extensions/
Dextension_uninstall_dialog_view.cc38 icon_(NULL) { in ExtensionUninstallDialogView()
43 icon_ = new views::ImageView(); in ExtensionUninstallDialogView()
44 icon_->SetImageSize(size); in ExtensionUninstallDialogView()
45 icon_->SetImage(*icon); in ExtensionUninstallDialogView()
46 AddChildView(icon_); in ExtensionUninstallDialogView()
115 icon_->SetBounds(x, y, kIconSize, kIconSize); in Layout()
122 icon_->SetBounds(x, in Layout()
135 views::ImageView* icon_; member in __anon1b4bfba30111::ExtensionUninstallDialogView
Dextension_install_dialog_view.cc96 views::ImageView* icon_; member in ExtensionInstallDialogView
130 icon_(NULL), in ExtensionInstallDialogView()
140 icon_ = new views::ImageView(); in ExtensionInstallDialogView()
141 icon_->SetImageSize(size); in ExtensionInstallDialogView()
142 icon_->SetImage(*icon); in ExtensionInstallDialogView()
143 icon_->SetHorizontalAlignment(views::ImageView::CENTER); in ExtensionInstallDialogView()
144 icon_->SetVerticalAlignment(views::ImageView::CENTER); in ExtensionInstallDialogView()
145 AddChildView(icon_); in ExtensionInstallDialogView()
219 icon_->SetBounds(x, y, kIconSize, kIconSize); in Layout()
Dextension_installed_bubble.cc96 icon_ = new views::ImageView(); in InstalledBubbleContent()
97 icon_->SetImageSize(size); in InstalledBubbleContent()
98 icon_->SetImage(*icon); in InstalledBubbleContent()
99 AddChildView(icon_); in InstalledBubbleContent()
187 icon_->SetBounds(x, y, kIconSize, kIconSize); in Layout()
227 views::ImageView* icon_; member in InstalledBubbleContent
247 icon_(icon), in ExtensionInstalledBubble()
355 bubble_content_ = new InstalledBubbleContent(extension_, type_, &icon_); in ShowInternal()
/external/chromium/chrome/browser/speech/
Dspeech_input_bubble_views.cc60 views::ImageView* icon_; member in __anona50324810111::ContentView
96 icon_ = new views::ImageView(); in ContentView()
97 icon_->SetHorizontalAlignment(views::ImageView::CENTER); in ContentView()
98 AddChildView(icon_); in ContentView()
121 icon_->SetVisible(!is_message); in UpdateLayout()
134 if (icon_->IsVisible()) in UpdateLayout()
135 icon_->ResetImageSize(); in UpdateLayout()
145 icon_->SetImage(image); in SetImage()
172 control_width = std::max(icon_->GetPreferredSize().width(), in GetPreferredSize()
187 if (icon_->IsVisible()) in GetPreferredSize()
[all …]
Dspeech_input_bubble_gtk.cc66 GtkWidget* icon_; member in __anon80db42990111::SpeechInputBubbleGtk
84 icon_(NULL), in SpeechInputBubbleGtk()
128 icon_ = gtk_image_new(); in Show()
129 gtk_container_add(GTK_CONTAINER(icon_container_), icon_); in Show()
204 gtk_widget_hide(icon_); in UpdateLayout()
216 gtk_widget_show(icon_); in UpdateLayout()
259 gtk_image_set_from_pixbuf(GTK_IMAGE(icon_), pixbuf); in UpdateImage()
/external/chromium/chrome/browser/chromeos/
Dsetting_level_bubble_view.cc32 icon_(NULL) { in SettingLevelBubbleView()
38 icon_ = icon; in Init()
48 icon_ = icon; in SetIcon()
59 canvas->DrawBitmapInt(*icon_, kPadding, (height() - icon_->height()) / 2); in OnPaint()
/external/chromium/chrome/browser/ui/views/infobars/
Dinfobar_view.cc54 icon_(NULL), in InfoBarView()
193 if (icon_ != NULL) { in Layout()
194 gfx::Size icon_size = icon_->GetPreferredSize(); in Layout()
195 icon_->SetBounds(start_x, OffsetY(icon_size), icon_size.width(), in Layout()
230 icon_ = new views::ImageView; in ViewHierarchyChanged()
231 icon_->SetImage(image); in ViewHierarchyChanged()
232 AddChildView(icon_); in ViewHierarchyChanged()
303 ((icon_ != NULL) ? icon_->bounds().right() : 0) + kHorizontalPadding); in StartX()
/external/chromium/chrome/browser/
Dcontent_setting_image_model.h33 int get_icon() const { return icon_; } in get_icon()
42 void set_icon(int icon) { icon_ = icon; } in set_icon()
51 int icon_; variable
Djumplist_win.h48 const std::wstring& icon() const { return icon_; } in icon()
61 icon_ = icon; in SetIcon()
77 std::wstring icon_; variable
/external/chromium/chrome/browser/resources/
Dnetwork_menu.js79 get icon_() { getter in NetworkMenuItem
120 this.icon_.style.backgroundImage = 'url(' + icon + ')';
121 this.icon_.classList.remove('hidden');
123 this.icon_.classList.add('hidden');
276 this.icon_.classList.add('spinner');
277 this.icon_.classList.remove('hidden');
/external/chromium/chrome/browser/tab_contents/
Dsimple_alert_infobar_delegate.cc17 icon_(icon), in SimpleAlertInfoBarDelegate()
35 return icon_; in GetIcon()
/external/chromium/chrome/browser/ui/views/
Dcreate_application_shortcut_view.cc69 views::ImageView* icon_; member in __anondf8419210111::AppInfoView
77 : icon_(NULL), in AppInfoView()
86 icon_ = new views::ImageView(); in Init()
87 icon_->SetImage(icon); in Init()
88 icon_->SetImageSize(gfx::Size(kAppIconSize, kAppIconSize)); in Init()
137 layout->AddView(icon_, 1, description_ ? 2 : 1); in SetupLayout()
156 DCHECK(icon_ != NULL); in UpdateIcon()
158 icon_->SetImage(new_icon); in UpdateIcon()
/external/chromium/chrome/browser/sidebar/
Dsidebar_container.cc29 icon_(new SkBitmap), in SidebarContainer()
110 *icon_ = bitmap; in SetIcon()
125 *icon_ = *image; in OnImageLoaded()
/external/chromium/chrome/browser/ui/views/status_icons/
Dstatus_icon_win.cc40 icon_.Set(IconUtil::CreateHICONFromSkBitmap(image)); in SetImage()
41 icon_data.hIcon = icon_.Get(); in SetImage()
55 icon_data.hIcon = icon_.Get(); in ResetIcon()
/external/chromium/chrome/browser/ui/gtk/extensions/
Dextension_installed_bubble_gtk.cc72 icon_(icon), in ExtensionInstalledBubbleGtk()
181 if (!icon_.isNull()) { in ShowInternal()
183 GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(&icon_); in ShowInternal()
184 gfx::Size size(icon_.width(), icon_.height()); in ShowInternal()
/external/chromium/chrome/browser/ui/cocoa/extensions/
Dextension_install_dialog_controller_unittest.mm46 icon_ = decoder.Decode(
73 SkBitmap icon_;
118 icon:&icon_
175 icon:&icon_
207 icon:&icon_
219 icon:&icon_
262 icon:&icon_
Dextension_installed_bubble_controller_unittest.mm49 icon_ = LoadTestIcon();
119 // The icon_ to be loaded into the bubble window.
120 SkBitmap icon_;
131 icon:icon_];
174 icon:icon_];
/external/chromium/chrome/browser/chromeos/status/
Dnetwork_menu_button.cc113 icon_(NULL), in NetworkMenuButton()
292 icon_ = icon; in SetIconAndBadges()
295 SetIcon(IconForDisplay(icon_, right_badge_, NULL /*no top_left_icon*/, in SetIconAndBadges()
300 icon_ = icon; in SetIconOnly()
301 SetIcon(IconForDisplay(icon_, right_badge_, NULL /*no top_left_icon*/, in SetIconOnly()
309 SetIcon(IconForDisplay(icon_, right_badge_, NULL /*no top_left_icon*/, in SetBadgesOnly()
/external/chromium/chrome/browser/chromeos/notifications/
Dsystem_notification.cc22 icon_.Swap(&tmp_gurl); in Init()
65 Notification notify = SystemNotificationFactory::Create(icon_, in Show()
/external/chromium/chrome/common/extensions/
Dextension_action.cc79 SetValue(&icon_, tab_id, bitmap); in SetIcon()
83 return GetValue(&icon_, tab_id); in GetIcon()
96 icon_.erase(tab_id); in ClearAllValuesForTab()
/external/chromium/chrome/browser/chromeos/login/
Dmessage_bubble.cc59 icon_ = new views::ImageView(); in MessageBubble()
60 icon_->SetImage(*image); in MessageBubble()
61 layout->AddView(icon_); in MessageBubble()

12