Searched refs:WrenchIconPainter (Results 1 – 9 of 9) sorted by relevance
/external/chromium_org/chrome/browser/ui/toolbar/ |
D | wrench_icon_painter_unittest.cc | 17 public WrenchIconPainter::Delegate { 30 WrenchIconPainter painter_; 42 painter_.Paint(&canvas, theme_provider_, rect, WrenchIconPainter::BEZEL_NONE); in TEST_F() 44 &canvas, theme_provider_, rect, WrenchIconPainter::BEZEL_HOVER); in TEST_F() 46 &canvas, theme_provider_, rect, WrenchIconPainter::BEZEL_PRESSED); in TEST_F() 48 painter_.SetSeverity(WrenchIconPainter::SEVERITY_LOW, true); in TEST_F() 50 &canvas, theme_provider_, rect, WrenchIconPainter::BEZEL_PRESSED); in TEST_F() 51 painter_.SetSeverity(WrenchIconPainter::SEVERITY_MEDIUM, true); in TEST_F() 53 &canvas, theme_provider_, rect, WrenchIconPainter::BEZEL_PRESSED); in TEST_F() 54 painter_.SetSeverity(WrenchIconPainter::SEVERITY_HIGH, true); in TEST_F() [all …]
|
D | wrench_icon_painter.cc | 34 WrenchIconPainter::Severity WrenchIconPainter::SeverityFromUpgradeLevel( in SeverityFromUpgradeLevel() 55 bool WrenchIconPainter::ShouldAnimateUpgradeLevel( in ShouldAnimateUpgradeLevel() 68 WrenchIconPainter::Severity WrenchIconPainter::GlobalErrorSeverity() { in GlobalErrorSeverity() 74 WrenchIconPainter::WrenchIconPainter(Delegate* delegate) in WrenchIconPainter() function in WrenchIconPainter 79 WrenchIconPainter::~WrenchIconPainter() {} in ~WrenchIconPainter() 81 void WrenchIconPainter::SetSeverity(Severity severity, bool animate) { in SetSeverity() 106 void WrenchIconPainter::Paint(gfx::Canvas* canvas, in Paint() 170 void WrenchIconPainter::AnimationProgressed(const gfx::Animation* animation) { in AnimationProgressed() 174 int WrenchIconPainter::GetCurrentSeverityImageID() const { in GetCurrentSeverityImageID()
|
D | wrench_icon_painter.h | 27 class WrenchIconPainter : gfx::AnimationDelegate { 60 explicit WrenchIconPainter(Delegate* delegate); 61 virtual ~WrenchIconPainter(); 89 DISALLOW_COPY_AND_ASSIGN(WrenchIconPainter);
|
/external/chromium_org/chrome/browser/ui/views/toolbar/ |
D | wrench_toolbar_button.cc | 13 wrench_icon_painter_.reset(new WrenchIconPainter(this)); in WrenchToolbarButton() 23 void WrenchToolbarButton::SetSeverity(WrenchIconPainter::Severity severity, in SetSeverity() 44 WrenchIconPainter::BezelType WrenchToolbarButton::GetCurrentBezelType() const { in GetCurrentBezelType() 47 return WrenchIconPainter::BEZEL_HOVER; in GetCurrentBezelType() 49 return WrenchIconPainter::BEZEL_PRESSED; in GetCurrentBezelType() 51 return WrenchIconPainter::BEZEL_NONE; in GetCurrentBezelType()
|
D | wrench_toolbar_button.h | 13 public WrenchIconPainter::Delegate { 18 void SetSeverity(WrenchIconPainter::Severity severity, bool animate); 27 WrenchIconPainter::BezelType GetCurrentBezelType() const; 29 scoped_ptr<WrenchIconPainter> wrench_icon_painter_;
|
D | toolbar_view.cc | 815 app_menu_->SetSeverity(WrenchIconPainter::SeverityFromUpgradeLevel(level), in UpdateWrenchButtonSeverity() 816 WrenchIconPainter::ShouldAnimateUpgradeLevel(level)); in UpdateWrenchButtonSeverity() 827 app_menu_->SetSeverity(WrenchIconPainter::SEVERITY_MEDIUM, true); in UpdateWrenchButtonSeverity() 837 app_menu_->SetSeverity(WrenchIconPainter::GlobalErrorSeverity(), true); in UpdateWrenchButtonSeverity() 841 app_menu_->SetSeverity(WrenchIconPainter::SEVERITY_NONE, true); in UpdateWrenchButtonSeverity()
|
/external/chromium_org/chrome/browser/ui/cocoa/toolbar/ |
D | wrench_toolbar_button_cell.mm | 11 class WrenchIconPainterDelegateMac : public WrenchIconPainter::Delegate { 28 - (WrenchIconPainter::BezelType)currentBezelType; 64 - (void)setSeverity:(WrenchIconPainter::Severity)severity 71 wrenchIconPainter_.reset(new WrenchIconPainter(delegate_.get())); 74 - (WrenchIconPainter::BezelType)currentBezelType { 76 return WrenchIconPainter::BEZEL_PRESSED; 78 return WrenchIconPainter::BEZEL_HOVER; 79 return WrenchIconPainter::BEZEL_NONE;
|
D | wrench_toolbar_button_cell.h | 20 scoped_ptr<WrenchIconPainter> wrenchIconPainter_; 24 - (void)setSeverity:(WrenchIconPainter::Severity)severity
|
D | toolbar_controller.mm | 561 [cell setSeverity:WrenchIconPainter::SeverityFromUpgradeLevel(level) 562 shouldAnimate:WrenchIconPainter::ShouldAnimateUpgradeLevel(level)]; 569 [cell setSeverity:WrenchIconPainter::GlobalErrorSeverity() 574 [cell setSeverity:WrenchIconPainter::SEVERITY_NONE shouldAnimate:YES];
|