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

Unified Diff: cc/resources/clip_path_display_item.h

Issue 1144693002: cc: Move files out of cc/resources/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resources: android Created 5 years, 7 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 | « cc/resources/clip_display_item.cc ('k') | cc/resources/clip_path_display_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/clip_path_display_item.h
diff --git a/cc/resources/clip_path_display_item.h b/cc/resources/clip_path_display_item.h
deleted file mode 100644
index 9f6842c6759c91809dcbb40af90d5c1ff997c786..0000000000000000000000000000000000000000
--- a/cc/resources/clip_path_display_item.h
+++ /dev/null
@@ -1,50 +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 CC_RESOURCES_CLIP_PATH_DISPLAY_ITEM_H_
-#define CC_RESOURCES_CLIP_PATH_DISPLAY_ITEM_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "cc/base/cc_export.h"
-#include "cc/resources/display_item.h"
-#include "third_party/skia/include/core/SkPath.h"
-#include "third_party/skia/include/core/SkRegion.h"
-
-class SkCanvas;
-class SkDrawPictureCallback;
-
-namespace cc {
-
-class CC_EXPORT ClipPathDisplayItem : public DisplayItem {
- public:
- ClipPathDisplayItem();
- ~ClipPathDisplayItem() override;
-
- void SetNew(const SkPath& path, SkRegion::Op clip_op, bool antialias);
-
- void Raster(SkCanvas* canvas, SkDrawPictureCallback* callback) const override;
- void AsValueInto(base::trace_event::TracedValue* array) const override;
-
- private:
- SkPath clip_path_;
- SkRegion::Op clip_op_;
- bool antialias_;
-};
-
-class CC_EXPORT EndClipPathDisplayItem : public DisplayItem {
- public:
- EndClipPathDisplayItem();
- ~EndClipPathDisplayItem() override;
-
- static scoped_ptr<EndClipPathDisplayItem> Create() {
- return make_scoped_ptr(new EndClipPathDisplayItem());
- }
-
- void Raster(SkCanvas* canvas, SkDrawPictureCallback* callback) const override;
- void AsValueInto(base::trace_event::TracedValue* array) const override;
-};
-
-} // namespace cc
-
-#endif // CC_RESOURCES_CLIP_PATH_DISPLAY_ITEM_H_
« no previous file with comments | « cc/resources/clip_display_item.cc ('k') | cc/resources/clip_path_display_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698