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

Unified Diff: Source/core/rendering/style/RenderStyle.cpp

Issue 14280004: Revert removal of events (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 | « Source/core/rendering/style/RenderStyle.h ('k') | Source/core/rendering/style/StyleRareInheritedData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/style/RenderStyle.cpp
diff --git a/Source/core/rendering/style/RenderStyle.cpp b/Source/core/rendering/style/RenderStyle.cpp
index 5839a7753f6c3a3f37835e7b801cbb763562fbbd..a175e3fe7f3a2fbf6fd30b46b23d257384d7bb23 100644
--- a/Source/core/rendering/style/RenderStyle.cpp
+++ b/Source/core/rendering/style/RenderStyle.cpp
@@ -36,7 +36,9 @@
#include "StyleImage.h"
#include "StyleInheritedData.h"
#include "StyleResolver.h"
+#if ENABLE(TOUCH_EVENTS)
#include "RenderTheme.h"
+#endif
#include "TextAutosizer.h"
#include "WebCoreMemoryInstrumentation.h"
#include <wtf/MathExtras.h>
@@ -1523,10 +1525,12 @@ TextEmphasisMark RenderStyle::textEmphasisMark() const
return TextEmphasisMarkSesame;
}
+#if ENABLE(TOUCH_EVENTS)
Color RenderStyle::initialTapHighlightColor()
{
return RenderTheme::tapHighlightColor();
}
+#endif
LayoutBoxExtent RenderStyle::imageOutsets(const NinePieceImage& image) const
{
« no previous file with comments | « Source/core/rendering/style/RenderStyle.h ('k') | Source/core/rendering/style/StyleRareInheritedData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698