OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011, Google Inc. All rights reserved. | 2 * Copyright (C) 2011, Google Inc. All rights reserved. |
3 * Copyright (C) 2012, Samsung Electronics. All rights reserved. | 3 * Copyright (C) 2012, Samsung Electronics. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions 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 12 matching lines...) Expand all Loading... |
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH | 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH |
24 * DAMAGE. | 24 * DAMAGE. |
25 */ | 25 */ |
26 | 26 |
27 #ifndef NavigatorContentUtils_h | 27 #ifndef NavigatorContentUtils_h |
28 #define NavigatorContentUtils_h | 28 #define NavigatorContentUtils_h |
29 | 29 |
30 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h" | 30 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h" |
31 #include "platform/Supplementable.h" | 31 #include "platform/Supplementable.h" |
32 #include "platform/heap/Handle.h" | 32 #include "platform/heap/Handle.h" |
| 33 #include "wtf/OwnPtr.h" |
33 #include "wtf/text/WTFString.h" | 34 #include "wtf/text/WTFString.h" |
34 | 35 |
35 namespace WebCore { | 36 namespace WebCore { |
36 | 37 |
37 class ExceptionState; | 38 class ExceptionState; |
38 class Navigator; | 39 class Navigator; |
39 class Page; | 40 class Page; |
40 | 41 |
41 class NavigatorContentUtils FINAL : public NoBaseWillBeGarbageCollectedFinalized
<NavigatorContentUtils>, public WillBeHeapSupplement<Page> { | 42 class NavigatorContentUtils FINAL : public NoBaseWillBeGarbageCollectedFinalized
<NavigatorContentUtils>, public WillBeHeapSupplement<Page> { |
42 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorContentUtils); | 43 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorContentUtils); |
(...skipping 19 matching lines...) Expand all Loading... |
62 { } | 63 { } |
63 | 64 |
64 NavigatorContentUtilsClient* client() { return m_client.get(); } | 65 NavigatorContentUtilsClient* client() { return m_client.get(); } |
65 | 66 |
66 OwnPtr<NavigatorContentUtilsClient> m_client; | 67 OwnPtr<NavigatorContentUtilsClient> m_client; |
67 }; | 68 }; |
68 | 69 |
69 } // namespace WebCore | 70 } // namespace WebCore |
70 | 71 |
71 #endif // NavigatorContentUtils_h | 72 #endif // NavigatorContentUtils_h |
OLD | NEW |