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

Unified Diff: sky/engine/core/rendering/style/StyleWillChangeData.h

Issue 1229273004: Remove Animations and Transitions. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 5 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
Index: sky/engine/core/rendering/style/StyleWillChangeData.h
diff --git a/sky/engine/core/rendering/style/StyleWillChangeData.h b/sky/engine/core/rendering/style/StyleWillChangeData.h
deleted file mode 100644
index aea43cb898b452b18e6f624ab57d2a25611ff54b..0000000000000000000000000000000000000000
--- a/sky/engine/core/rendering/style/StyleWillChangeData.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2014 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 SKY_ENGINE_CORE_RENDERING_STYLE_STYLEWILLCHANGEDATA_H_
-#define SKY_ENGINE_CORE_RENDERING_STYLE_STYLEWILLCHANGEDATA_H_
-
-#include "gen/sky/core/CSSPropertyNames.h"
-#include "gen/sky/core/CSSValueKeywords.h"
-#include "sky/engine/wtf/PassRefPtr.h"
-#include "sky/engine/wtf/RefCounted.h"
-#include "sky/engine/wtf/Vector.h"
-
-namespace blink {
-
-class StyleWillChangeData : public RefCounted<StyleWillChangeData> {
-public:
- static PassRefPtr<StyleWillChangeData> create() { return adoptRef(new StyleWillChangeData); }
- PassRefPtr<StyleWillChangeData> copy() const { return adoptRef(new StyleWillChangeData(*this)); }
-
- bool operator==(const StyleWillChangeData& o) const
- {
- return m_properties == o.m_properties && m_contents == o.m_contents;
- }
-
- bool operator!=(const StyleWillChangeData& o) const
- {
- return !(*this == o);
- }
-
- Vector<CSSPropertyID> m_properties;
- unsigned m_contents : 1;
-
-private:
- StyleWillChangeData();
- StyleWillChangeData(const StyleWillChangeData&);
-};
-
-} // namespace blink
-
-#endif // SKY_ENGINE_CORE_RENDERING_STYLE_STYLEWILLCHANGEDATA_H_
« no previous file with comments | « sky/engine/core/rendering/style/StyleRareNonInheritedData.cpp ('k') | sky/engine/core/rendering/style/StyleWillChangeData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698