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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.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: minor edits 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
Index: third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.h
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.h b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.h
index 78e625241734e260e1381f51e4eb129544fafac4..200bae894b5b41e5c16f95250945d57166df060e 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.h
@@ -31,6 +31,7 @@
#ifndef ScrollbarThemeAura_h
#define ScrollbarThemeAura_h
+#include "base/gtest_prod_util.h"
#include "platform/scroll/ScrollbarTheme.h"
namespace blink {
@@ -58,6 +59,9 @@ protected:
ScrollbarPart invalidateOnThumbPositionChange(const ScrollbarThemeClient&, float oldPosition, float newPosition) const override;
private:
+ FRIEND_TEST_ALL_PREFIXES(ScrollbarThemeAuraTest, ButtonSizeHorizontal);
+ FRIEND_TEST_ALL_PREFIXES(ScrollbarThemeAuraTest, ButtonSizeVertical);
+
IntSize buttonSize(const ScrollbarThemeClient&);
};

Powered by Google App Engine
This is Rietveld 408576698