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

Unified Diff: cc/trees/occlusion.h

Issue 551463005: Revert of cc: Add occlusion checker as a fixed view of occlusion tracker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/trees/layer_tree_impl.cc ('k') | cc/trees/occlusion.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/occlusion.h
diff --git a/cc/trees/occlusion.h b/cc/trees/occlusion.h
deleted file mode 100644
index 982d7e81c59bc6f1d754df6d10d5c2f130263978..0000000000000000000000000000000000000000
--- a/cc/trees/occlusion.h
+++ /dev/null
@@ -1,36 +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 CC_TREES_OCCLUSION_H_
-#define CC_TREES_OCCLUSION_H_
-
-#include "base/basictypes.h"
-#include "cc/base/cc_export.h"
-#include "cc/base/simple_enclosed_region.h"
-#include "ui/gfx/transform.h"
-
-namespace gfx {
-class Rect;
-} // namespace gfx
-
-namespace cc {
-
-class CC_EXPORT Occlusion {
- public:
- Occlusion();
- Occlusion(const gfx::Transform& draw_transform,
- const SimpleEnclosedRegion& occlusion_from_outside_target,
- const SimpleEnclosedRegion& occlusion_from_inside_target);
-
- bool IsOccluded(const gfx::Rect& content_rect) const;
-
- private:
- gfx::Transform draw_transform_;
- SimpleEnclosedRegion occlusion_from_outside_target_;
- SimpleEnclosedRegion occlusion_from_inside_target_;
-};
-
-} // namespace cc
-
-#endif // CC_TREES_OCCLUSION_H_
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | cc/trees/occlusion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698