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

Unified Diff: Source/core/rendering/style/UAStyleChange.h

Issue 895383002: Let StyleResolver figure out differences between UA style and resolved style. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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/layout/LayoutThemeChromiumMac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/style/UAStyleChange.h
diff --git a/Source/core/rendering/style/UAStyleChange.h b/Source/core/rendering/style/UAStyleChange.h
new file mode 100644
index 0000000000000000000000000000000000000000..d3461ae79ee5ed09a88864c255e0e93dd430de83
--- /dev/null
+++ b/Source/core/rendering/style/UAStyleChange.h
@@ -0,0 +1,26 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UAStyleChange_h
+#define UAStyleChange_h
+
+namespace blink {
+
+class UAStyleChange {
+public:
+ UAStyleChange(bool hasAppearance)
+ : hasAppearance(hasAppearance)
+ , backgroundChanged(false)
+ , borderChanged(false)
+ {
+ }
+
+ bool hasAppearance;
Timothy Loh 2015/02/06 00:20:29 m_ for members
+ bool backgroundChanged;
+ bool borderChanged;
+};
+
+} // namespace blink
+
+#endif // UAStyleChange_h
« no previous file with comments | « Source/core/layout/LayoutThemeChromiumMac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698