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 * 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 13 matching lines...) Expand all Loading... |
24 */ | 24 */ |
25 | 25 |
26 #ifndef DOMWindowProperty_h | 26 #ifndef DOMWindowProperty_h |
27 #define DOMWindowProperty_h | 27 #define DOMWindowProperty_h |
28 | 28 |
29 #include "core/CoreExport.h" | 29 #include "core/CoreExport.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 LocalDOMWindow; | |
35 class LocalFrame; | 34 class LocalFrame; |
36 | 35 |
37 class CORE_EXPORT DOMWindowProperty : public GarbageCollectedMixin { | 36 class CORE_EXPORT DOMWindowProperty : public GarbageCollectedMixin { |
38 public: | 37 public: |
39 explicit DOMWindowProperty(LocalFrame*); | 38 explicit DOMWindowProperty(LocalFrame*); |
40 | 39 |
41 virtual void frameDestroyed(); | 40 virtual void frameDestroyed(); |
42 | 41 |
43 LocalFrame* frame() const { return m_frame; } | 42 LocalFrame* frame() const { return m_frame; } |
44 | 43 |
45 DECLARE_VIRTUAL_TRACE(); | 44 DECLARE_VIRTUAL_TRACE(); |
46 | 45 |
47 private: | 46 private: |
48 Member<LocalFrame> m_frame; | 47 Member<LocalFrame> m_frame; |
49 }; | 48 }; |
50 | 49 |
51 } // namespace blink | 50 } // namespace blink |
52 | 51 |
53 #endif // DOMWindowProperty_h | 52 #endif // DOMWindowProperty_h |
OLD | NEW |