/external/chromium_org/chrome/browser/ |
D | upgrade_detector.cc | 35 void UpgradeDetector::RegisterPrefs(PrefRegistrySimple* registry) { in RegisterPrefs() 40 int UpgradeDetector::GetIconResourceID(UpgradeNotificationIconType type) { in GetIconResourceID() 81 UpgradeDetector::UpgradeDetector() in UpgradeDetector() function in UpgradeDetector 88 UpgradeDetector::~UpgradeDetector() { in ~UpgradeDetector() 91 void UpgradeDetector::NotifyUpgradeDetected() { in NotifyUpgradeDetected() 96 void UpgradeDetector::NotifyUpgradeRecommended() { in NotifyUpgradeRecommended() 101 content::Source<UpgradeDetector>(this), in NotifyUpgradeRecommended() 108 content::Source<UpgradeDetector>(this), in NotifyUpgradeRecommended() 118 this, &UpgradeDetector::CheckIdle); in NotifyUpgradeRecommended() 126 void UpgradeDetector::CheckIdle() { in CheckIdle() [all …]
|
D | upgrade_detector.h | 24 class UpgradeDetector { 43 static UpgradeDetector* GetInstance(); 45 virtual ~UpgradeDetector(); 85 UpgradeDetector(); 127 base::RepeatingTimer<UpgradeDetector> idle_check_timer_; 136 DISALLOW_COPY_AND_ASSIGN(UpgradeDetector);
|
D | upgrade_detector_impl.h | 15 class UpgradeDetectorImpl : public UpgradeDetector {
|
D | upgrade_detector_impl.cc | 430 UpgradeDetector* UpgradeDetector::GetInstance() { in GetInstance()
|
/external/chromium/chrome/browser/ |
D | upgrade_detector.h | 24 class UpgradeDetector { 36 static UpgradeDetector* GetInstance(); 38 ~UpgradeDetector(); 49 friend struct DefaultSingletonTraits<UpgradeDetector>; 51 UpgradeDetector(); 66 base::RepeatingTimer<UpgradeDetector> detect_upgrade_timer_; 70 base::RepeatingTimer<UpgradeDetector> upgrade_notification_timer_; 75 ScopedRunnableMethodFactory<UpgradeDetector> method_factory_; 90 DISALLOW_COPY_AND_ASSIGN(UpgradeDetector);
|
D | upgrade_detector.cc | 153 void UpgradeDetector::RegisterPrefs(PrefService* prefs) { in RegisterPrefs() 157 UpgradeDetector::UpgradeDetector() in UpgradeDetector() function in UpgradeDetector 175 this, &UpgradeDetector::CheckForUpgrade); in UpgradeDetector() 180 UpgradeDetector::~UpgradeDetector() { in ~UpgradeDetector() 184 UpgradeDetector* UpgradeDetector::GetInstance() { in GetInstance() 185 return Singleton<UpgradeDetector>::get(); in GetInstance() 188 void UpgradeDetector::CheckForUpgrade() { in CheckForUpgrade() 191 method_factory_.NewRunnableMethod(&UpgradeDetector::UpgradeDetected); in CheckForUpgrade() 201 void UpgradeDetector::UpgradeDetected() { in UpgradeDetected() 211 Source<UpgradeDetector>(this), in UpgradeDetected() [all …]
|
/external/chromium_org/chrome/browser/ui/toolbar/ |
D | wrench_icon_painter.cc | 35 UpgradeDetector::UpgradeNotificationAnnoyanceLevel level) { in SeverityFromUpgradeLevel() 37 case UpgradeDetector::UPGRADE_ANNOYANCE_NONE: in SeverityFromUpgradeLevel() 39 case UpgradeDetector::UPGRADE_ANNOYANCE_LOW: in SeverityFromUpgradeLevel() 41 case UpgradeDetector::UPGRADE_ANNOYANCE_ELEVATED: in SeverityFromUpgradeLevel() 43 case UpgradeDetector::UPGRADE_ANNOYANCE_HIGH: in SeverityFromUpgradeLevel() 45 case UpgradeDetector::UPGRADE_ANNOYANCE_SEVERE: in SeverityFromUpgradeLevel() 47 case UpgradeDetector::UPGRADE_ANNOYANCE_CRITICAL: in SeverityFromUpgradeLevel() 56 UpgradeDetector::UpgradeNotificationAnnoyanceLevel level) { in ShouldAnimateUpgradeLevel() 58 if (level == UpgradeDetector::UPGRADE_ANNOYANCE_LOW) { in ShouldAnimateUpgradeLevel()
|
D | wrench_icon_painter.h | 51 UpgradeDetector::UpgradeNotificationAnnoyanceLevel level); 55 UpgradeDetector::UpgradeNotificationAnnoyanceLevel level);
|
D | wrench_menu_model.cc | 84 if (UpgradeDetector::GetInstance()->is_outdated_install()) { in GetUpgradeDialogMenuItemName() 327 if (UpgradeDetector::GetInstance()->notify_upgrade()) { in GetIconForCommandId() 329 UpgradeDetector::GetInstance()->GetIconResourceID( in GetIconForCommandId() 330 UpgradeDetector::UPGRADE_ICON_TYPE_MENU_ICON)); in GetIconForCommandId() 424 return UpgradeDetector::GetInstance()->notify_upgrade();
|
/external/chromium_org/chrome/browser/ui/ash/ |
D | system_tray_delegate_win.cc | 93 return UpgradeDetector::GetInstance()->notify_upgrade(); in SystemShouldUpgrade() 292 UpgradeDetector* detector = in Observe() 293 content::Source<UpgradeDetector>(source).ptr(); in Observe() 297 case UpgradeDetector::UPGRADE_ANNOYANCE_SEVERE: in Observe() 300 case UpgradeDetector::UPGRADE_ANNOYANCE_HIGH: in Observe() 303 case UpgradeDetector::UPGRADE_ANNOYANCE_ELEVATED: in Observe() 306 case UpgradeDetector::UPGRADE_ANNOYANCE_LOW: in Observe()
|
/external/chromium_org/chrome/browser/ui/views/ |
D | critical_notification_bubble_view.cc | 85 UpgradeDetector* upgrade_detector = UpgradeDetector::GetInstance(); in OnCountdown() 114 UpgradeDetector::GetInstance()->acknowledge_critical_update(); in ButtonPressed() 152 UpgradeDetector::GetInstance()->acknowledge_critical_update(); in AcceleratorPressed()
|
D | outdated_upgrade_bubble_view.cc | 189 DCHECK(UpgradeDetector::GetInstance()->is_outdated_install()); in HandleButtonPressed()
|
/external/chromium_org/chrome/browser/chromeos/ |
D | upgrade_detector_chromeos.cc | 89 UpgradeDetector* UpgradeDetector::GetInstance() { in GetInstance()
|
D | upgrade_detector_chromeos.h | 15 class UpgradeDetectorChromeos : public UpgradeDetector,
|
/external/chromium/chrome/browser/ui/toolbar/ |
D | wrench_menu_model.cc | 280 UpgradeDetector::UpgradeNotificationAnnoyanceLevel stage = in GetIconForCommandId() 281 UpgradeDetector::GetInstance()->upgrade_notification_stage(); in GetIconForCommandId() 283 case UpgradeDetector::UPGRADE_ANNOYANCE_SEVERE: in GetIconForCommandId() 286 case UpgradeDetector::UPGRADE_ANNOYANCE_HIGH: in GetIconForCommandId() 289 case UpgradeDetector::UPGRADE_ANNOYANCE_ELEVATED: in GetIconForCommandId() 333 return UpgradeDetector::GetInstance()->notify_upgrade(); in IsCommandIdVisible()
|
/external/chromium_org/chrome/browser/ui/webui/help/ |
D | version_updater_basic.cc | 13 if (UpgradeDetector::GetInstance()->notify_upgrade()) in CheckForUpdate()
|
/external/chromium/chrome/browser/ui/views/ |
D | toolbar_view.cc | 583 return (UpgradeDetector::GetInstance()->notify_upgrade()); in IsUpgradeRecommended() 591 switch (UpgradeDetector::GetInstance()->upgrade_notification_stage()) { in GetUpgradeRecommendedBadge() 592 case UpgradeDetector::UPGRADE_ANNOYANCE_SEVERE: in GetUpgradeRecommendedBadge() 594 case UpgradeDetector::UPGRADE_ANNOYANCE_HIGH: in GetUpgradeRecommendedBadge() 596 case UpgradeDetector::UPGRADE_ANNOYANCE_ELEVATED: in GetUpgradeRecommendedBadge()
|
/external/chromium_org/chrome/browser/chromeos/system/ |
D | ash_system_tray_delegate.cc | 467 return UpgradeDetector::GetInstance()->notify_upgrade(); in SystemShouldUpgrade() 1062 UpgradeDetector* detector = in Observe() 1063 content::Source<UpgradeDetector>(source).ptr(); in Observe() 1067 case UpgradeDetector::UPGRADE_ANNOYANCE_SEVERE: in Observe() 1071 case UpgradeDetector::UPGRADE_ANNOYANCE_HIGH: in Observe() 1075 case UpgradeDetector::UPGRADE_ANNOYANCE_ELEVATED: in Observe() 1079 case UpgradeDetector::UPGRADE_ANNOYANCE_LOW: in Observe()
|
/external/chromium_org/chrome/browser/extensions/api/system_private/ |
D | system_private_api.cc | 121 if (UpgradeDetector::GetInstance()->notify_upgrade()) { in RunImpl()
|
/external/chromium_org/chrome/browser/ui/gtk/ |
D | browser_toolbar_gtk.cc | 680 if (UpgradeDetector::GetInstance()->notify_upgrade()) { in OnWrenchMenuButtonExpose() 681 resource_id = UpgradeDetector::GetInstance()->GetIconResourceID( in OnWrenchMenuButtonExpose() 682 UpgradeDetector::UPGRADE_ICON_TYPE_BADGE); in OnWrenchMenuButtonExpose()
|
/external/chromium_org/chrome/browser/ui/views/toolbar/ |
D | toolbar_view.cc | 736 return (UpgradeDetector::GetInstance()->notify_upgrade()); in ShouldShowUpgradeRecommended() 813 UpgradeDetector::UpgradeNotificationAnnoyanceLevel level = in UpdateWrenchButtonSeverity() 814 UpgradeDetector::GetInstance()->upgrade_notification_stage(); in UpdateWrenchButtonSeverity()
|
/external/chromium/chrome/browser/prefs/ |
D | browser_prefs.cc | 101 UpgradeDetector::RegisterPrefs(local_state); in RegisterLocalState()
|
/external/chromium/chrome/browser/service/ |
D | service_process_control.cc | 206 if (UpgradeDetector::GetInstance()->notify_upgrade()) { in OnChannelConnected()
|
/external/chromium_org/chrome/browser/service_process/ |
D | service_process_control.cc | 205 if (UpgradeDetector::GetInstance()->notify_upgrade()) { in OnChannelConnected()
|
/external/chromium_org/chrome/browser/ui/cocoa/toolbar/ |
D | toolbar_controller.mm | 558 if (UpgradeDetector::GetInstance()->notify_upgrade()) { 559 UpgradeDetector::UpgradeNotificationAnnoyanceLevel level = 560 UpgradeDetector::GetInstance()->upgrade_notification_stage();
|