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

Unified Diff: cc/layers/layer_impl.h

Issue 878413005: Finalize rename of LayerImpl scroll offset methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix perftest compile 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 | « no previous file | cc/layers/layer_impl_unittest.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 1545bb91c3049a433f10b4a296fe73448c6f1cbd..f46c16e15b8988ff9a7055769ab93d3a0551a506 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -422,14 +422,6 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
// initial scroll
gfx::Vector2dF ScrollBy(const gfx::Vector2dF& scroll);
- // TODO(aelias): Delete these three methods after doing a mass rename in
- // tests.
- gfx::ScrollOffset TotalScrollOffset() const { return CurrentScrollOffset(); }
- void SetScrollOffset(const gfx::ScrollOffset& scroll_offset) {
- PushScrollOffsetFromMainThread(scroll_offset);
- }
- gfx::ScrollOffset scroll_offset() const { return BaseScrollOffset(); }
-
void SetScrollClipLayer(int scroll_clip_layer_id);
LayerImpl* scroll_clip_layer() const { return scroll_clip_layer_; }
bool scrollable() const { return !!scroll_clip_layer_; }
« no previous file with comments | « no previous file | cc/layers/layer_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698