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

Unified Diff: ui/gfx/paint_throbber.h

Issue 1400783002: Use a layer transform for the waiting throbber Base URL: https://chromium.googlesource.com/chromium/src.git@20151006-MacViewsBrowser-Power
Patch Set: Fix color Created 5 years, 2 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 | « chrome/browser/ui/views/tabs/tab.cc ('k') | ui/gfx/paint_throbber.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/paint_throbber.h
diff --git a/ui/gfx/paint_throbber.h b/ui/gfx/paint_throbber.h
index c4adab5dd2f35b5a6e078c7842655e76e7b06da1..fddfb4759f49d344c4992b45b80c945d7d79b60d 100644
--- a/ui/gfx/paint_throbber.h
+++ b/ui/gfx/paint_throbber.h
@@ -28,6 +28,12 @@ struct GFX_EXPORT ThrobberWaitingState {
base::TimeDelta arc_time_offset;
};
+GFX_EXPORT void PaintThrobberArc(Canvas* canvas,
+ const Rect& bounds,
+ SkColor color,
+ SkScalar start_angle,
+ SkScalar sweep);
+
// Paints a single frame of the throbber in the "spinning", aka Material, state.
GFX_EXPORT void PaintThrobberSpinning(Canvas* canvas,
const Rect& bounds, SkColor color, const base::TimeDelta& elapsed_time);
« no previous file with comments | « chrome/browser/ui/views/tabs/tab.cc ('k') | ui/gfx/paint_throbber.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698