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

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

Issue 2769793002: Implement CSS: scroll-boundary-behavior (Closed)
Patch Set: Update WebScrollBoundaryBehavior. 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
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 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 ->ScrollCornerAndResizerRect() 418 ->ScrollCornerAndResizerRect()
419 .IsEmpty(); 419 .IsEmpty();
420 } 420 }
421 bool UpdateScrollingLayers(bool scrolling_layers); 421 bool UpdateScrollingLayers(bool scrolling_layers);
422 void UpdateScrollParent(const PaintLayer*); 422 void UpdateScrollParent(const PaintLayer*);
423 void UpdateClipParent(const PaintLayer* scroll_parent); 423 void UpdateClipParent(const PaintLayer* scroll_parent);
424 bool UpdateSquashingLayers(bool needs_squashing_layers); 424 bool UpdateSquashingLayers(bool needs_squashing_layers);
425 void UpdateDrawsContent(); 425 void UpdateDrawsContent();
426 void UpdateChildrenTransform(); 426 void UpdateChildrenTransform();
427 void UpdateCompositedBounds(); 427 void UpdateCompositedBounds();
428 void UpdateScrollBoundaryBehavior();
428 void RegisterScrollingLayers(); 429 void RegisterScrollingLayers();
429 430
430 // Also sets subpixelAccumulation on the layer. 431 // Also sets subpixelAccumulation on the layer.
431 void ComputeBoundsOfOwningLayer( 432 void ComputeBoundsOfOwningLayer(
432 const PaintLayer* composited_ancestor, 433 const PaintLayer* composited_ancestor,
433 IntRect& local_compositing_bounds, 434 IntRect& local_compositing_bounds,
434 IntRect& compositing_bounds_relative_to_composited_ancestor, 435 IntRect& compositing_bounds_relative_to_composited_ancestor,
435 LayoutPoint& offset_from_composited_ancestor, 436 LayoutPoint& offset_from_composited_ancestor,
436 IntPoint& snapped_offset_from_composited_ancestor); 437 IntPoint& snapped_offset_from_composited_ancestor);
437 438
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
707 unsigned background_paints_onto_graphics_layer_ : 1; 708 unsigned background_paints_onto_graphics_layer_ : 1;
708 709
709 bool draws_background_onto_content_layer_; 710 bool draws_background_onto_content_layer_;
710 711
711 friend class CompositedLayerMappingTest; 712 friend class CompositedLayerMappingTest;
712 }; 713 };
713 714
714 } // namespace blink 715 } // namespace blink
715 716
716 #endif // CompositedLayerMapping_h 717 #endif // CompositedLayerMapping_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698