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

Unified Diff: ui/native_theme/native_theme_base.h

Issue 2009733002: Draw nicer arrows when the scrollbar buttons are not square. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no floats allowed Created 4 years, 6 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 | « ui/native_theme/native_theme_aura_unittest.cc ('k') | ui/native_theme/native_theme_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/native_theme_base.h
diff --git a/ui/native_theme/native_theme_base.h b/ui/native_theme/native_theme_base.h
index 74525ce67fbf4dfcbbc7d2cc3356ae6d797178e2..3a8ddde23d1244ffdd37e2d09b88a4467b2660d5 100644
--- a/ui/native_theme/native_theme_base.h
+++ b/ui/native_theme/native_theme_base.h
@@ -170,10 +170,10 @@ class NATIVE_THEME_EXPORT NativeThemeBase : public NativeTheme {
SkColor GetArrowColor(State state) const;
private:
- FRIEND_TEST_ALL_PREFIXES(NativeThemeAuraTest, VerticalArrows);
- FRIEND_TEST_ALL_PREFIXES(NativeThemeAuraTest, HorizontalArrows);
+ friend class NativeThemeAuraTest;
SkPath PathForArrow(const gfx::Rect& rect, Part direction) const;
+ gfx::Rect BoundingRectForArrow(const gfx::Rect& rect) const;
void DrawVertLine(SkCanvas* canvas,
int x,
« no previous file with comments | « ui/native_theme/native_theme_aura_unittest.cc ('k') | ui/native_theme/native_theme_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698