Home
last modified time | relevance | path

Searched refs:options_menu_button_ (Results 1 – 9 of 9) sorted by relevance

/external/chromium/chrome/browser/chromeos/notifications/
Dballoon_view.cc66 options_menu_button_(NULL) { in NotificationControlView()
86 options_menu_button_ in NotificationControlView()
88 options_menu_button_->SetFont(rb.GetFont(ResourceBundle::SmallFont)); in NotificationControlView()
89 options_menu_button_->SetIcon(*rb.GetBitmapNamed(IDR_NOTIFICATION_MENU)); in NotificationControlView()
90 options_menu_button_->set_border(NULL); in NotificationControlView()
92 options_menu_button_->set_icon_placement(views::TextButton::ICON_ON_RIGHT); in NotificationControlView()
93 AddChildView(options_menu_button_); in NotificationControlView()
96 gfx::Size options_size = options_menu_button_->GetPreferredSize(); in NotificationControlView()
100 options_menu_button_->SetBounds( in NotificationControlView()
114 close_button_->bounds().Union(options_menu_button_->bounds()); in GetPreferredSize()
[all …]
/external/chromium/chrome/browser/ui/views/infobars/
Dafter_translate_infobar.cc24 options_menu_button_(NULL), in AfterTranslateInfoBar()
76 gfx::Size options_size = options_menu_button_->GetPreferredSize(); in Layout()
77 options_menu_button_->SetBounds(EndX() - options_size.width(), in Layout()
114 options_menu_button_ = CreateMenuButton( in ViewHierarchyChanged()
116 AddChildView(options_menu_button_); in ViewHierarchyChanged()
146 (kEndOfLabelSpacing + options_menu_button_->GetPreferredSize().width()); in ContentMinimumWidth()
165 DCHECK_EQ(options_menu_button_, source); in RunMenu()
Dbefore_translate_infobar.cc25 options_menu_button_(NULL), in BeforeTranslateInfoBar()
83 gfx::Size options_size = options_menu_button_->GetPreferredSize(); in Layout()
84 options_menu_button_->SetBounds(EndX() - options_size.width(), in Layout()
133 options_menu_button_ = CreateMenuButton( in ViewHierarchyChanged()
135 AddChildView(options_menu_button_); in ViewHierarchyChanged()
160 (kEndOfLabelSpacing + options_menu_button_->GetPreferredSize().width()); in ContentMinimumWidth()
188 DCHECK_EQ(options_menu_button_, source); in RunMenu()
Dbefore_translate_infobar.h50 views::MenuButton* options_menu_button_; variable
Dafter_translate_infobar.h50 views::MenuButton* options_menu_button_; variable
/external/chromium/chrome/browser/ui/views/notifications/
Dballoon_view.cc106 options_menu_button_(NULL) { in BalloonViewImpl()
184 options_menu_button_->SetBoundsRect(GetOptionsButtonBounds()); in SizeContentsWindow()
293 options_menu_button_ = new views::MenuButton(NULL, L"", this, false); in Show()
294 AddChildView(options_menu_button_); in Show()
345 options_menu_button_->SetIcon(*rb.GetBitmapNamed(IDR_BALLOON_WRENCH)); in Show()
346 options_menu_button_->SetHoverIcon(*rb.GetBitmapNamed(IDR_BALLOON_WRENCH_H)); in Show()
347 options_menu_button_->SetPushedIcon(*rb.GetBitmapNamed(IDR_BALLOON_WRENCH_P)); in Show()
348 options_menu_button_->set_alignment(views::TextButton::ALIGN_CENTER); in Show()
349 options_menu_button_->set_border(NULL); in Show()
350 options_menu_button_->SetBoundsRect(GetOptionsButtonBounds()); in Show()
Dballoon_view.h165 views::MenuButton* options_menu_button_; variable
/external/chromium/chrome/browser/ui/gtk/notifications/
Dballoon_view_gtk.cc299 options_menu_button_.reset(new CustomDrawButton(IDR_BALLOON_WRENCH, in Show()
303 gtk_widget_set_tooltip_text(options_menu_button_->widget(), in Show()
305 g_signal_connect(options_menu_button_->widget(), "button-press-event", in Show()
307 GTK_WIDGET_UNSET_FLAGS(options_menu_button_->widget(), GTK_CAN_FOCUS); in Show()
313 options_menu_button_->widget()); in Show()
Dballoon_view_gtk.h131 scoped_ptr<CustomDrawButton> options_menu_button_; variable