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

Side by Side Diff: third_party/WebKit/public/platform/WebLayer.h

Issue 2410513002: Plumb preferred raster scale for background images from Blink to cc layers. (Closed)
Patch Set: none Created 4 years, 2 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google 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 * 7 *
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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 virtual const cc::Layer* ccLayer() const = 0; 212 virtual const cc::Layer* ccLayer() const = 0;
213 virtual cc::Layer* ccLayer() = 0; 213 virtual cc::Layer* ccLayer() = 0;
214 214
215 virtual void setElementId(const cc::ElementId&) = 0; 215 virtual void setElementId(const cc::ElementId&) = 0;
216 virtual cc::ElementId elementId() const = 0; 216 virtual cc::ElementId elementId() const = 0;
217 217
218 virtual void setCompositorMutableProperties(uint32_t) = 0; 218 virtual void setCompositorMutableProperties(uint32_t) = 0;
219 virtual uint32_t compositorMutableProperties() const = 0; 219 virtual uint32_t compositorMutableProperties() const = 0;
220 220
221 virtual void setHasWillChangeTransformHint(bool) = 0; 221 virtual void setHasWillChangeTransformHint(bool) = 0;
222 virtual void setPreferredRasterScale(float) = 0;
223 virtual void clearPreferredRasterScale() = 0;
222 }; 224 };
223 225
224 } // namespace blink 226 } // namespace blink
225 227
226 #endif // WebLayer_h 228 #endif // WebLayer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698