Commit 62522c63 authored by oshima@chromium.org's avatar oshima@chromium.org

Remove resources for "not toolkit_views and not is_macosx and not is_ios"....

Remove resources for "not toolkit_views and not is_macosx and not is_ios". This matches android, but android is not using them (I believe).

This seems to be left-over from linux_gtk configuration, which has been removed.

I'll remove png files in separate CL.

BUG=373482

Review URL: https://codereview.chromium.org/288033005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271176 0039d316-1c4b-4281-b951-d872f2087c98
parent 969a5649
This diff is collapsed.
...@@ -40,23 +40,7 @@ void UpgradeDetector::RegisterPrefs(PrefRegistrySimple* registry) { ...@@ -40,23 +40,7 @@ void UpgradeDetector::RegisterPrefs(PrefRegistrySimple* registry) {
int UpgradeDetector::GetIconResourceID(UpgradeNotificationIconType type) { int UpgradeDetector::GetIconResourceID(UpgradeNotificationIconType type) {
if (type == UPGRADE_ICON_TYPE_BADGE) { if (type == UPGRADE_ICON_TYPE_BADGE) {
// Badges do not exist on Views and Mac OS X. // TODO(oshima): Badges no longer exist. remove this.
#if !defined(TOOLKIT_VIEWS) && !defined(OS_MACOSX)
switch (upgrade_notification_stage_) {
case UPGRADE_ANNOYANCE_NONE:
return 0;
case UPGRADE_ANNOYANCE_LOW:
return IDR_UPDATE_BADGE;
case UPGRADE_ANNOYANCE_ELEVATED:
return IDR_UPDATE_BADGE2;
case UPGRADE_ANNOYANCE_HIGH:
return IDR_UPDATE_BADGE3;
case UPGRADE_ANNOYANCE_SEVERE:
return IDR_UPDATE_BADGE3;
case UPGRADE_ANNOYANCE_CRITICAL:
return IDR_UPDATE_BADGE3;
}
#endif
NOTREACHED(); NOTREACHED();
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment