Home
last modified time | relevance | path

Searched refs:home_ (Results 1 – 8 of 8) sorted by relevance

/external/chromium/chrome/browser/ui/views/
Dtoolbar_view.cc88 home_(NULL), in ToolbarView()
167 home_ = new views::ImageButton(this); in Init()
168 home_->set_triggerable_event_flags(ui::EF_LEFT_BUTTON_DOWN | in Init()
170 home_->set_tag(IDC_HOME); in Init()
171 home_->SetTooltipText( in Init()
173 home_->SetAccessibleName(l10n_util::GetStringUTF16(IDS_ACCNAME_HOME)); in Init()
174 home_->SetID(VIEW_ID_HOME_BUTTON); in Init()
197 AddChildView(home_); in Init()
335 button = home_; in EnabledStateChangedForCommand()
411 (home_->GetPreferredSize().width() + kButtonSpacing) : 0) + in GetPreferredSize()
[all …]
Dtoolbar_view.h193 views::ImageButton* home_; variable
/external/chromium_org/chrome/browser/ui/views/toolbar/
Dtoolbar_view.cc123 home_(NULL), in ToolbarView()
208 home_ = new HomeButton(this, browser_); in Init()
209 home_->set_triggerable_event_flags( in Init()
211 home_->set_tag(IDC_HOME); in Init()
212 home_->SetTooltipText(l10n_util::GetStringUTF16(IDS_TOOLTIP_HOME)); in Init()
213 home_->SetAccessibleName(l10n_util::GetStringUTF16(IDS_ACCNAME_HOME)); in Init()
214 home_->set_id(VIEW_ID_HOME_BUTTON); in Init()
215 home_->Init(); in Init()
234 AddChildView(home_); in Init()
434 button = home_; in EnabledStateChangedForCommand()
[all …]
Dtoolbar_view.h220 HomeButton* home_; variable
/external/chromium/chrome/browser/ui/gtk/
Dbrowser_toolbar_gtk.cc162 home_.reset(new CustomDrawButton(GtkThemeService::GetFrom(profile_), in Init()
165 gtk_widget_set_tooltip_text(home_->widget(), in Init()
167 g_signal_connect(home_->widget(), "clicked", in Init()
169 gtk_box_pack_start(GTK_BOX(toolbar_left_), home_->widget(), FALSE, FALSE, in Init()
171 gtk_util::SetButtonTriggersNavigation(home_->widget()); in Init()
247 ViewIDUtil::SetID(home_->widget(), VIEW_ID_HOME_BUTTON); in SetViewIDs()
291 if (home_.get()) in EnabledStateChangedForCommand()
292 widget = home_->widget(); in EnabledStateChangedForCommand()
413 gtk_drag_dest_set(home_->widget(), GTK_DEST_DEFAULT_ALL, in SetUpDragForHomeButton()
416 ui::SetDestTargetList(home_->widget(), targets); in SetUpDragForHomeButton()
[all …]
Dbrowser_toolbar_gtk.h178 scoped_ptr<CustomDrawButton> home_; variable
/external/chromium_org/chrome/browser/ui/gtk/
Dbrowser_toolbar_gtk.cc187 home_.reset(new CustomDrawButton(theme_service_, IDR_HOME, IDR_HOME_P, in Init()
189 gtk_widget_set_tooltip_text(home_->widget(), in Init()
191 g_signal_connect(home_->widget(), "clicked", in Init()
193 gtk_size_group_add_widget(size_group, home_->widget()); in Init()
194 gtk_box_pack_start(GTK_BOX(toolbar_left_), home_->widget(), FALSE, FALSE, in Init()
196 gtk_util::SetButtonTriggersNavigation(home_->widget()); in Init()
278 ViewIDUtil::SetID(home_->widget(), VIEW_ID_HOME_BUTTON); in SetViewIDs()
326 if (home_.get()) in EnabledStateChangedForCommand()
327 widget = home_->widget(); in EnabledStateChangedForCommand()
457 gtk_drag_dest_set(home_->widget(), GTK_DEST_DEFAULT_ALL, in SetUpDragForHomeButton()
[all …]
Dbrowser_toolbar_gtk.h185 scoped_ptr<CustomDrawButton> home_; variable