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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/PaintProperties.h

Issue 1397583002: Implement the framework for a paint property hierarchy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Job insecurity: better tests, better comments, better names. Created 5 years, 2 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: third_party/WebKit/Source/platform/graphics/paint/PaintProperties.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintProperties.h b/third_party/WebKit/Source/platform/graphics/paint/PaintProperties.h
deleted file mode 100644
index 69a6651de7ed9dc39f562fcb2b79e711512dbbb6..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintProperties.h
+++ /dev/null
@@ -1,36 +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 PaintProperties_h
-#define PaintProperties_h
-
-#include <iosfwd>
-
-namespace blink {
-
-// The set of paint properties applying to a |PaintChunk|.
-// In particular, this does not mean properties like background-color, but
-// rather the hierarchy of transforms, clips, effects, etc. that apply to a
-// contiguous chunk of drawings.
-struct PaintProperties {
- // TODO(jbroman): Add actual properties.
-};
-
-inline bool operator==(const PaintProperties&, const PaintProperties&)
-{
- return true;
-}
-
-inline bool operator!=(const PaintProperties& a, const PaintProperties& b)
-{
- return !(a == b);
-}
-
-// Redeclared here to avoid ODR issues.
-// See platform/testing/PaintPrinters.h.
-void PrintTo(const PaintProperties&, std::ostream*);
-
-} // namespace blink
-
-#endif // PaintProperties_h

Powered by Google App Engine
This is Rietveld 408576698