Home
last modified time | relevance | path

Searched refs:minimize_button_ (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/ash/frame/caption_buttons/
Dframe_caption_button_container_view.cc115 minimize_button_(NULL), in FrameCaptionButtonContainerView()
127 minimize_button_ = new FrameCaptionButton(this, CAPTION_BUTTON_ICON_MINIMIZE); in FrameCaptionButtonContainerView()
128 minimize_button_->SetAccessibleName( in FrameCaptionButtonContainerView()
130 minimize_button_->SetVisible(minimize_allowed == MINIMIZE_ALLOWED); in FrameCaptionButtonContainerView()
131 AddChildView(minimize_button_); in FrameCaptionButtonContainerView()
163 minimize_button_, size_button_, close_button_ in SetButtonImages()
178 minimize_button_->set_paint_as_active(paint_as_active); in SetPaintAsActive()
195 } else if (minimize_button_->visible() && in NonClientHitTest()
196 ConvertPointToViewAndHitTest(this, minimize_button_, point)) { in NonClientHitTest()
289 minimize_button_->SetX(minimize_x); in AnimationProgressed()
[all …]
Dframe_caption_button_container_view.h60 return container_view_->minimize_button_; in minimize_button()
162 FrameCaptionButton* minimize_button_; variable
Dframe_size_button_unittest.cc108 return minimize_button_->state() == views::Button::STATE_NORMAL && in AllButtonsInNormalState()
138 minimize_button_ = test.minimize_button(); in SetUp()
148 FrameCaptionButton* minimize_button() { return minimize_button_; } in minimize_button()
155 FrameCaptionButton* minimize_button_; member in ash::test::FrameSizeButtonTest
/external/chromium_org/apps/ui/views/
Dapp_window_frame_view.cc53 minimize_button_(NULL), in AppWindowFrameView()
101 minimize_button_ = new views::ImageButton(this); in Init()
102 minimize_button_->SetImage( in Init()
105 minimize_button_->SetImage( in Init()
108 minimize_button_->SetAccessibleName( in Init()
110 AddChildView(minimize_button_); in Init()
218 if (minimize_button_ && minimize_button_->visible() && in NonClientHitTest()
219 minimize_button_->GetMirroredBounds().Contains(point)) { in NonClientHitTest()
283 gfx::Size minimize_size = minimize_button_->GetPreferredSize(); in Layout()
284 minimize_button_->SetState(views::CustomButton::STATE_NORMAL); in Layout()
[all …]
Dapp_window_frame_view.h109 views::ImageButton* minimize_button_; variable
/external/chromium_org/chrome/browser/ui/views/panels/
Dpanel_frame_view.cc246 minimize_button_(NULL), in PanelFrameView()
273 minimize_button_ = new views::ImageButton(this); in Init()
274 minimize_button_->SetImage(views::CustomButton::STATE_NORMAL, in Init()
276 minimize_button_->SetImage(views::CustomButton::STATE_HOVERED, in Init()
278 minimize_button_->SetImage(views::CustomButton::STATE_PRESSED, in Init()
281 minimize_button_->SetTooltipText(tooltip_text); in Init()
282 minimize_button_->SetImageAlignment(views::ImageButton::ALIGN_CENTER, in Init()
284 AddChildView(minimize_button_); in Init()
337 minimize_button_->SetVisible(panel->CanShowMinimizeButton()); in UpdateTitlebarMinimizeRestoreButtonVisibility()
342 minimize_button_->SetState(views::CustomButton::STATE_NORMAL); in UpdateTitlebarMinimizeRestoreButtonVisibility()
[all …]
Dpanel_frame_view.h51 views::ImageButton* minimize_button() const { return minimize_button_; } in minimize_button()
112 views::ImageButton* minimize_button_; variable
/external/chromium_org/chrome/browser/ui/views/frame/
Dopaque_browser_frame_view_layout_unittest.cc173 minimize_button_ = InitWindowCaptionButton( in SetUp()
247 EXPECT_EQ("402,1 26x18", minimize_button_->bounds().ToString()); in ExpectBasicWindowBounds()
258 views::ImageButton* minimize_button_; member in OpaqueBrowserFrameViewLayoutTest
302 EXPECT_EQ("403,0 26x18", minimize_button_->bounds().ToString()); in TEST_F()
328 EXPECT_EQ("403,0 26x20", minimize_button_->bounds().ToString()); in TEST_F()
353 EXPECT_EQ("47,1 26x18", minimize_button_->bounds().ToString()); in TEST_F()
374 EXPECT_EQ("0,0 0x0", minimize_button_->bounds().ToString()); in TEST_F()
396 EXPECT_EQ("0,0 0x0", minimize_button_->bounds().ToString()); in TEST_F()
453 EXPECT_EQ("47,1 26x18", minimize_button_->bounds().ToString()); in TEST_F()
505 EXPECT_EQ("0,0 0x0", minimize_button_->bounds().ToString()); in TEST_F()
Dopaque_browser_frame_view.cc95 minimize_button_(NULL), in OpaqueBrowserFrameView()
104 minimize_button_ = InitWindowCaptionButton(IDR_MINIMIZE, in OpaqueBrowserFrameView()
246 if (minimize_button_ && minimize_button_->visible() && in NonClientHitTest()
247 minimize_button_->GetMirroredBounds().Contains(point)) in NonClientHitTest()
274 minimize_button_->SetState(views::CustomButton::STATE_NORMAL); in ResetWindowControls()
304 if (sender == minimize_button_) { in ButtonPressed()
Dopaque_browser_frame_view_layout.cc112 minimize_button_(NULL), in OpaqueBrowserFrameViewLayout()
474 minimize_button_->SetVisible(true); in ConfigureButton()
475 SetBoundsForButton(host, minimize_button_, alignment, caption_y); in ConfigureButton()
503 minimize_button_->SetVisible(false); in HideButton()
600 minimize_button_ = static_cast<views::ImageButton*>(view); in SetView()
Dopaque_browser_frame_view.h101 views::ImageButton* minimize_button() const { return minimize_button_; } in minimize_button()
164 views::ImageButton* minimize_button_; variable
Dopaque_browser_frame_view_layout.h180 views::ImageButton* minimize_button_; variable
/external/chromium_org/ui/views/window/
Dcustom_frame_view.cc88 minimize_button_(NULL), in CustomFrameView()
105 minimize_button_ = InitWindowCaptionButton(IDS_APP_ACCNAME_MINIMIZE, in Init()
163 if (minimize_button_->GetMirroredBounds().Contains(point)) in NonClientHitTest()
186 minimize_button_->SetState(CustomButton::STATE_NORMAL); in ResetWindowControls()
256 else if (sender == minimize_button_) in ButtonPressed()
601 button = minimize_button_; in GetImageButton()
Dcustom_frame_view.h145 ImageButton* minimize_button_; variable
Dcustom_frame_view_unittest.cc82 return custom_frame_view_->minimize_button_; in minimize_button()