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

Side by Side Diff: cc/layer_tree_host_impl.h

Issue 12077046: Plumb an overscroll callback form the compositor to the Android UI thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_LAYER_TREE_HOST_IMPL_H_ 5 #ifndef CC_LAYER_TREE_HOST_IMPL_H_
6 #define CC_LAYER_TREE_HOST_IMPL_H_ 6 #define CC_LAYER_TREE_HOST_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/time.h" 10 #include "base/time.h"
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 325
326 // In impl-side painting mode, inert tree with layers that can be recycled 326 // In impl-side painting mode, inert tree with layers that can be recycled
327 // by the next sync from the main thread. 327 // by the next sync from the main thread.
328 scoped_ptr<LayerTreeImpl> m_recycleTree; 328 scoped_ptr<LayerTreeImpl> m_recycleTree;
329 329
330 bool m_scrollDeltaIsInViewportSpace; 330 bool m_scrollDeltaIsInViewportSpace;
331 LayerTreeSettings m_settings; 331 LayerTreeSettings m_settings;
332 LayerTreeDebugState m_debugState; 332 LayerTreeDebugState m_debugState;
333 gfx::Size m_layoutViewportSize; 333 gfx::Size m_layoutViewportSize;
334 gfx::Size m_deviceViewportSize; 334 gfx::Size m_deviceViewportSize;
335 mutable gfx::Vector2dF m_pendingScrollDelta;
aelias_OOO_until_Jul13 2013/01/30 18:02:48 Call this "unused" for consistency, and shouldn't
335 float m_deviceScaleFactor; 336 float m_deviceScaleFactor;
336 bool m_visible; 337 bool m_visible;
337 ManagedMemoryPolicy m_managedMemoryPolicy; 338 ManagedMemoryPolicy m_managedMemoryPolicy;
338 339
339 bool m_pinchGestureActive; 340 bool m_pinchGestureActive;
340 gfx::Point m_previousPinchAnchor; 341 gfx::Point m_previousPinchAnchor;
341 342
342 scoped_ptr<TopControlsManager> m_topControlsManager; 343 scoped_ptr<TopControlsManager> m_topControlsManager;
343 344
344 scoped_ptr<PageScaleAnimation> m_pageScaleAnimation; 345 scoped_ptr<PageScaleAnimation> m_pageScaleAnimation;
(...skipping 19 matching lines...) Expand all
364 size_t m_lastSentMemoryUseBytes; 365 size_t m_lastSentMemoryUseBytes;
365 366
366 scoped_ptr<AnimationRegistrar> m_animationRegistrar; 367 scoped_ptr<AnimationRegistrar> m_animationRegistrar;
367 368
368 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 369 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
369 }; 370 };
370 371
371 } // namespace cc 372 } // namespace cc
372 373
373 #endif // CC_LAYER_TREE_HOST_IMPL_H_ 374 #endif // CC_LAYER_TREE_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698