OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 18 matching lines...) Expand all Loading... | |
29 */ | 29 */ |
30 | 30 |
31 #ifndef DateTimeChooserClient_h | 31 #ifndef DateTimeChooserClient_h |
32 #define DateTimeChooserClient_h | 32 #define DateTimeChooserClient_h |
33 | 33 |
34 #include "platform/PlatformExport.h" | 34 #include "platform/PlatformExport.h" |
35 #include "wtf/text/WTFString.h" | 35 #include "wtf/text/WTFString.h" |
36 | 36 |
37 namespace WebCore { | 37 namespace WebCore { |
38 | 38 |
39 class PLATFORM_EXPORT DateTimeChooserClient { | 39 class PLATFORM_EXPORT DateTimeChooserClient : public WillBeGarbageCollectedMixin { |
40 DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(DateTimeChooserClient); | |
tkent
2014/06/05 04:27:56
This needs corresponding DEFINE_EMPTY_VIRTUAL_DEST
keishi
2014/06/05 04:54:58
Done.
| |
40 public: | 41 public: |
41 virtual ~DateTimeChooserClient(); | |
42 | |
43 // Called when user picked a value. | 42 // Called when user picked a value. |
44 virtual void didChooseValue(const String&) = 0; | 43 virtual void didChooseValue(const String&) = 0; |
45 // Called when user picked a value. | 44 // Called when user picked a value. |
46 virtual void didChooseValue(double) = 0; | 45 virtual void didChooseValue(double) = 0; |
47 // Called when chooser has ended. | 46 // Called when chooser has ended. |
48 virtual void didEndChooser() = 0; | 47 virtual void didEndChooser() = 0; |
48 | |
49 virtual void trace(Visitor*) { } | |
49 }; | 50 }; |
50 | 51 |
51 } // namespace WebCore | 52 } // namespace WebCore |
52 #endif // DateTimeChooserClient_h | 53 #endif // DateTimeChooserClient_h |
OLD | NEW |