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

Side by Side Diff: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.h

Issue 2769793002: Implement CSS: scroll-boundary-behavior (Closed)
Patch Set: update the tests Created 3 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2009, 2010, 2011 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 ->ScrollCornerAndResizerRect() 422 ->ScrollCornerAndResizerRect()
423 .IsEmpty(); 423 .IsEmpty();
424 } 424 }
425 bool UpdateScrollingLayers(bool scrolling_layers); 425 bool UpdateScrollingLayers(bool scrolling_layers);
426 void UpdateScrollParent(const PaintLayer*); 426 void UpdateScrollParent(const PaintLayer*);
427 void UpdateClipParent(const PaintLayer* scroll_parent); 427 void UpdateClipParent(const PaintLayer* scroll_parent);
428 bool UpdateSquashingLayers(bool needs_squashing_layers); 428 bool UpdateSquashingLayers(bool needs_squashing_layers);
429 void UpdateDrawsContent(); 429 void UpdateDrawsContent();
430 void UpdateChildrenTransform(); 430 void UpdateChildrenTransform();
431 void UpdateCompositedBounds(); 431 void UpdateCompositedBounds();
432 void UpdateScrollBoundaryBehavior();
432 void RegisterScrollingLayers(); 433 void RegisterScrollingLayers();
433 434
434 // Also sets subpixelAccumulation on the layer. 435 // Also sets subpixelAccumulation on the layer.
435 void ComputeBoundsOfOwningLayer( 436 void ComputeBoundsOfOwningLayer(
436 const PaintLayer* composited_ancestor, 437 const PaintLayer* composited_ancestor,
437 IntRect& local_compositing_bounds, 438 IntRect& local_compositing_bounds,
438 IntRect& compositing_bounds_relative_to_composited_ancestor, 439 IntRect& compositing_bounds_relative_to_composited_ancestor,
439 LayoutPoint& offset_from_composited_ancestor, 440 LayoutPoint& offset_from_composited_ancestor,
440 IntPoint& snapped_offset_from_composited_ancestor); 441 IntPoint& snapped_offset_from_composited_ancestor);
441 442
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 unsigned background_paints_onto_graphics_layer_ : 1; 714 unsigned background_paints_onto_graphics_layer_ : 1;
714 715
715 bool draws_background_onto_content_layer_; 716 bool draws_background_onto_content_layer_;
716 717
717 friend class CompositedLayerMappingTest; 718 friend class CompositedLayerMappingTest;
718 }; 719 };
719 720
720 } // namespace blink 721 } // namespace blink
721 722
722 #endif // CompositedLayerMapping_h 723 #endif // CompositedLayerMapping_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698