Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8150)

Unified Diff: chrome/browser/ui/toolbar/wrench_icon_painter.h

Issue 395193003: Create a cross-platform helper class for badging the wrench menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/toolbar/wrench_icon_painter.h
===================================================================
--- chrome/browser/ui/toolbar/wrench_icon_painter.h (revision 283822)
+++ chrome/browser/ui/toolbar/wrench_icon_painter.h (working copy)
@@ -8,8 +8,6 @@
#include "base/compiler_specific.h"
#include "base/gtest_prod_util.h"
#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/ui/global_error/global_error.h"
-#include "chrome/browser/upgrade_detector.h"
#include "ui/gfx/animation/animation_delegate.h"
#include "ui/gfx/image/image_skia.h"
@@ -46,17 +44,6 @@
virtual ~Delegate() {}
};
- // Map an upgrade level to a severity level.
- static Severity SeverityFromUpgradeLevel(
- UpgradeDetector::UpgradeNotificationAnnoyanceLevel level);
-
- // Checks if the wrench icon should be animated for the given upgrade level.
- static bool ShouldAnimateUpgradeLevel(
- UpgradeDetector::UpgradeNotificationAnnoyanceLevel level);
-
- // Get the severity level for global errors.
- static Severity GlobalErrorSeverity();
-
explicit WrenchIconPainter(Delegate* delegate);
virtual ~WrenchIconPainter();
« no previous file with comments | « chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm ('k') | chrome/browser/ui/toolbar/wrench_icon_painter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698