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

Unified Diff: ui/views/view.h

Issue 2849953004: SV Test
Patch Set: Created 3 years, 8 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/gfx/canvas.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view.h
diff --git a/ui/views/view.h b/ui/views/view.h
index d1f69707fda4a74ca022439077464b8205df2fb0..6071a361b46e36141fed37275c73e24260f74263 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -1304,10 +1304,12 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// Returns the offset that should be used when constructing the paint context
// for this view.
- gfx::Vector2d GetPaintContextOffset() const;
+ gfx::Vector2d GetPaintContextOffset(const gfx::Rect& pixel_bounds) const;
// Adjusts the transform of |recorder| in advance of painting.
- void SetupTransformRecorderForPainting(ui::TransformRecorder* recorder) const;
+ void SetupTransformRecorderForPainting(
+ ui::TransformRecorder* recorder,
+ gfx::Vector2d offset_from_parent) const;
// Recursively calls the painting method |func| on all non-layered children,
// in Z order.
« no previous file with comments | « ui/gfx/canvas.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698