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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayer.h

Issue 1405993008: compositor-worker: plumb element id and mutable properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/WebMutable/WebCompositorMutable/g Created 5 years, 1 month 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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 void notifyAnimationFinished(double monotonicTime, int group) override; 253 void notifyAnimationFinished(double monotonicTime, int group) override;
254 254
255 // WebLayerScrollClient implementation. 255 // WebLayerScrollClient implementation.
256 void didScroll() override; 256 void didScroll() override;
257 257
258 PaintController* paintController() override; 258 PaintController* paintController() override;
259 259
260 // Exposed for tests. 260 // Exposed for tests.
261 WebLayer* contentsLayer() const { return m_contentsLayer; } 261 WebLayer* contentsLayer() const { return m_contentsLayer; }
262 262
263 void setElementId(uint64_t);
264 void setMutableProperties(uint32_t);
265
263 static void setDrawDebugRedFillForTesting(bool); 266 static void setDrawDebugRedFillForTesting(bool);
264 ContentLayerDelegate* contentLayerDelegateForTesting() const { return m_cont entLayerDelegate.get(); } 267 ContentLayerDelegate* contentLayerDelegateForTesting() const { return m_cont entLayerDelegate.get(); }
265 268
266 #ifndef NDEBUG 269 #ifndef NDEBUG
267 DisplayItemClient displayItemClient() const { return toDisplayItemClient(thi s); } 270 DisplayItemClient displayItemClient() const { return toDisplayItemClient(thi s); }
268 String debugName() const { return m_client->debugName(this) + " debug red fi ll"; } 271 String debugName() const { return m_client->debugName(this) + " debug red fi ll"; }
269 #endif 272 #endif
270 273
271 protected: 274 protected:
272 String debugName(WebLayer*) const; 275 String debugName(WebLayer*) const;
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 }; 380 };
378 381
379 } // namespace blink 382 } // namespace blink
380 383
381 #ifndef NDEBUG 384 #ifndef NDEBUG
382 // Outside the blink namespace for ease of invocation from gdb. 385 // Outside the blink namespace for ease of invocation from gdb.
383 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); 386 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*);
384 #endif 387 #endif
385 388
386 #endif // GraphicsLayer_h 389 #endif // GraphicsLayer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698