/external/chromium_org/ash/frame/caption_buttons/ |
D | frame_caption_button_container_view.cc | 115 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 …]
|
D | frame_caption_button_container_view.h | 60 return container_view_->minimize_button_; in minimize_button() 162 FrameCaptionButton* minimize_button_; variable
|
D | frame_size_button_unittest.cc | 108 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/ |
D | app_window_frame_view.cc | 53 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 …]
|
D | app_window_frame_view.h | 109 views::ImageButton* minimize_button_; variable
|
/external/chromium_org/chrome/browser/ui/views/panels/ |
D | panel_frame_view.cc | 246 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 …]
|
D | panel_frame_view.h | 51 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/ |
D | opaque_browser_frame_view_layout_unittest.cc | 173 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()
|
D | opaque_browser_frame_view.cc | 95 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()
|
D | opaque_browser_frame_view_layout.cc | 112 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()
|
D | opaque_browser_frame_view.h | 101 views::ImageButton* minimize_button() const { return minimize_button_; } in minimize_button() 164 views::ImageButton* minimize_button_; variable
|
D | opaque_browser_frame_view_layout.h | 180 views::ImageButton* minimize_button_; variable
|
/external/chromium_org/ui/views/window/ |
D | custom_frame_view.cc | 88 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()
|
D | custom_frame_view.h | 145 ImageButton* minimize_button_; variable
|
D | custom_frame_view_unittest.cc | 82 return custom_frame_view_->minimize_button_; in minimize_button()
|