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

Unified Diff: cc/layers/layer_impl.h

Issue 888743003: Rename ScrollOffsetFractionalPart to ScrollCompensationAdjustment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/layers/layer.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index 9f7eadc5fe0ac1191a7b051ddd2e6b68a3e5683e..883f8244e3c9baf2b7b909f0cb538ab1eb43e3a9 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -401,11 +401,11 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
void SetScrollDelta(const gfx::Vector2dF& scroll_delta);
gfx::Vector2dF ScrollDelta() const;
- void SetMainScrollOffsetFractionalPart(const gfx::Vector2dF& scroll_offset) {
- main_scroll_offset_fractional_part_ = scroll_offset;
+ void SetScrollCompensationAdjustment(const gfx::Vector2dF& scroll_offset) {
+ scroll_compensation_adjustment_ = scroll_offset;
}
- gfx::Vector2dF MainScrollOffsetFractionalPart() const {
- return main_scroll_offset_fractional_part_;
+ gfx::Vector2dF ScrollCompensationAdjustment() const {
+ return scroll_compensation_adjustment_;
}
gfx::ScrollOffset TotalScrollOffset() const;
@@ -682,7 +682,7 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
gfx::Vector2dF sent_scroll_delta_;
gfx::ScrollOffset last_scroll_offset_;
- gfx::Vector2dF main_scroll_offset_fractional_part_;
+ gfx::Vector2dF scroll_compensation_adjustment_;
int num_descendants_that_draw_content_;
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698