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

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

Issue 1405993008: compositor-worker: plumb element id and mutable properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years 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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 virtual void setForceRenderSurface(bool) = 0; 240 virtual void setForceRenderSurface(bool) = 0;
241 241
242 // True if the layer is not part of a tree attached to a WebLayerTreeView. 242 // True if the layer is not part of a tree attached to a WebLayerTreeView.
243 virtual bool isOrphan() const = 0; 243 virtual bool isOrphan() const = 0;
244 244
245 // Sets the cc-side layer client. 245 // Sets the cc-side layer client.
246 virtual void setLayerClient(cc::LayerClient*) = 0; 246 virtual void setLayerClient(cc::LayerClient*) = 0;
247 247
248 // Gets the underlying cc layer. 248 // Gets the underlying cc layer.
249 virtual const cc::Layer* ccLayer() const = 0; 249 virtual const cc::Layer* ccLayer() const = 0;
250
251 virtual void setElementId(uint64_t) = 0;
252 virtual uint64_t elementId() const = 0;
253
254 virtual void setCompositorMutableProperties(uint32_t) = 0;
255 virtual uint32_t compositorMutableProperties() const = 0;
250 }; 256 };
251 257
252 } // namespace blink 258 } // namespace blink
253 259
254 #endif // WebLayer_h 260 #endif // WebLayer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698