OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google 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 are met: | 5 * modification, are permitted provided that the following conditions are met: |
6 * | 6 * |
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 16 matching lines...) Expand all Loading... |
27 #define FontFaceSetForEachCallback_h | 27 #define FontFaceSetForEachCallback_h |
28 | 28 |
29 #include "bindings/core/v8/ScriptValue.h" | 29 #include "bindings/core/v8/ScriptValue.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 FontFace; | 34 class FontFace; |
35 class FontFaceSet; | 35 class FontFaceSet; |
36 | 36 |
37 class FontFaceSetForEachCallback : public NoBaseWillBeGarbageCollectedFinalized<
FontFaceSetForEachCallback> { | 37 class FontFaceSetForEachCallback : public GarbageCollectedFinalized<FontFaceSetF
orEachCallback> { |
38 public: | 38 public: |
39 virtual ~FontFaceSetForEachCallback() { } | 39 virtual ~FontFaceSetForEachCallback() { } |
40 virtual void trace(Visitor*) { } | 40 virtual void trace(Visitor*) { } |
41 virtual bool handleItem(ScriptValue thisValue, FontFace*, FontFace*, FontFac
eSet*) = 0; | 41 virtual bool handleItem(ScriptValue thisValue, FontFace*, FontFace*, FontFac
eSet*) = 0; |
42 virtual bool handleItem(FontFace*, FontFace*, FontFaceSet*) = 0; | 42 virtual bool handleItem(FontFace*, FontFace*, FontFaceSet*) = 0; |
43 }; | 43 }; |
44 | 44 |
45 } // namespace blink | 45 } // namespace blink |
46 | 46 |
47 #endif // FontFaceSetForEachCallback_h | 47 #endif // FontFaceSetForEachCallback_h |
OLD | NEW |