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

Unified Diff: Source/core/layout/style/AuthorStyleInfo.h

Issue 1045723009: Move core/layout/style to core/style (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 5 years, 9 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/style/AppliedTextDecoration.cpp ('k') | Source/core/layout/style/BasicShapes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/style/AuthorStyleInfo.h
diff --git a/Source/core/layout/style/AuthorStyleInfo.h b/Source/core/layout/style/AuthorStyleInfo.h
deleted file mode 100644
index 290892ac44917fb556ab653786f8b17945ade170..0000000000000000000000000000000000000000
--- a/Source/core/layout/style/AuthorStyleInfo.h
+++ /dev/null
@@ -1,32 +0,0 @@
-// 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 AuthorStyleInfo_h
-#define AuthorStyleInfo_h
-
-namespace blink {
-
-// This class knows whether the author specified a background and/or border on
-// some element. Some control elements use this information to figure out if the
-// element is sufficiently styled by the author to disable the native look.
-class AuthorStyleInfo {
-public:
- AuthorStyleInfo() : AuthorStyleInfo(false, false) { }
- AuthorStyleInfo(bool specifiesBackground, bool specifiesBorder)
- : m_specifiesBackground(specifiesBackground)
- , m_specifiesBorder(specifiesBorder)
- {
- }
-
- bool specifiesBackground() const { return m_specifiesBackground; };
- bool specifiesBorder() const { return m_specifiesBorder; };
-
-private:
- bool m_specifiesBackground;
- bool m_specifiesBorder;
-};
-
-} // namespace blink
-
-#endif // AuthorStyleInfo_h
« no previous file with comments | « Source/core/layout/style/AppliedTextDecoration.cpp ('k') | Source/core/layout/style/BasicShapes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698