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

Unified Diff: ui/compositor/compositing_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/clip_recorder.cc ('k') | ui/compositor/compositing_recorder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositing_recorder.h
diff --git a/ui/compositor/compositing_recorder.h b/ui/compositor/compositing_recorder.h
index 86267d0db940fbce2cc856b7f780c30026238ef1..78817f9a01fa40e5840a43dd63b06a5c1da66a7a 100644
--- a/ui/compositor/compositing_recorder.h
+++ b/ui/compositor/compositing_recorder.h
@@ -9,11 +9,6 @@
#include "base/macros.h"
#include "ui/compositor/compositor_export.h"
-#include "ui/gfx/geometry/rect.h"
-
-namespace gfx {
-class Size;
-}
namespace ui {
class PaintContext;
@@ -33,14 +28,12 @@ class COMPOSITOR_EXPORT CompositingRecorder {
// only be used in cases where the text is known to be rendered opaquely on an
// opaque background before compositing.
CompositingRecorder(const PaintContext& context,
- const gfx::Size& size_in_context,
uint8_t alpha,
bool lcd_text_requires_opaque_layer);
~CompositingRecorder();
private:
const PaintContext& context_;
- const gfx::Rect bounds_in_layer_;
bool saved_;
DISALLOW_COPY_AND_ASSIGN(CompositingRecorder);
« no previous file with comments | « ui/compositor/clip_recorder.cc ('k') | ui/compositor/compositing_recorder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698