close_button_ 44 apps/ui/views/app_window_frame_view.cc close_button_(NULL), close_button_ 72 apps/ui/views/app_window_frame_view.cc close_button_ = new views::ImageButton(this); close_button_ 73 apps/ui/views/app_window_frame_view.cc close_button_->SetImage( close_button_ 76 apps/ui/views/app_window_frame_view.cc close_button_->SetImage( close_button_ 79 apps/ui/views/app_window_frame_view.cc close_button_->SetImage( close_button_ 82 apps/ui/views/app_window_frame_view.cc close_button_->SetAccessibleName( close_button_ 84 apps/ui/views/app_window_frame_view.cc AddChildView(close_button_); close_button_ 161 apps/ui/views/app_window_frame_view.cc int closeButtonOffsetX = (kCaptionHeight - close_button_->height()) / 2; close_button_ 162 apps/ui/views/app_window_frame_view.cc int header_width = close_button_->width() + closeButtonOffsetX * 2; close_button_ 214 apps/ui/views/app_window_frame_view.cc if (close_button_ && close_button_->visible() && close_button_ 215 apps/ui/views/app_window_frame_view.cc close_button_->GetMirroredBounds().Contains(point)) { close_button_ 251 apps/ui/views/app_window_frame_view.cc gfx::Size close_size = close_button_->GetPreferredSize(); close_button_ 256 apps/ui/views/app_window_frame_view.cc close_button_->SetBounds(width() - kRightMargin - close_size.width(), close_button_ 267 apps/ui/views/app_window_frame_view.cc close_button_->x() - kButtonSpacing - maximize_size.width(), close_button_ 273 apps/ui/views/app_window_frame_view.cc close_button_->x() - kButtonSpacing - restore_size.width(), close_button_ 301 apps/ui/views/app_window_frame_view.cc close_button_->SetImage( close_button_ 305 apps/ui/views/app_window_frame_view.cc close_button_->SetImage( close_button_ 336 apps/ui/views/app_window_frame_view.cc int closeButtonOffsetX = (kCaptionHeight - close_button_->height()) / 2; close_button_ 337 apps/ui/views/app_window_frame_view.cc int header_width = close_button_->width() + closeButtonOffsetX * 2; close_button_ 361 apps/ui/views/app_window_frame_view.cc if (sender == close_button_) close_button_ 88 apps/ui/views/app_window_frame_view.h views::ImageButton* close_button_; close_button_ 109 ash/frame/caption_buttons/alternate_frame_size_button_unittest.cc close_button_->state() == views::Button::STATE_NORMAL; close_button_ 145 ash/frame/caption_buttons/alternate_frame_size_button_unittest.cc close_button_ = test.close_button(); close_button_ 153 ash/frame/caption_buttons/alternate_frame_size_button_unittest.cc FrameCaptionButton* close_button() { return close_button_; } close_button_ 160 ash/frame/caption_buttons/alternate_frame_size_button_unittest.cc FrameCaptionButton* close_button_; close_button_ 73 ash/frame/caption_buttons/frame_caption_button_container_view.cc close_button_ = new FrameCaptionButton(this, CAPTION_BUTTON_ICON_CLOSE); close_button_ 74 ash/frame/caption_buttons/frame_caption_button_container_view.cc close_button_->SetAccessibleName( close_button_ 76 ash/frame/caption_buttons/frame_caption_button_container_view.cc AddChildView(close_button_); close_button_ 99 ash/frame/caption_buttons/frame_caption_button_container_view.cc minimize_button_, size_button_, close_button_ close_button_ 116 ash/frame/caption_buttons/frame_caption_button_container_view.cc close_button_->set_paint_as_active(paint_as_active); close_button_ 125 ash/frame/caption_buttons/frame_caption_button_container_view.cc if (close_button_->visible() && close_button_ 126 ash/frame/caption_buttons/frame_caption_button_container_view.cc ConvertPointToViewAndHitTest(this, close_button_, point)) { close_button_ 157 ash/frame/caption_buttons/frame_caption_button_container_view.cc return gfx::Size(width, close_button_->GetPreferredSize().height()); close_button_ 231 ash/frame/caption_buttons/frame_caption_button_container_view.cc } else if(sender == close_button_) { close_button_ 249 ash/frame/caption_buttons/frame_caption_button_container_view.cc close_button_->SetState(views::Button::STATE_NORMAL); close_button_ 257 ash/frame/caption_buttons/frame_caption_button_container_view.cc SetButtonIcon(close_button_, close_button_icon, animate); close_button_ 269 ash/frame/caption_buttons/frame_caption_button_container_view.cc minimize_button_, size_button_, close_button_ close_button_ 295 ash/frame/caption_buttons/frame_caption_button_container_view.cc minimize_button_, size_button_, close_button_ close_button_ 60 ash/frame/caption_buttons/frame_caption_button_container_view.h return container_view_->close_button_; close_button_ 152 ash/frame/caption_buttons/frame_caption_button_container_view.h FrameCaptionButton* close_button_; close_button_ 90 ash/wm/overview/window_selector_window.cc close_button_.reset(); close_button_ 127 ash/wm/overview/window_selector_window.cc if (close_button_ && close_button_ 128 ash/wm/overview/window_selector_window.cc close_button_->GetNativeWindow()->GetRootWindow() != root_window) { close_button_ 129 ash/wm/overview/window_selector_window.cc close_button_.reset(); close_button_ 132 ash/wm/overview/window_selector_window.cc if (!close_button_) { close_button_ 133 ash/wm/overview/window_selector_window.cc close_button_.reset(CreateCloseWindowButton(root_window, this)); close_button_ 134 ash/wm/overview/window_selector_window.cc gfx::Rect close_button_rect(close_button_->GetNativeWindow()->bounds()); close_button_ 140 ash/wm/overview/window_selector_window.cc close_button_->GetNativeWindow()->SetBounds(close_button_rect); close_button_ 141 ash/wm/overview/window_selector_window.cc close_button_->GetNativeWindow()->SetTransform(close_button_transform); close_button_ 144 ash/wm/overview/window_selector_window.cc ui::Layer* layer = close_button_->GetNativeWindow()->layer(); close_button_ 161 ash/wm/overview/window_selector_window.cc close_button_->GetNativeWindow()->layer()->GetAnimator()); close_button_ 166 ash/wm/overview/window_selector_window.cc close_button_->GetNativeWindow()->SetTransform(close_button_transform); close_button_ 59 ash/wm/overview/window_selector_window.h scoped_ptr<views::Widget> close_button_; close_button_ 411 chrome/browser/ui/gtk/browser_titlebar.cc close_button_.reset(); close_button_ 468 chrome/browser/ui/gtk/browser_titlebar.cc close_button_.reset(CreateTitlebarButton("close", left_side)); close_button_ 469 chrome/browser/ui/gtk/browser_titlebar.cc close_button_->set_flipped(left_side); close_button_ 471 chrome/browser/ui/gtk/browser_titlebar.cc gtk_widget_size_request(close_button_->widget(), &close_button_req_); close_button_ 723 chrome/browser/ui/gtk/browser_titlebar.cc if (close_button_.get()) { close_button_ 724 chrome/browser/ui/gtk/browser_titlebar.cc gtk_widget_set_size_request(close_button_->widget(), close_button_ 938 chrome/browser/ui/gtk/browser_titlebar.cc if (close_button_.get() && close_button_->widget() == button) { close_button_ 1057 chrome/browser/ui/gtk/browser_titlebar.cc if (close_button_.get()) close_button_ 1058 chrome/browser/ui/gtk/browser_titlebar.cc UpdateButtonBackground(close_button_.get()); close_button_ 256 chrome/browser/ui/gtk/browser_titlebar.h scoped_ptr<CustomDrawButton> close_button_; close_button_ 185 chrome/browser/ui/gtk/collected_cookies_gtk.cc close_button_ = gtk_button_new_from_stock(GTK_STOCK_CLOSE); close_button_ 186 chrome/browser/ui/gtk/collected_cookies_gtk.cc gtk_button_set_label(GTK_BUTTON(close_button_), close_button_ 188 chrome/browser/ui/gtk/collected_cookies_gtk.cc g_signal_connect(close_button_, "clicked", G_CALLBACK(OnCloseThunk), this); close_button_ 189 chrome/browser/ui/gtk/collected_cookies_gtk.cc gtk_box_pack_end(GTK_BOX(button_box), close_button_, FALSE, TRUE, 0); close_button_ 196 chrome/browser/ui/gtk/collected_cookies_gtk.cc window_ = CreateWebContentsModalDialogGtk(dialog_, close_button_); close_button_ 99 chrome/browser/ui/gtk/collected_cookies_gtk.h GtkWidget* close_button_; close_button_ 88 chrome/browser/ui/gtk/confirm_bubble_gtk.cc close_button_.reset(CustomDrawButton::CloseButtonBubble(theme_service)); close_button_ 89 chrome/browser/ui/gtk/confirm_bubble_gtk.cc g_signal_connect(close_button_->widget(), "clicked", close_button_ 91 chrome/browser/ui/gtk/confirm_bubble_gtk.cc gtk_box_pack_end(GTK_BOX(row), close_button_->widget(), FALSE, FALSE, 0); close_button_ 77 chrome/browser/ui/gtk/confirm_bubble_gtk.h scoped_ptr<CustomDrawButton> close_button_; close_button_ 123 chrome/browser/ui/gtk/download/download_shelf_gtk.cc close_button_.reset(CustomDrawButton::CloseButtonBar(theme_service_)); close_button_ 124 chrome/browser/ui/gtk/download/download_shelf_gtk.cc gtk_util::CenterWidgetInHBox(outer_hbox, close_button_->widget(), true, 0); close_button_ 125 chrome/browser/ui/gtk/download/download_shelf_gtk.cc g_signal_connect(close_button_->widget(), "clicked", close_button_ 270 chrome/browser/ui/gtk/download/download_shelf_gtk.cc close_button_->SetBackground( close_button_ 309 chrome/browser/ui/gtk/download/download_shelf_gtk.cc if (button == close_button_->widget()) { close_button_ 135 chrome/browser/ui/gtk/download/download_shelf_gtk.h scoped_ptr<CustomDrawButton> close_button_; close_button_ 88 chrome/browser/ui/gtk/extensions/bundle_installed_bubble_gtk.cc close_button_.reset(CustomDrawButton::CloseButtonBubble(theme_provider)); close_button_ 89 chrome/browser/ui/gtk/extensions/bundle_installed_bubble_gtk.cc g_signal_connect(close_button_->widget(), "clicked", close_button_ 91 chrome/browser/ui/gtk/extensions/bundle_installed_bubble_gtk.cc gtk_box_pack_start(GTK_BOX(close_column), close_button_->widget(), close_button_ 147 chrome/browser/ui/gtk/extensions/bundle_installed_bubble_gtk.cc if (button == bubble->close_button_->widget()) close_button_ 52 chrome/browser/ui/gtk/extensions/bundle_installed_bubble_gtk.h scoped_ptr<CustomDrawButton> close_button_; close_button_ 263 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc close_button_.reset(CustomDrawButton::CloseButtonBubble(theme_provider)); close_button_ 264 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc g_signal_connect(close_button_->widget(), "clicked", close_button_ 266 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc gtk_box_pack_start(GTK_BOX(close_column), close_button_->widget(), close_button_ 303 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc if (button == bubble->close_button_->widget()) { close_button_ 67 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.h scoped_ptr<CustomDrawButton> close_button_; close_button_ 246 chrome/browser/ui/gtk/find_bar_gtk.cc close_button_.reset(CustomDrawButton::CloseButtonBar(theme_service_)); close_button_ 247 chrome/browser/ui/gtk/find_bar_gtk.cc gtk_container_add(GTK_CONTAINER(close_alignment), close_button_->widget()); close_button_ 250 chrome/browser/ui/gtk/find_bar_gtk.cc g_signal_connect(close_button_->widget(), "clicked", close_button_ 252 chrome/browser/ui/gtk/find_bar_gtk.cc gtk_widget_set_tooltip_text(close_button_->widget(), close_button_ 568 chrome/browser/ui/gtk/find_bar_gtk.cc close_button_->SetBackground( close_button_ 847 chrome/browser/ui/gtk/find_bar_gtk.cc if (button == close_button_->widget()) { close_button_ 214 chrome/browser/ui/gtk/find_bar_gtk.h scoped_ptr<CustomDrawButton> close_button_; close_button_ 124 chrome/browser/ui/gtk/infobars/infobar_gtk.cc close_button_.reset(CustomDrawButton::CloseButtonBar(theme_service_)); close_button_ 125 chrome/browser/ui/gtk/infobars/infobar_gtk.cc gtk_util::CenterWidgetInHBox(hbox_, close_button_->widget(), true, 0); close_button_ 126 chrome/browser/ui/gtk/infobars/infobar_gtk.cc signals_->Connect(close_button_->widget(), "clicked", close_button_ 181 chrome/browser/ui/gtk/infobars/infobar_gtk.cc close_button_->ForceChromeTheme(); close_button_ 138 chrome/browser/ui/gtk/infobars/infobar_gtk.h scoped_ptr<CustomDrawButton> close_button_; close_button_ 264 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc close_button_.reset(CustomDrawButton::CloseButtonBar(theme_service_)); close_button_ 265 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc close_button_->SetBackground( close_button_ 269 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc gtk_widget_set_tooltip_text(close_button_->widget(), dismiss_text.c_str()); close_button_ 270 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc g_signal_connect(close_button_->widget(), "clicked", close_button_ 272 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc gtk_widget_set_can_focus(close_button_->widget(), FALSE); close_button_ 274 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc gtk_container_add(GTK_CONTAINER(close_alignment), close_button_->widget()); close_button_ 116 chrome/browser/ui/gtk/notifications/balloon_view_gtk.h scoped_ptr<CustomDrawButton> close_button_; close_button_ 67 chrome/browser/ui/gtk/one_click_signin_bubble_gtk.cc close_button_.release()); close_button_ 222 chrome/browser/ui/gtk/one_click_signin_bubble_gtk.cc close_button_.reset(CustomDrawButton::CloseButtonBubble(theme_provider)); close_button_ 223 chrome/browser/ui/gtk/one_click_signin_bubble_gtk.cc g_signal_connect(close_button_->widget(), "clicked", close_button_ 237 chrome/browser/ui/gtk/one_click_signin_bubble_gtk.cc close_button_->widget(), FALSE, FALSE, 0); close_button_ 85 chrome/browser/ui/gtk/one_click_signin_bubble_gtk.h scoped_ptr<CustomDrawButton> close_button_; close_button_ 129 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc close_button_.reset(CreateButton(panel::CLOSE_BUTTON)); close_button_ 265 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.cc if (close_button_->widget() == button) { close_button_ 64 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.h CustomDrawButton* close_button() const { return close_button_.get(); } close_button_ 87 chrome/browser/ui/gtk/panels/panel_titlebar_gtk.h scoped_ptr<CustomDrawButton> close_button_; close_button_ 329 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc close_button_.reset(MakeCloseButton()); close_button_ 460 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gtk_widget_show(close_button_->widget()); close_button_ 620 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc if (gtk_button_get_event_window(GTK_BUTTON(close_button_->widget()))) close_button_ 622 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc GTK_BUTTON(close_button_->widget()))); close_button_ 777 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc close_button_->SetBackground(close_button_color_, close_button_ 844 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gtk_fixed_move(GTK_FIXED(tab_.get()), close_button_->widget(), close_button_ 846 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gtk_widget_show(close_button_->widget()); close_button_ 848 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc gtk_widget_hide(close_button_->widget()); close_button_ 1149 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc close_button_->widget(), event); close_button_ 440 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h scoped_ptr<CustomDrawButton> close_button_; close_button_ 483 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc close_button_.reset(CustomDrawButton::CloseButtonBubble(theme_service_)); close_button_ 484 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc g_signal_connect(close_button_->widget(), "clicked", close_button_ 486 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc gtk_box_pack_start(GTK_BOX(hbox), close_button_->widget(), FALSE, FALSE, 0); close_button_ 487 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc int label_width = kPopupWidth - close_button_->SurfaceWidth(); close_button_ 132 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.h scoped_ptr<CustomDrawButton> close_button_; close_button_ 121 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc HandleButtonPressed(close_button_); close_button_ 155 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc close_button_ = new views::LabelButton( close_button_ 157 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc close_button_->SetStyle(views::Button::STYLE_BUTTON); close_button_ 158 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc close_button_->SetIsDefault(true); close_button_ 229 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc layout->AddView(close_button_); close_button_ 272 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc close_button_(NULL), close_button_ 333 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc DCHECK_EQ(close_button_, sender); close_button_ 127 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h views::LabelButton* close_button_; close_button_ 398 chrome/browser/ui/views/content_setting_bubble_contents.cc close_button_ = close_button_ 400 chrome/browser/ui/views/content_setting_bubble_contents.cc close_button_->SetStyle(views::Button::STYLE_BUTTON); close_button_ 401 chrome/browser/ui/views/content_setting_bubble_contents.cc layout->AddView(close_button_); close_button_ 412 chrome/browser/ui/views/content_setting_bubble_contents.cc DCHECK_EQ(sender, close_button_); close_button_ 96 chrome/browser/ui/views/content_setting_bubble_contents.h views::LabelButton* close_button_; close_button_ 98 chrome/browser/ui/views/download/download_shelf_view.cc close_button_(NULL), close_button_ 170 chrome/browser/ui/views/download/download_shelf_view.cc AdjustSize(close_button_, &prefsize); close_button_ 219 chrome/browser/ui/views/download/download_shelf_view.cc gfx::Size close_button_size = close_button_->GetPreferredSize(); close_button_ 242 chrome/browser/ui/views/download/download_shelf_view.cc close_button_->SetBounds(next_x, y, close_button_ 295 chrome/browser/ui/views/download/download_shelf_view.cc close_button_ = new views::ImageButton(this); close_button_ 296 chrome/browser/ui/views/download/download_shelf_view.cc close_button_->SetImage(views::CustomButton::STATE_NORMAL, close_button_ 298 chrome/browser/ui/views/download/download_shelf_view.cc close_button_->SetImage(views::CustomButton::STATE_HOVERED, close_button_ 300 chrome/browser/ui/views/download/download_shelf_view.cc close_button_->SetImage(views::CustomButton::STATE_PRESSED, close_button_ 302 chrome/browser/ui/views/download/download_shelf_view.cc close_button_->SetAccessibleName( close_button_ 304 chrome/browser/ui/views/download/download_shelf_view.cc AddChildView(close_button_); close_button_ 321 chrome/browser/ui/views/download/download_shelf_view.cc gfx::Size close_button_size = close_button_->GetPreferredSize(); close_button_ 338 chrome/browser/ui/views/download/download_shelf_view.cc if (show_all_view_ && close_button_ && GetThemeProvider()) { close_button_ 345 chrome/browser/ui/views/download/download_shelf_view.cc close_button_->SetBackground( close_button_ 150 chrome/browser/ui/views/download/download_shelf_view.h views::ImageButton* close_button_; close_button_ 228 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc close_button_ = new views::ImageButton(this); close_button_ 229 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc close_button_->SetImage(views::CustomButton::STATE_NORMAL, close_button_ 231 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc close_button_->SetImage(views::CustomButton::STATE_HOVERED, close_button_ 233 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc close_button_->SetImage(views::CustomButton::STATE_PRESSED, close_button_ 235 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc AddChildView(close_button_); close_button_ 240 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc DCHECK_EQ(sender, close_button_); close_button_ 462 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc close_button_->GetPreferredSize().width(); close_button_ 464 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc sz = close_button_->GetPreferredSize(); close_button_ 467 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc close_button_->SetBounds(x - 1, y - 1, sz.width(), sz.height()); close_button_ 514 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc views::ImageButton* close_button_; close_button_ 135 chrome/browser/ui/views/find_bar_view.cc close_button_ = new views::ImageButton(this); close_button_ 136 chrome/browser/ui/views/find_bar_view.cc close_button_->set_tag(CLOSE_TAG); close_button_ 137 chrome/browser/ui/views/find_bar_view.cc close_button_->SetFocusable(true); close_button_ 138 chrome/browser/ui/views/find_bar_view.cc close_button_->SetImage(views::CustomButton::STATE_NORMAL, close_button_ 140 chrome/browser/ui/views/find_bar_view.cc close_button_->SetImage(views::CustomButton::STATE_HOVERED, close_button_ 142 chrome/browser/ui/views/find_bar_view.cc close_button_->SetImage(views::CustomButton::STATE_PRESSED, close_button_ 144 chrome/browser/ui/views/find_bar_view.cc close_button_->SetTooltipText( close_button_ 146 chrome/browser/ui/views/find_bar_view.cc close_button_->SetAccessibleName( close_button_ 148 chrome/browser/ui/views/find_bar_view.cc close_button_->SetAnimationDuration(0); close_button_ 149 chrome/browser/ui/views/find_bar_view.cc AddChildView(close_button_); close_button_ 286 chrome/browser/ui/views/find_bar_view.cc gfx::Size sz = close_button_->GetPreferredSize(); close_button_ 287 chrome/browser/ui/views/find_bar_view.cc close_button_->SetBounds(panel_width - sz.width() - close_button_ 297 chrome/browser/ui/views/find_bar_view.cc find_next_button_->SetBounds(close_button_->x() - close_button_ 352 chrome/browser/ui/views/find_bar_view.cc prefsize.Enlarge(close_button_->GetPreferredSize().width(), 0); close_button_ 495 chrome/browser/ui/views/find_bar_view.cc close_button_->SetBackground( close_button_ 130 chrome/browser/ui/views/find_bar_view.h views::ImageButton* close_button_; close_button_ 66 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc close_button_(new views::ImageButton(this)), close_button_ 74 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc close_button_->SetImage(views::CustomButton::STATE_NORMAL, close_button_ 76 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc close_button_->SetImage(views::CustomButton::STATE_HOVERED, close_button_ 78 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc close_button_->SetImage(views::CustomButton::STATE_PRESSED, close_button_ 80 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc close_button_->SetAccessibleName( close_button_ 82 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc AddChildView(close_button_); close_button_ 165 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc if (close_button_->visible() && close_button_ 166 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc close_button_->GetMirroredBounds().Contains(point)) close_button_ 236 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc if (sender == close_button_) close_button_ 471 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc close_button_->SetImageAlignment(views::ImageButton::ALIGN_LEFT, close_button_ 478 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc gfx::Size close_button_size = close_button_->GetPreferredSize(); close_button_ 482 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc close_button_->SetBounds(width() - FrameBorderThickness() - close_button_ 504 chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc std::max(0, close_button_->x() - kTitleCloseButtonSpacing - title_x), close_button_ 103 chrome/browser/ui/views/frame/app_panel_browser_frame_view.h views::ImageButton* close_button_; close_button_ 98 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc close_button_(NULL), close_button_ 123 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc close_button_ = InitWindowCaptionButton(IDR_CLOSE, close_button_ 242 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc if (close_button_ && close_button_->visible() && close_button_ 243 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc close_button_->GetMirroredBounds().Contains(point)) close_button_ 371 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc } else if (sender == close_button_) { close_button_ 105 chrome/browser/ui/views/frame/opaque_browser_frame_view.h views::ImageButton* close_button() const { return close_button_; } close_button_ 164 chrome/browser/ui/views/frame/opaque_browser_frame_view.h views::ImageButton* close_button_; close_button_ 118 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc close_button_(NULL), close_button_ 506 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc close_button_->SetVisible(true); close_button_ 507 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc SetBoundsForButton(host, close_button_, alignment, caption_y); close_button_ 523 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc close_button_->SetVisible(false); close_button_ 551 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc button == close_button_); close_button_ 634 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.cc close_button_ = static_cast<views::ImageButton*>(view); close_button_ 183 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout.h views::ImageButton* close_button_; close_button_ 182 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc close_button_ = InitWindowCaptionButton( close_button_ 246 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc EXPECT_EQ("453,1 43x18", close_button_->bounds().ToString()); close_button_ 258 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc views::ImageButton* close_button_; close_button_ 301 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc EXPECT_EQ("454,0 46x18", close_button_->bounds().ToString()); close_button_ 327 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc EXPECT_EQ("454,0 46x20", close_button_->bounds().ToString()); close_button_ 352 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc EXPECT_EQ("4,1 43x18", close_button_->bounds().ToString()); close_button_ 373 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc EXPECT_EQ("0,0 0x0", close_button_->bounds().ToString()); close_button_ 395 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc EXPECT_EQ("0,0 0x0", close_button_->bounds().ToString()); close_button_ 452 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc EXPECT_EQ("4,1 43x18", close_button_->bounds().ToString()); close_button_ 504 chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_unittest.cc EXPECT_EQ("0,0 0x0", close_button_->bounds().ToString()); close_button_ 262 chrome/browser/ui/views/infobars/infobar_view.cc close_button_->SetPosition(gfx::Point( close_button_ 265 chrome/browser/ui/views/infobars/infobar_view.cc width() - kHorizontalPadding - close_button_->width()), close_button_ 266 chrome/browser/ui/views/infobars/infobar_view.cc OffsetY(close_button_))); close_button_ 273 chrome/browser/ui/views/infobars/infobar_view.cc if (details.is_add && (details.child == this) && (close_button_ == NULL)) { close_button_ 282 chrome/browser/ui/views/infobars/infobar_view.cc close_button_ = new views::ImageButton(this); close_button_ 284 chrome/browser/ui/views/infobars/infobar_view.cc close_button_->SetImage(views::CustomButton::STATE_NORMAL, close_button_ 286 chrome/browser/ui/views/infobars/infobar_view.cc close_button_->SetImage(views::CustomButton::STATE_HOVERED, close_button_ 288 chrome/browser/ui/views/infobars/infobar_view.cc close_button_->SetImage(views::CustomButton::STATE_PRESSED, close_button_ 290 chrome/browser/ui/views/infobars/infobar_view.cc close_button_->SizeToPreferredSize(); close_button_ 291 chrome/browser/ui/views/infobars/infobar_view.cc close_button_->SetAccessibleName( close_button_ 293 chrome/browser/ui/views/infobars/infobar_view.cc close_button_->SetFocusable(true); close_button_ 294 chrome/browser/ui/views/infobars/infobar_view.cc AddChildView(close_button_); close_button_ 295 chrome/browser/ui/views/infobars/infobar_view.cc } else if ((close_button_ != NULL) && (details.parent == this) && close_button_ 296 chrome/browser/ui/views/infobars/infobar_view.cc (details.child != close_button_) && (close_button_->parent() == this) && close_button_ 297 chrome/browser/ui/views/infobars/infobar_view.cc (child_at(child_count() - 1) != close_button_)) { close_button_ 299 chrome/browser/ui/views/infobars/infobar_view.cc RemoveChildView(close_button_); close_button_ 300 chrome/browser/ui/views/infobars/infobar_view.cc AddChildView(close_button_); close_button_ 332 chrome/browser/ui/views/infobars/infobar_view.cc if (sender == close_button_) { close_button_ 351 chrome/browser/ui/views/infobars/infobar_view.cc return close_button_->x() - kCloseButtonSpacing; close_button_ 437 chrome/browser/ui/views/infobars/infobar_view.cc ContentMinimumWidth() + kCloseButtonSpacing + close_button_->width() + close_button_ 139 chrome/browser/ui/views/infobars/infobar_view.h views::ImageButton* close_button_; close_button_ 89 chrome/browser/ui/views/notifications/balloon_view_views.cc close_button_(NULL), close_button_ 170 chrome/browser/ui/views/notifications/balloon_view_views.cc DCHECK_EQ(close_button_, sender); close_button_ 190 chrome/browser/ui/views/notifications/balloon_view_views.cc close_button_->SetBoundsRect(GetCloseButtonBounds()); close_button_ 260 chrome/browser/ui/views/notifications/balloon_view_views.cc const gfx::Size& pref_size(close_button_->GetPreferredSize()); close_button_ 306 chrome/browser/ui/views/notifications/balloon_view_views.cc close_button_ = new views::ImageButton(this); close_button_ 307 chrome/browser/ui/views/notifications/balloon_view_views.cc close_button_->SetTooltipText(l10n_util::GetStringUTF16( close_button_ 309 chrome/browser/ui/views/notifications/balloon_view_views.cc AddChildView(close_button_); close_button_ 354 chrome/browser/ui/views/notifications/balloon_view_views.cc close_button_->SetImage(views::CustomButton::STATE_NORMAL, close_button_ 356 chrome/browser/ui/views/notifications/balloon_view_views.cc close_button_->SetImage(views::CustomButton::STATE_HOVERED, close_button_ 358 chrome/browser/ui/views/notifications/balloon_view_views.cc close_button_->SetImage(views::CustomButton::STATE_PRESSED, close_button_ 360 chrome/browser/ui/views/notifications/balloon_view_views.cc close_button_->SetBoundsRect(GetCloseButtonBounds()); close_button_ 361 chrome/browser/ui/views/notifications/balloon_view_views.cc close_button_->SetBackground(SK_ColorBLACK, close_button_ 458 chrome/browser/ui/views/notifications/balloon_view_views.cc close_button_->GetPreferredSize().height(), close_button_ 138 chrome/browser/ui/views/notifications/balloon_view_views.h views::ImageButton* close_button_; close_button_ 60 chrome/browser/ui/views/open_pdf_in_reader_bubble_view.cc close_button_ = new views::LabelButton(this, model_->GetCancelButtonText()); close_button_ 61 chrome/browser/ui/views/open_pdf_in_reader_bubble_view.cc close_button_->SetStyle(views::Button::STYLE_BUTTON); close_button_ 63 chrome/browser/ui/views/open_pdf_in_reader_bubble_view.cc layout->AddView(close_button_); close_button_ 68 chrome/browser/ui/views/open_pdf_in_reader_bubble_view.cc DCHECK_EQ(close_button_, sender); close_button_ 42 chrome/browser/ui/views/open_pdf_in_reader_bubble_view.h views::LabelButton* close_button_; close_button_ 248 chrome/browser/ui/views/panels/panel_frame_view.cc close_button_(NULL), close_button_ 262 chrome/browser/ui/views/panels/panel_frame_view.cc close_button_ = new views::ImageButton(this); close_button_ 263 chrome/browser/ui/views/panels/panel_frame_view.cc close_button_->SetImage(views::CustomButton::STATE_NORMAL, close_button_ 265 chrome/browser/ui/views/panels/panel_frame_view.cc close_button_->SetImage(views::CustomButton::STATE_HOVERED, close_button_ 267 chrome/browser/ui/views/panels/panel_frame_view.cc close_button_->SetImage(views::CustomButton::STATE_PRESSED, close_button_ 269 chrome/browser/ui/views/panels/panel_frame_view.cc close_button_->SetImageAlignment(views::ImageButton::ALIGN_CENTER, close_button_ 273 chrome/browser/ui/views/panels/panel_frame_view.cc close_button_->SetTooltipText(tooltip_text); close_button_ 274 chrome/browser/ui/views/panels/panel_frame_view.cc AddChildView(close_button_); close_button_ 430 chrome/browser/ui/views/panels/panel_frame_view.cc if (close_button_ && close_button_->visible() && close_button_ 431 chrome/browser/ui/views/panels/panel_frame_view.cc close_button_->GetMirroredBounds().Contains(point)) close_button_ 522 chrome/browser/ui/views/panels/panel_frame_view.cc close_button_->SetBounds( close_button_ 528 chrome/browser/ui/views/panels/panel_frame_view.cc right = close_button_->x(); close_button_ 615 chrome/browser/ui/views/panels/panel_frame_view.cc if (sender == close_button_) { close_button_ 50 chrome/browser/ui/views/panels/panel_frame_view.h views::ImageButton* close_button() const { return close_button_; } close_button_ 107 chrome/browser/ui/views/panels/panel_frame_view.h views::ImageButton* close_button_; close_button_ 112 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc close_button_(NULL), close_button_ 234 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc close_button_ = new views::ImageButton(this); close_button_ 235 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc close_button_->SetImage(views::ImageButton::STATE_NORMAL, close_button_ 237 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc close_button_->SetImage(views::ImageButton::STATE_HOVERED, close_button_ 239 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc close_button_->SetImage(views::ImageButton::STATE_PRESSED, close_button_ 242 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc layout->AddView(close_button_); close_button_ 394 chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc if (sender == close_button_) close_button_ 136 chrome/browser/ui/views/sync/one_click_signin_bubble_view.h views::ImageButton* close_button_; close_button_ 514 chrome/browser/ui/views/tabs/tab.cc close_button_ = new TabCloseButton(this); close_button_ 516 chrome/browser/ui/views/tabs/tab.cc close_button_->SetImage(views::CustomButton::STATE_NORMAL, close_button_ 518 chrome/browser/ui/views/tabs/tab.cc close_button_->SetImage(views::CustomButton::STATE_HOVERED, close_button_ 520 chrome/browser/ui/views/tabs/tab.cc close_button_->SetImage(views::CustomButton::STATE_PRESSED, close_button_ 522 chrome/browser/ui/views/tabs/tab.cc close_button_->SetAccessibleName( close_button_ 526 chrome/browser/ui/views/tabs/tab.cc close_button_->SetAnimationDuration(0); close_button_ 527 chrome/browser/ui/views/tabs/tab.cc AddChildView(close_button_); close_button_ 740 chrome/browser/ui/views/tabs/tab.cc DCHECK_EQ(close_button_, sender); close_button_ 792 chrome/browser/ui/views/tabs/tab.cc close_button_->SetBorder(views::Border::NullBorder()); close_button_ 793 chrome/browser/ui/views/tabs/tab.cc gfx::Size close_button_size(close_button_->GetPreferredSize()); close_button_ 831 chrome/browser/ui/views/tabs/tab.cc close_button_->SetBorder(views::Border::CreateEmptyBorder( close_button_ 833 chrome/browser/ui/views/tabs/tab.cc close_button_->SetPosition(gfx::Point(lb.width(), 0)); close_button_ 834 chrome/browser/ui/views/tabs/tab.cc close_button_->SizeToPreferredSize(); close_button_ 835 chrome/browser/ui/views/tabs/tab.cc close_button_->SetVisible(true); close_button_ 837 chrome/browser/ui/views/tabs/tab.cc close_button_->SetBounds(0, 0, 0, 0); close_button_ 838 chrome/browser/ui/views/tabs/tab.cc close_button_->SetVisible(false); close_button_ 851 chrome/browser/ui/views/tabs/tab.cc close_button_->x() + close_button_->GetInsets().left() : lb.right(); close_button_ 878 chrome/browser/ui/views/tabs/tab.cc } else if (close_button_->visible()) { close_button_ 882 chrome/browser/ui/views/tabs/tab.cc title_width = close_button_->x() + close_button_->GetInsets().left() - close_button_ 1151 chrome/browser/ui/views/tabs/tab.cc close_button_->SetBackground(close_button_color_, close_button_ 328 chrome/browser/ui/views/tabs/tab.h views::ImageButton* close_button_; close_button_ 112 chrome/browser/ui/views/tabs/tab_strip_unittest.cc gfx::RectF bounds_f = tab->close_button_->GetContentsBounds(); close_button_ 114 chrome/browser/ui/views/tabs/tab_strip_unittest.cc bounds_f = tab->close_button_->GetLocalBounds(); close_button_ 115 chrome/browser/ui/views/tabs/tab_strip_unittest.cc views::View::ConvertRectToTarget(tab->close_button_, tab, &bounds_f); close_button_ 293 chrome/browser/ui/views/tabs/tab_strip_unittest.cc views::ImageButton* left_close = left_tab->close_button_; close_button_ 323 chrome/browser/ui/views/tabs/tab_strip_unittest.cc views::ImageButton* active_close = active_tab->close_button_; close_button_ 355 chrome/browser/ui/views/tabs/tab_strip_unittest.cc views::ImageButton* most_right_close = most_right_tab->close_button_; close_button_ 402 chrome/browser/ui/views/tabs/tab_strip_unittest.cc views::ImageButton* left_close = left_tab->close_button_; close_button_ 171 chrome/browser/ui/views/tabs/tab_unittest.cc tab.close_button_->bounds().x() + close_button_ 172 chrome/browser/ui/views/tabs/tab_unittest.cc tab.close_button_->GetInsets().left()); close_button_ 179 chrome/browser/ui/views/tabs/tab_unittest.cc tab.close_button_->bounds().x() + close_button_ 180 chrome/browser/ui/views/tabs/tab_unittest.cc tab.close_button_->GetInsets().left()); close_button_ 182 chrome/browser/ui/views/tabs/tab_unittest.cc EXPECT_LE(tab.close_button_->bounds().right(), contents_bounds.right()); close_button_ 183 chrome/browser/ui/views/tabs/tab_unittest.cc EXPECT_LE(contents_bounds.y(), tab.close_button_->bounds().y()); close_button_ 184 chrome/browser/ui/views/tabs/tab_unittest.cc EXPECT_LE(tab.close_button_->bounds().bottom(), contents_bounds.bottom()); close_button_ 286 chrome/browser/ui/views/tabs/tab_unittest.cc gfx::Insets close_button_insets = tab.close_button_->GetInsets(); close_button_ 288 chrome/browser/ui/views/tabs/tab_unittest.cc gfx::Insets close_button_insets_2 = tab.close_button_->GetInsets(); close_button_ 295 chrome/browser/ui/views/tabs/tab_unittest.cc EXPECT_EQ(50, tab.close_button_->bounds().height()); close_button_ 77 ui/message_center/views/message_view.cc close_button_.reset(close); close_button_ 109 ui/message_center/views/message_view.cc close_button_->RequestFocus(); close_button_ 152 ui/message_center/views/message_view.cc DCHECK_EQ(this, close_button_->parent()); close_button_ 177 ui/message_center/views/message_view.cc gfx::Size close_size(close_button_->GetPreferredSize()); close_button_ 182 ui/message_center/views/message_view.cc close_button_->SetBoundsRect(close_rect); close_button_ 96 ui/message_center/views/message_view.h views::ImageButton* close_button() { return close_button_.get(); } close_button_ 104 ui/message_center/views/message_view.h scoped_ptr<views::ImageButton> close_button_; close_button_ 81 ui/views/window/custom_frame_view.cc close_button_(NULL), close_button_ 92 ui/views/window/custom_frame_view.cc close_button_ = new ImageButton(this); close_button_ 93 ui/views/window/custom_frame_view.cc close_button_->SetAccessibleName( close_button_ 97 ui/views/window/custom_frame_view.cc AddChildView(close_button_); close_button_ 155 ui/views/window/custom_frame_view.cc if (close_button_->GetMirroredBounds().Contains(point)) close_button_ 246 ui/views/window/custom_frame_view.cc if (sender == close_button_) close_button_ 470 ui/views/window/custom_frame_view.cc close_button_->SetImageAlignment(ImageButton::ALIGN_LEFT, close_button_ 479 ui/views/window/custom_frame_view.cc gfx::Size close_button_size = close_button_->GetPreferredSize(); close_button_ 480 ui/views/window/custom_frame_view.cc close_button_->SetBounds(width() - FrameBorderThickness() - close_button_ 501 ui/views/window/custom_frame_view.cc visible_button->SetBounds(close_button_->x() - visible_button_size.width(), close_button_ 507 ui/views/window/custom_frame_view.cc next_button_x = close_button_->x(); close_button_ 525 ui/views/window/custom_frame_view.cc close_button_->SetImage(CustomButton::STATE_NORMAL, close_button_ 527 ui/views/window/custom_frame_view.cc close_button_->SetImage(CustomButton::STATE_HOVERED, close_button_ 529 ui/views/window/custom_frame_view.cc close_button_->SetImage(CustomButton::STATE_PRESSED, close_button_ 135 ui/views/window/custom_frame_view.h ImageButton* close_button_;