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

Side by Side Diff: Source/core/paint/DeprecatedPaintLayer.h

Issue 1299323005: blink: Add backdrop-filter support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: one more Created 5 years, 3 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) 2003, 2009, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Intel Corporation. All rights reserved. 3 * Copyright (C) 2013 Intel Corporation. All rights reserved.
4 * 4 *
5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
6 * 6 *
7 * Other contributors: 7 * Other contributors:
8 * Robert O'Callahan <roc+@cs.cmu.edu> 8 * Robert O'Callahan <roc+@cs.cmu.edu>
9 * David Baron <dbaron@fas.harvard.edu> 9 * David Baron <dbaron@fas.harvard.edu>
10 * Christian Biesinger <cbiesinger@web.de> 10 * Christian Biesinger <cbiesinger@web.de>
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 bool paintsWithTransform(GlobalPaintFlags) const; 346 bool paintsWithTransform(GlobalPaintFlags) const;
347 347
348 // Returns true if background phase is painted opaque in the given rect. 348 // Returns true if background phase is painted opaque in the given rect.
349 // The query rect is given in local coordinates. 349 // The query rect is given in local coordinates.
350 bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect&) const; 350 bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect&) const;
351 351
352 bool containsDirtyOverlayScrollbars() const { return m_containsDirtyOverlayS crollbars; } 352 bool containsDirtyOverlayScrollbars() const { return m_containsDirtyOverlayS crollbars; }
353 void setContainsDirtyOverlayScrollbars(bool dirtyScrollbars) { m_containsDir tyOverlayScrollbars = dirtyScrollbars; } 353 void setContainsDirtyOverlayScrollbars(bool dirtyScrollbars) { m_containsDir tyOverlayScrollbars = dirtyScrollbars; }
354 354
355 FilterOperations computeFilterOperations(const ComputedStyle&); 355 FilterOperations computeFilterOperations(const ComputedStyle&);
356 FilterOperations computeBackdropFilterOperations(const ComputedStyle&);
356 bool paintsWithFilters() const; 357 bool paintsWithFilters() const;
358 bool paintsWithBackdropFilters() const;
357 FilterEffectBuilder* filterEffectBuilder() const 359 FilterEffectBuilder* filterEffectBuilder() const
358 { 360 {
359 DeprecatedPaintLayerFilterInfo* filterInfo = this->filterInfo(); 361 DeprecatedPaintLayerFilterInfo* filterInfo = this->filterInfo();
360 return filterInfo ? filterInfo->builder() : 0; 362 return filterInfo ? filterInfo->builder() : 0;
361 } 363 }
362 364
363 DeprecatedPaintLayerFilterInfo* filterInfo() const { return hasFilterInfo() ? DeprecatedPaintLayerFilterInfo::filterInfoForLayer(this) : 0; } 365 DeprecatedPaintLayerFilterInfo* filterInfo() const { return hasFilterInfo() ? DeprecatedPaintLayerFilterInfo::filterInfoForLayer(this) : 0; }
364 DeprecatedPaintLayerFilterInfo* ensureFilterInfo() { return DeprecatedPaintL ayerFilterInfo::createFilterInfoForLayerIfNeeded(this); } 366 DeprecatedPaintLayerFilterInfo* ensureFilterInfo() { return DeprecatedPaintL ayerFilterInfo::createFilterInfoForLayerIfNeeded(this); }
365 void removeFilterInfoIfNeeded() 367 void removeFilterInfoIfNeeded()
366 { 368 {
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 721
720 } // namespace blink 722 } // namespace blink
721 723
722 #ifndef NDEBUG 724 #ifndef NDEBUG
723 // Outside the WebCore namespace for ease of invocation from gdb. 725 // Outside the WebCore namespace for ease of invocation from gdb.
724 void showLayerTree(const blink::DeprecatedPaintLayer*); 726 void showLayerTree(const blink::DeprecatedPaintLayer*);
725 void showLayerTree(const blink::LayoutObject*); 727 void showLayerTree(const blink::LayoutObject*);
726 #endif 728 #endif
727 729
728 #endif // Layer_h 730 #endif // Layer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698