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

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

Issue 1717283003: tracing: Make ConvertableToTraceFormat move-only scoped_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 244
245 // WebCompositorAnimationDelegate implementation. 245 // WebCompositorAnimationDelegate implementation.
246 void notifyAnimationStarted(double monotonicTime, int group) override; 246 void notifyAnimationStarted(double monotonicTime, int group) override;
247 void notifyAnimationFinished(double monotonicTime, int group) override; 247 void notifyAnimationFinished(double monotonicTime, int group) override;
248 void notifyAnimationAborted(double monotonicTime, int group) override; 248 void notifyAnimationAborted(double monotonicTime, int group) override;
249 249
250 // WebLayerScrollClient implementation. 250 // WebLayerScrollClient implementation.
251 void didScroll() override; 251 void didScroll() override;
252 252
253 // cc::LayerClient implementation. 253 // cc::LayerClient implementation.
254 scoped_refptr<base::trace_event::ConvertableToTraceFormat> TakeDebugInfo(cc: :Layer*) override; 254 scoped_ptr<base::trace_event::ConvertableToTraceFormat> TakeDebugInfo(cc::La yer*) override;
255 255
256 PaintController& paintController(); 256 PaintController& paintController();
257 257
258 // Exposed for tests. 258 // Exposed for tests.
259 WebLayer* contentsLayer() const { return m_contentsLayer; } 259 WebLayer* contentsLayer() const { return m_contentsLayer; }
260 260
261 void setElementId(uint64_t); 261 void setElementId(uint64_t);
262 void setCompositorMutableProperties(uint32_t); 262 void setCompositorMutableProperties(uint32_t);
263 263
264 static void setDrawDebugRedFillForTesting(bool); 264 static void setDrawDebugRedFillForTesting(bool);
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 }; 382 };
383 383
384 } // namespace blink 384 } // namespace blink
385 385
386 #ifndef NDEBUG 386 #ifndef NDEBUG
387 // Outside the blink namespace for ease of invocation from gdb. 387 // Outside the blink namespace for ease of invocation from gdb.
388 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); 388 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*);
389 #endif 389 #endif
390 390
391 #endif // GraphicsLayer_h 391 #endif // GraphicsLayer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698