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 17 matching lines...) Expand all Loading... |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef DateTimeChooser_h | 31 #ifndef DateTimeChooser_h |
32 #define DateTimeChooser_h | 32 #define DateTimeChooser_h |
33 | 33 |
34 #include "core/CoreExport.h" | 34 #include "core/CoreExport.h" |
35 #include "platform/geometry/IntRect.h" | 35 #include "platform/geometry/IntRect.h" |
36 #include "platform/heap/Handle.h" | 36 #include "platform/heap/Handle.h" |
37 #include "wtf/Allocator.h" | 37 #include "wtf/Allocator.h" |
38 #include "wtf/RefCounted.h" | |
39 #include "wtf/text/WTFString.h" | 38 #include "wtf/text/WTFString.h" |
40 | 39 |
41 namespace blink { | 40 namespace blink { |
42 | 41 |
43 class AXObject; | 42 class AXObject; |
44 | 43 |
45 struct DateTimeSuggestion { | 44 struct DateTimeSuggestion { |
46 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); | 45 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
47 double value; | 46 double value; |
48 String localizedValue; | 47 String localizedValue; |
(...skipping 28 matching lines...) Expand all Loading... |
77 | 76 |
78 virtual void endChooser() = 0; | 77 virtual void endChooser() = 0; |
79 // Returns a root AXObject in the DateTimeChooser if it's available. | 78 // Returns a root AXObject in the DateTimeChooser if it's available. |
80 virtual AXObject* rootAXObject() = 0; | 79 virtual AXObject* rootAXObject() = 0; |
81 | 80 |
82 DEFINE_INLINE_VIRTUAL_TRACE() { } | 81 DEFINE_INLINE_VIRTUAL_TRACE() { } |
83 }; | 82 }; |
84 | 83 |
85 } // namespace blink | 84 } // namespace blink |
86 #endif // DateTimeChooser_h | 85 #endif // DateTimeChooser_h |
OLD | NEW |