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

Side by Side Diff: Source/platform/graphics/GraphicsLayer.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) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 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 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 void setBackfaceVisibility(bool visible); 169 void setBackfaceVisibility(bool visible);
170 170
171 float opacity() const { return m_opacity; } 171 float opacity() const { return m_opacity; }
172 void setOpacity(float); 172 void setOpacity(float);
173 173
174 void setBlendMode(WebBlendMode); 174 void setBlendMode(WebBlendMode);
175 void setScrollBlocksOn(WebScrollBlocksOn); 175 void setScrollBlocksOn(WebScrollBlocksOn);
176 void setIsRootForIsolatedGroup(bool); 176 void setIsRootForIsolatedGroup(bool);
177 177
178 void setFilters(const FilterOperations&); 178 void setFilters(const FilterOperations&);
179 void setBackdropFilters(const FilterOperations&);
179 180
180 void setFilterQuality(SkFilterQuality); 181 void setFilterQuality(SkFilterQuality);
181 182
182 // Some GraphicsLayers paint only the foreground or the background content 183 // Some GraphicsLayers paint only the foreground or the background content
183 void setPaintingPhase(GraphicsLayerPaintingPhase); 184 void setPaintingPhase(GraphicsLayerPaintingPhase);
184 185
185 void setNeedsDisplay(); 186 void setNeedsDisplay();
186 // Mark the given rect (in layer coords) as needing display. Never goes deep . 187 // Mark the given rect (in layer coords) as needing display. Never goes deep .
187 void setNeedsDisplayInRect(const IntRect&, PaintInvalidationReason); 188 void setNeedsDisplayInRect(const IntRect&, PaintInvalidationReason);
188 189
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 }; 361 };
361 362
362 } // namespace blink 363 } // namespace blink
363 364
364 #ifndef NDEBUG 365 #ifndef NDEBUG
365 // Outside the blink namespace for ease of invocation from gdb. 366 // Outside the blink namespace for ease of invocation from gdb.
366 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); 367 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*);
367 #endif 368 #endif
368 369
369 #endif // GraphicsLayer_h 370 #endif // GraphicsLayer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698