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

Unified Diff: ash/autoclick/common/autoclick_ring_handler.cc

Issue 2329633003: Implement progress bar spec (determinate and indeterminate). (Closed)
Patch Set: attempt to unbreak mac and unit test Created 4 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/download/notification/download_item_notification.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/autoclick/common/autoclick_ring_handler.cc
diff --git a/ash/autoclick/common/autoclick_ring_handler.cc b/ash/autoclick/common/autoclick_ring_handler.cc
index b678555751e73f93a29924f41857f41f1d7b0dba..9993480d5eb165e4f41597d34efa8d459cc42324 100644
--- a/ash/autoclick/common/autoclick_ring_handler.cc
+++ b/ash/autoclick/common/autoclick_ring_handler.cc
@@ -42,7 +42,6 @@ const int kAutoclickRingAngleEndValue = 360;
// Visual constants.
const SkColor kAutoclickRingArcColor = SkColorSetARGB(255, 0, 255, 0);
const SkColor kAutoclickRingCircleColor = SkColorSetARGB(255, 0, 0, 255);
-const int kAutoclickRingFrameRateHz = 60;
void PaintAutoclickRingCircle(gfx::Canvas* canvas,
gfx::Point& center,
@@ -168,7 +167,7 @@ class AutoclickRingHandler::AutoclickRingView : public views::View {
// AutoclickRingHandler, public
AutoclickRingHandler::AutoclickRingHandler()
- : gfx::LinearAnimation(kAutoclickRingFrameRateHz, nullptr),
+ : gfx::LinearAnimation(nullptr),
ring_widget_(nullptr),
current_animation_type_(AnimationType::NONE) {}
« no previous file with comments | « no previous file | chrome/browser/download/notification/download_item_notification.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698