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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutThemeDefault.h

Issue 2525513002: Move logic to turn off caret blinking for LayoutTests to LayoutTheme. (Closed)
Patch Set: Remove flaky marker from test. 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * This file is part of the WebKit project. 2 * This file is part of the WebKit project.
3 * 3 *
4 * Copyright (C) 2006 Apple Computer, Inc. 4 * Copyright (C) 2006 Apple Computer, Inc.
5 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com 5 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
6 * Copyright (C) 2007 Holger Hans Peter Freyther 6 * Copyright (C) 2007 Holger Hans Peter Freyther
7 * Copyright (C) 2007 Alp Toker <alp@atoker.com> 7 * Copyright (C) 2007 Alp Toker <alp@atoker.com>
8 * Copyright (C) 2008, 2009 Google, Inc. 8 * Copyright (C) 2008, 2009 Google, Inc.
9 * All rights reserved. 9 * All rights reserved.
10 * Copyright (C) 2009 Kenneth Rohde Christiansen 10 * Copyright (C) 2009 Kenneth Rohde Christiansen
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 Color platformTapHighlightColor() const override { 75 Color platformTapHighlightColor() const override {
76 return Color(defaultTapHighlightColor); 76 return Color(defaultTapHighlightColor);
77 } 77 }
78 78
79 // A method asking if the theme's controls actually care about redrawing 79 // A method asking if the theme's controls actually care about redrawing
80 // when hovered. 80 // when hovered.
81 bool supportsHover(const ComputedStyle&) const final; 81 bool supportsHover(const ComputedStyle&) const final;
82 82
83 Color platformFocusRingColor() const override; 83 Color platformFocusRingColor() const override;
84 84
85 double caretBlinkInterval() const final;
86
87 // System fonts. 85 // System fonts.
88 virtual void systemFont(CSSValueID systemFontID, 86 virtual void systemFont(CSSValueID systemFontID,
89 FontStyle&, 87 FontStyle&,
90 FontWeight&, 88 FontWeight&,
91 float& fontSize, 89 float& fontSize,
92 AtomicString& fontFamily) const; 90 AtomicString& fontFamily) const;
93 91
94 int minimumMenuListSize(const ComputedStyle&) const override; 92 int minimumMenuListSize(const ComputedStyle&) const override;
95 93
96 void adjustSearchFieldStyle(ComputedStyle&) const override; 94 void adjustSearchFieldStyle(ComputedStyle&) const override;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 static unsigned m_activeSelectionForegroundColor; 149 static unsigned m_activeSelectionForegroundColor;
152 static unsigned m_inactiveSelectionBackgroundColor; 150 static unsigned m_inactiveSelectionBackgroundColor;
153 static unsigned m_inactiveSelectionForegroundColor; 151 static unsigned m_inactiveSelectionForegroundColor;
154 152
155 ThemePainterDefault m_painter; 153 ThemePainterDefault m_painter;
156 }; 154 };
157 155
158 } // namespace blink 156 } // namespace blink
159 157
160 #endif // LayoutThemeDefault_h 158 #endif // LayoutThemeDefault_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTheme.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutThemeDefault.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698