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

Side by Side Diff: cc/layers/layer_impl.h

Issue 2881653002: Remove Layer{Impl}::TransformIsAnimating. (Closed)
Patch Set: Sync to head. Created 3 years, 7 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
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_LAYERS_LAYER_IMPL_H_ 5 #ifndef CC_LAYERS_LAYER_IMPL_H_
6 #define CC_LAYERS_LAYER_IMPL_H_ 6 #define CC_LAYERS_LAYER_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 return non_fast_scrollable_region_; 328 return non_fast_scrollable_region_;
329 } 329 }
330 330
331 void SetTouchEventHandlerRegion(const Region& region) { 331 void SetTouchEventHandlerRegion(const Region& region) {
332 touch_event_handler_region_ = region; 332 touch_event_handler_region_ = region;
333 } 333 }
334 const Region& touch_event_handler_region() const { 334 const Region& touch_event_handler_region() const {
335 return touch_event_handler_region_; 335 return touch_event_handler_region_;
336 } 336 }
337 337
338 bool TransformIsAnimating() const;
339 bool HasPotentiallyRunningTransformAnimation() const; 338 bool HasPotentiallyRunningTransformAnimation() const;
340 339
341 bool HasFilterAnimationThatInflatesBounds() const; 340 bool HasFilterAnimationThatInflatesBounds() const;
342 bool HasTransformAnimationThatInflatesBounds() const; 341 bool HasTransformAnimationThatInflatesBounds() const;
343 bool HasAnimationThatInflatesBounds() const; 342 bool HasAnimationThatInflatesBounds() const;
344 343
345 bool FilterAnimationBoundsForBox(const gfx::BoxF& box, 344 bool FilterAnimationBoundsForBox(const gfx::BoxF& box,
346 gfx::BoxF* bounds) const; 345 gfx::BoxF* bounds) const;
347 bool TransformAnimationBoundsForBox(const gfx::BoxF& box, 346 bool TransformAnimationBoundsForBox(const gfx::BoxF& box,
348 gfx::BoxF* bounds) const; 347 gfx::BoxF* bounds) const;
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 bool needs_show_scrollbars_ : 1; 577 bool needs_show_scrollbars_ : 1;
579 578
580 bool raster_even_if_not_in_rsll_ : 1; 579 bool raster_even_if_not_in_rsll_ : 1;
581 580
582 DISALLOW_COPY_AND_ASSIGN(LayerImpl); 581 DISALLOW_COPY_AND_ASSIGN(LayerImpl);
583 }; 582 };
584 583
585 } // namespace cc 584 } // namespace cc
586 585
587 #endif // CC_LAYERS_LAYER_IMPL_H_ 586 #endif // CC_LAYERS_LAYER_IMPL_H_
OLDNEW
« 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