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

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

Issue 2209773002: Remove the blocking touch handlers for the input[type=range] and add touch-action instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Check if element is nullptr to fix the crash Created 4 years, 3 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * This file is part of the theme implementation for form controls in WebCore. 2 * This file is part of the theme implementation for form controls in WebCore.
3 * 3 *
4 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Computer, Inc. 4 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Computer, Inc.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 virtual void setCheckboxSize(ComputedStyle&) const { } 206 virtual void setCheckboxSize(ComputedStyle&) const { }
207 207
208 virtual void adjustRadioStyle(ComputedStyle&) const; 208 virtual void adjustRadioStyle(ComputedStyle&) const;
209 virtual void setRadioSize(ComputedStyle&) const { } 209 virtual void setRadioSize(ComputedStyle&) const { }
210 210
211 virtual void adjustButtonStyle(ComputedStyle&) const; 211 virtual void adjustButtonStyle(ComputedStyle&) const;
212 virtual void adjustInnerSpinButtonStyle(ComputedStyle&) const; 212 virtual void adjustInnerSpinButtonStyle(ComputedStyle&) const;
213 213
214 virtual void adjustMenuListStyle(ComputedStyle&, Element*) const; 214 virtual void adjustMenuListStyle(ComputedStyle&, Element*) const;
215 virtual void adjustMenuListButtonStyle(ComputedStyle&, Element*) const; 215 virtual void adjustMenuListButtonStyle(ComputedStyle&, Element*) const;
216 virtual void adjustSliderContainerStyle(ComputedStyle&, Element*) const;
216 virtual void adjustSliderThumbStyle(ComputedStyle&) const; 217 virtual void adjustSliderThumbStyle(ComputedStyle&) const;
217 virtual void adjustSearchFieldStyle(ComputedStyle&) const; 218 virtual void adjustSearchFieldStyle(ComputedStyle&) const;
218 virtual void adjustSearchFieldCancelButtonStyle(ComputedStyle&) const; 219 virtual void adjustSearchFieldCancelButtonStyle(ComputedStyle&) const;
219 void adjustStyleUsingFallbackTheme(ComputedStyle&); 220 void adjustStyleUsingFallbackTheme(ComputedStyle&);
220 void adjustCheckboxStyleUsingFallbackTheme(ComputedStyle&) const; 221 void adjustCheckboxStyleUsingFallbackTheme(ComputedStyle&) const;
221 void adjustRadioStyleUsingFallbackTheme(ComputedStyle&) const; 222 void adjustRadioStyleUsingFallbackTheme(ComputedStyle&) const;
222 223
223 bool hasPlatformTheme() const { return m_platformTheme; } 224 bool hasPlatformTheme() const { return m_platformTheme; }
224 225
225 public: 226 public:
(...skipping 24 matching lines...) Expand all
250 static const RGBA32 defaultTapHighlightColor = 0x66000000; 251 static const RGBA32 defaultTapHighlightColor = 0x66000000;
251 252
252 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55; 253 static const RGBA32 defaultCompositionBackgroundColor = 0xFFFFDD55;
253 254
254 Theme* m_platformTheme; // The platform-specific theme. 255 Theme* m_platformTheme; // The platform-specific theme.
255 }; 256 };
256 257
257 } // namespace blink 258 } // namespace blink
258 259
259 #endif // LayoutTheme_h 260 #endif // LayoutTheme_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698