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

Unified Diff: ui/native_theme/native_theme_base.h

Issue 1911973002: Fix scrollbar buttons at hidpi when enable-use-zoom-for-dsf is on. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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 675900f6f99a5e07dd7f1c9f4eaf2b1e9b7d27dd..74525ce67fbf4dfcbbc7d2cc3356ae6d797178e2 100644
--- a/ui/native_theme/native_theme_base.h
+++ b/ui/native_theme/native_theme_base.h
@@ -8,6 +8,7 @@
#include <memory>
#include "base/compiler_specific.h"
+#include "base/gtest_prod_util.h"
#include "base/macros.h"
#include "skia/ext/platform_canvas.h"
#include "ui/native_theme/native_theme.h"
@@ -169,6 +170,11 @@ 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);
+
+ SkPath PathForArrow(const gfx::Rect& rect, Part direction) const;
+
void DrawVertLine(SkCanvas* canvas,
int x,
int y1,
« 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