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 26 matching lines...) Expand all Loading... |
37 #include "platform/heap/Handle.h" | 37 #include "platform/heap/Handle.h" |
38 | 38 |
39 namespace blink { | 39 namespace blink { |
40 | 40 |
41 class PagePopup; | 41 class PagePopup; |
42 class PagePopupClient; | 42 class PagePopupClient; |
43 class PagePopupController; | 43 class PagePopupController; |
44 | 44 |
45 class CORE_EXPORT DOMWindowPagePopup final : public NoBaseWillBeGarbageCollected
<DOMWindowPagePopup>, public WillBeHeapSupplement<LocalDOMWindow> { | 45 class CORE_EXPORT DOMWindowPagePopup final : public NoBaseWillBeGarbageCollected
<DOMWindowPagePopup>, public WillBeHeapSupplement<LocalDOMWindow> { |
46 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DOMWindowPagePopup); | 46 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DOMWindowPagePopup); |
| 47 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(DOMWindowPagePopup); |
47 public: | 48 public: |
48 static PagePopupController* pagePopupController(DOMWindow&); | 49 static PagePopupController* pagePopupController(DOMWindow&); |
49 static void install(LocalDOMWindow&, PagePopup&, PagePopupClient*); | 50 static void install(LocalDOMWindow&, PagePopup&, PagePopupClient*); |
50 static void uninstall(LocalDOMWindow&); | 51 static void uninstall(LocalDOMWindow&); |
51 DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(DOMWindowPagePopup); | 52 DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(DOMWindowPagePopup); |
52 | 53 |
53 DECLARE_TRACE(); | 54 DECLARE_TRACE(); |
54 | 55 |
55 private: | 56 private: |
56 DOMWindowPagePopup(PagePopup&, PagePopupClient*); | 57 DOMWindowPagePopup(PagePopup&, PagePopupClient*); |
57 static const char* supplementName(); | 58 static const char* supplementName(); |
58 | 59 |
59 RefPtrWillBeMember<PagePopupController> m_controller; | 60 RefPtrWillBeMember<PagePopupController> m_controller; |
60 }; | 61 }; |
61 | 62 |
62 } | 63 } |
63 #endif | 64 #endif |
OLD | NEW |