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

Unified Diff: ui/compositor/transform_recorder.h

Issue 2230513005: Move visual rect unioning between paired items to cc::DisplayItemList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review feedback. Created 4 years, 4 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 | « ui/compositor/paint_recorder.cc ('k') | ui/compositor/transform_recorder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/transform_recorder.h
diff --git a/ui/compositor/transform_recorder.h b/ui/compositor/transform_recorder.h
index c02738e8e16e5f27de6e8092840ccd789823d479..97c632be674740f05aca79789a6557ce52ce31e4 100644
--- a/ui/compositor/transform_recorder.h
+++ b/ui/compositor/transform_recorder.h
@@ -7,7 +7,6 @@
#include "base/macros.h"
#include "ui/compositor/compositor_export.h"
-#include "ui/gfx/geometry/rect.h"
namespace cc {
class DisplayItem;
@@ -15,7 +14,6 @@ class DisplayItemList;
}
namespace gfx {
-class Size;
class Transform;
}
@@ -31,14 +29,10 @@ class COMPOSITOR_EXPORT TransformRecorder {
explicit TransformRecorder(const PaintContext& context);
~TransformRecorder();
- // |size_in_context| is the size in the paint context's space surrounding
- // everything that's visible.
- void Transform(const gfx::Transform& transform,
- const gfx::Size& size_in_context);
+ void Transform(const gfx::Transform& transform);
private:
const PaintContext& context_;
- gfx::Rect bounds_in_layer_;
bool transformed_;
DISALLOW_COPY_AND_ASSIGN(TransformRecorder);
« no previous file with comments | « ui/compositor/paint_recorder.cc ('k') | ui/compositor/transform_recorder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698