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

Unified Diff: ui/compositor/paint_recorder.h

Issue 1423653005: Further plumb visual rect into cc:DisplayItemList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix clip recorder params in omnibox. Created 5 years, 1 month 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_context.cc ('k') | ui/compositor/paint_recorder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/paint_recorder.h
diff --git a/ui/compositor/paint_recorder.h b/ui/compositor/paint_recorder.h
index 39a687b75af38cee61c77e119be2d56be154d8f9..b733f8731e5fb738cc41d199bdf84ac4ffe00ec8 100644
--- a/ui/compositor/paint_recorder.h
+++ b/ui/compositor/paint_recorder.h
@@ -10,6 +10,7 @@
#include "skia/ext/refptr.h"
#include "ui/compositor/compositor_export.h"
#include "ui/gfx/canvas.h"
+#include "ui/gfx/geometry/rect.h"
namespace cc {
class DisplayItemList;
@@ -47,6 +48,7 @@ class COMPOSITOR_EXPORT PaintRecorder {
const PaintContext& context_;
gfx::Canvas canvas_;
PaintCache* cache_;
+ gfx::Rect bounds_in_layer_;
DISALLOW_COPY_AND_ASSIGN(PaintRecorder);
};
« no previous file with comments | « ui/compositor/paint_context.cc ('k') | ui/compositor/paint_recorder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698