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

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

Issue 2163113002: Remove DebugRedFill (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ChunkId
Patch Set: Created 4 years, 5 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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 void didUpdateMainThreadScrollingReasons() override; 243 void didUpdateMainThreadScrollingReasons() override;
244 244
245 PaintController& getPaintController(); 245 PaintController& getPaintController();
246 246
247 // Exposed for tests. 247 // Exposed for tests.
248 WebLayer* contentsLayer() const { return m_contentsLayer; } 248 WebLayer* contentsLayer() const { return m_contentsLayer; }
249 249
250 void setElementId(const CompositorElementId&); 250 void setElementId(const CompositorElementId&);
251 void setCompositorMutableProperties(uint32_t); 251 void setCompositorMutableProperties(uint32_t);
252 252
253 static void setDrawDebugRedFillForTesting(bool);
254 ContentLayerDelegate* contentLayerDelegateForTesting() const { return m_cont entLayerDelegate.get(); } 253 ContentLayerDelegate* contentLayerDelegateForTesting() const { return m_cont entLayerDelegate.get(); }
255 254
256 // DisplayItemClient methods 255 // DisplayItemClient methods
257 String debugName() const final { return m_client->debugName(this); } 256 String debugName() const final { return m_client->debugName(this); }
258 LayoutRect visualRect() const override; 257 LayoutRect visualRect() const override;
259 258
260 void setHasWillChangeTransformHint(bool); 259 void setHasWillChangeTransformHint(bool);
261 260
262 protected: 261 protected:
263 String debugName(cc::Layer*) const; 262 String debugName(cc::Layer*) const;
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 }; 379 };
381 380
382 } // namespace blink 381 } // namespace blink
383 382
384 #ifndef NDEBUG 383 #ifndef NDEBUG
385 // Outside the blink namespace for ease of invocation from gdb. 384 // Outside the blink namespace for ease of invocation from gdb.
386 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); 385 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*);
387 #endif 386 #endif
388 387
389 #endif // GraphicsLayer_h 388 #endif // GraphicsLayer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698