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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 18 matching lines...) Expand all
29 #include "platform/PlatformExport.h" 29 #include "platform/PlatformExport.h"
30 #include "platform/heap/Handle.h" 30 #include "platform/heap/Handle.h"
31 31
32 namespace blink { 32 namespace blink {
33 33
34 class Image; 34 class Image;
35 class IntRect; 35 class IntRect;
36 36
37 // Interface for notification about changes to an image, including decoding, 37 // Interface for notification about changes to an image, including decoding,
38 // drawing, and animating. 38 // drawing, and animating.
39 class PLATFORM_EXPORT ImageObserver : public WillBeGarbageCollectedMixin { 39 class PLATFORM_EXPORT ImageObserver : public GarbageCollectedMixin {
40 protected: 40 protected:
41 virtual ~ImageObserver(); 41 virtual ~ImageObserver();
42 public: 42 public:
43 virtual void decodedSizeChanged(const Image*, int delta) = 0; 43 virtual void decodedSizeChanged(const Image*, int delta) = 0;
44 virtual void didDraw(const Image*) = 0; 44 virtual void didDraw(const Image*) = 0;
45 45
46 virtual bool shouldPauseAnimation(const Image*) = 0; 46 virtual bool shouldPauseAnimation(const Image*) = 0;
47 virtual void animationAdvanced(const Image*) = 0; 47 virtual void animationAdvanced(const Image*) = 0;
48 48
49 virtual void changedInRect(const Image*, const IntRect&) = 0; 49 virtual void changedInRect(const Image*, const IntRect&) = 0;
50 50
51 DEFINE_INLINE_VIRTUAL_TRACE() { } 51 DEFINE_INLINE_VIRTUAL_TRACE() { }
52 }; 52 };
53 53
54 } // namespace blink 54 } // namespace blink
55 55
56 #endif 56 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/Image.h ('k') | third_party/WebKit/Source/platform/graphics/filters/FEBlend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698