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

Unified Diff: third_party/WebKit/Source/core/paint/ThemePainterDefault.h

Issue 2560733002: SELECT element: Fix a bug that intrinsic width is too narrow in less-than-100% zoom level. (Closed)
Patch Set: PartScrollbarVerticalTrack -> PartScrollbarDownArrow to fix Android crash Created 4 years 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/core/paint/ThemePainterDefault.h
diff --git a/third_party/WebKit/Source/core/paint/ThemePainterDefault.h b/third_party/WebKit/Source/core/paint/ThemePainterDefault.h
index 48c21902096a71dd667190e63b3dece215d9b83a..a66dd692bed5d595f71c5fa67acb2d4e023d8e72 100644
--- a/third_party/WebKit/Source/core/paint/ThemePainterDefault.h
+++ b/third_party/WebKit/Source/core/paint/ThemePainterDefault.h
@@ -35,10 +35,11 @@
namespace blink {
class LayoutBox;
+class LayoutThemeDefault;
class ThemePainterDefault final : public ThemePainter {
public:
- ThemePainterDefault();
+ explicit ThemePainterDefault(LayoutThemeDefault&);
private:
bool paintCheckbox(const LayoutObject&,
@@ -84,6 +85,9 @@ class ThemePainterDefault final : public ThemePainter {
void setupMenuListArrow(const LayoutBox&,
const IntRect&,
WebThemeEngine::ExtraParams&);
+
+ // ThemePaintDefault is a part object of m_theme.
+ LayoutThemeDefault& m_theme;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutThemeMac.mm ('k') | third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698