| OLD | NEW |
| 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 <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 return touch_event_handler_region_; | 391 return touch_event_handler_region_; |
| 392 } | 392 } |
| 393 | 393 |
| 394 void SetDrawCheckerboardForMissingTiles(bool checkerboard) { | 394 void SetDrawCheckerboardForMissingTiles(bool checkerboard) { |
| 395 draw_checkerboard_for_missing_tiles_ = checkerboard; | 395 draw_checkerboard_for_missing_tiles_ = checkerboard; |
| 396 } | 396 } |
| 397 bool DrawCheckerboardForMissingTiles() const; | 397 bool DrawCheckerboardForMissingTiles() const; |
| 398 | 398 |
| 399 InputHandler::ScrollStatus TryScroll( | 399 InputHandler::ScrollStatus TryScroll( |
| 400 gfx::PointF screen_space_point, | 400 gfx::PointF screen_space_point, |
| 401 InputHandler::ScrollInputType type) const; | 401 InputHandler::ScrollInputType type, |
| 402 bool main_frame_is_scrollable) const; |
| 402 | 403 |
| 403 void SetDoubleSided(bool double_sided); | 404 void SetDoubleSided(bool double_sided); |
| 404 bool double_sided() const { return double_sided_; } | 405 bool double_sided() const { return double_sided_; } |
| 405 | 406 |
| 406 void SetTransform(const gfx::Transform& transform); | 407 void SetTransform(const gfx::Transform& transform); |
| 407 const gfx::Transform& transform() const { return transform_; } | 408 const gfx::Transform& transform() const { return transform_; } |
| 408 bool TransformIsAnimating() const; | 409 bool TransformIsAnimating() const; |
| 409 bool TransformIsAnimatingOnImplOnly() const; | 410 bool TransformIsAnimatingOnImplOnly() const; |
| 410 | 411 |
| 411 // Note this rect is in layer space (not content space). | 412 // Note this rect is in layer space (not content space). |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 620 // Group of properties that need to be computed based on the layer tree | 621 // Group of properties that need to be computed based on the layer tree |
| 621 // hierarchy before layers can be drawn. | 622 // hierarchy before layers can be drawn. |
| 622 DrawProperties<LayerImpl, RenderSurfaceImpl> draw_properties_; | 623 DrawProperties<LayerImpl, RenderSurfaceImpl> draw_properties_; |
| 623 | 624 |
| 624 DISALLOW_COPY_AND_ASSIGN(LayerImpl); | 625 DISALLOW_COPY_AND_ASSIGN(LayerImpl); |
| 625 }; | 626 }; |
| 626 | 627 |
| 627 } // namespace cc | 628 } // namespace cc |
| 628 | 629 |
| 629 #endif // CC_LAYERS_LAYER_IMPL_H_ | 630 #endif // CC_LAYERS_LAYER_IMPL_H_ |
| OLD | NEW |