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

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

Issue 22567004: Ignore should-scroll-on-main-thread if main frame is not scrollable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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
« no previous file with comments | « no previous file | 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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « no previous file | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698