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

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

Issue 1587073011: Plumb NotifyAnimationAborted from the compositor to blink animation delegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: initialize aborted_ in unittest Created 4 years, 11 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 241
242 static void registerContentsLayer(WebLayer*); 242 static void registerContentsLayer(WebLayer*);
243 static void unregisterContentsLayer(WebLayer*); 243 static void unregisterContentsLayer(WebLayer*);
244 244
245 IntRect interestRect(); 245 IntRect interestRect();
246 void paint(const IntRect* interestRect, GraphicsContext::DisabledMode = Grap hicsContext::NothingDisabled); 246 void paint(const IntRect* interestRect, GraphicsContext::DisabledMode = Grap hicsContext::NothingDisabled);
247 247
248 // WebCompositorAnimationDelegate implementation. 248 // WebCompositorAnimationDelegate implementation.
249 void notifyAnimationStarted(double monotonicTime, int group) override; 249 void notifyAnimationStarted(double monotonicTime, int group) override;
250 void notifyAnimationFinished(double monotonicTime, int group) override; 250 void notifyAnimationFinished(double monotonicTime, int group) override;
251 void notifyAnimationAborted(double monotonicTime, int group) override;
251 252
252 // WebLayerScrollClient implementation. 253 // WebLayerScrollClient implementation.
253 void didScroll() override; 254 void didScroll() override;
254 255
255 // cc::LayerClient implementation. 256 // cc::LayerClient implementation.
256 scoped_refptr<base::trace_event::ConvertableToTraceFormat> TakeDebugInfo(cc: :Layer*) override; 257 scoped_refptr<base::trace_event::ConvertableToTraceFormat> TakeDebugInfo(cc: :Layer*) override;
257 258
258 PaintController& paintController(); 259 PaintController& paintController();
259 260
260 // Exposed for tests. 261 // Exposed for tests.
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 }; 387 };
387 388
388 } // namespace blink 389 } // namespace blink
389 390
390 #ifndef NDEBUG 391 #ifndef NDEBUG
391 // Outside the blink namespace for ease of invocation from gdb. 392 // Outside the blink namespace for ease of invocation from gdb.
392 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); 393 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*);
393 #endif 394 #endif
394 395
395 #endif // GraphicsLayer_h 396 #endif // GraphicsLayer_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/animation/Animation.h ('k') | third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698