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

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

Issue 185633002: Adding monotonic only API to Blink's animation delegate interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adding BLINK_PLATFORM_EXPORT back in. Created 6 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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 282
283 blink::WebContentLayer* contentLayer() const { return m_layer.get(); } 283 blink::WebContentLayer* contentLayer() const { return m_layer.get(); }
284 284
285 static void registerContentsLayer(blink::WebLayer*); 285 static void registerContentsLayer(blink::WebLayer*);
286 static void unregisterContentsLayer(blink::WebLayer*); 286 static void unregisterContentsLayer(blink::WebLayer*);
287 287
288 // GraphicsContextPainter implementation. 288 // GraphicsContextPainter implementation.
289 virtual void paint(GraphicsContext&, const IntRect& clip) OVERRIDE; 289 virtual void paint(GraphicsContext&, const IntRect& clip) OVERRIDE;
290 290
291 // WebAnimationDelegate implementation. 291 // WebAnimationDelegate implementation.
292 virtual void notifyAnimationStarted(double wallClockTime, double monotonicTi me, blink::WebAnimation::TargetProperty) OVERRIDE; 292 virtual void notifyAnimationStarted(double monotonicTime, blink::WebAnimatio n::TargetProperty) OVERRIDE;
293 virtual void notifyAnimationFinished(double wallClockTime, double monotonicT ime, blink::WebAnimation::TargetProperty) OVERRIDE; 293 virtual void notifyAnimationFinished(double monotonicTime, blink::WebAnimati on::TargetProperty) OVERRIDE;
294 294
295 // WebLayerScrollClient implementation. 295 // WebLayerScrollClient implementation.
296 virtual void didScroll() OVERRIDE; 296 virtual void didScroll() OVERRIDE;
297 297
298 protected: 298 protected:
299 explicit GraphicsLayer(GraphicsLayerClient*); 299 explicit GraphicsLayer(GraphicsLayerClient*);
300 // GraphicsLayerFactoryChromium that wants to create a GraphicsLayer need to be friends. 300 // GraphicsLayerFactoryChromium that wants to create a GraphicsLayer need to be friends.
301 friend class blink::GraphicsLayerFactoryChromium; 301 friend class blink::GraphicsLayerFactoryChromium;
302 302
303 // Exposed for tests. 303 // Exposed for tests.
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 402
403 403
404 } // namespace WebCore 404 } // namespace WebCore
405 405
406 #ifndef NDEBUG 406 #ifndef NDEBUG
407 // Outside the WebCore namespace for ease of invocation from gdb. 407 // Outside the WebCore namespace for ease of invocation from gdb.
408 void PLATFORM_EXPORT showGraphicsLayerTree(const WebCore::GraphicsLayer*); 408 void PLATFORM_EXPORT showGraphicsLayerTree(const WebCore::GraphicsLayer*);
409 #endif 409 #endif
410 410
411 #endif // GraphicsLayer_h 411 #endif // GraphicsLayer_h
OLDNEW
« no previous file with comments | « Source/core/rendering/compositing/RenderLayerCompositor.h ('k') | Source/platform/graphics/GraphicsLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698