OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
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 17 matching lines...) Expand all Loading... |
28 */ | 28 */ |
29 | 29 |
30 #ifndef ColorChooser_h | 30 #ifndef ColorChooser_h |
31 #define ColorChooser_h | 31 #define ColorChooser_h |
32 | 32 |
33 #include "core/CoreExport.h" | 33 #include "core/CoreExport.h" |
34 #include "platform/heap/Handle.h" | 34 #include "platform/heap/Handle.h" |
35 | 35 |
36 namespace blink { | 36 namespace blink { |
37 | 37 |
38 class AXObject; | 38 class AXObjectImpl; |
39 class Color; | 39 class Color; |
40 | 40 |
41 class CORE_EXPORT ColorChooser : public GarbageCollectedMixin { | 41 class CORE_EXPORT ColorChooser : public GarbageCollectedMixin { |
42 public: | 42 public: |
43 ColorChooser(); | 43 ColorChooser(); |
44 virtual ~ColorChooser(); | 44 virtual ~ColorChooser(); |
45 DEFINE_INLINE_VIRTUAL_TRACE() {} | 45 DEFINE_INLINE_VIRTUAL_TRACE() {} |
46 | 46 |
47 virtual void SetSelectedColor(const Color&) {} | 47 virtual void SetSelectedColor(const Color&) {} |
48 virtual void EndChooser() {} | 48 virtual void EndChooser() {} |
49 // Returns a root AXObject in the ColorChooser if it's available. | 49 // Returns a root AXObjectImpl in the ColorChooser if it's available. |
50 virtual AXObject* RootAXObject() = 0; | 50 virtual AXObjectImpl* RootAXObject() = 0; |
51 }; | 51 }; |
52 | 52 |
53 } // namespace blink | 53 } // namespace blink |
54 | 54 |
55 #endif // ColorChooser_h | 55 #endif // ColorChooser_h |
OLD | NEW |