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 24 matching lines...) Expand all Loading... |
35 #include "core/frame/LocalFrame.h" | 35 #include "core/frame/LocalFrame.h" |
36 #include "platform/Supplementable.h" | 36 #include "platform/Supplementable.h" |
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 PagePopupSupplement final : public GarbageCollected<PagePopupS
upplement>, public HeapSupplement<LocalFrame> { | 45 class CORE_EXPORT PagePopupSupplement final : public GarbageCollected<PagePopupS
upplement>, public Supplement<LocalFrame> { |
46 USING_GARBAGE_COLLECTED_MIXIN(PagePopupSupplement); | 46 USING_GARBAGE_COLLECTED_MIXIN(PagePopupSupplement); |
47 public: | 47 public: |
48 static PagePopupController* pagePopupController(LocalFrame&); | 48 static PagePopupController* pagePopupController(LocalFrame&); |
49 static void install(LocalFrame&, PagePopup&, PagePopupClient*); | 49 static void install(LocalFrame&, PagePopup&, PagePopupClient*); |
50 static void uninstall(LocalFrame&); | 50 static void uninstall(LocalFrame&); |
51 DECLARE_TRACE(); | 51 DECLARE_TRACE(); |
52 | 52 |
53 private: | 53 private: |
54 PagePopupSupplement(PagePopup&, PagePopupClient*); | 54 PagePopupSupplement(PagePopup&, PagePopupClient*); |
55 static const char* supplementName(); | 55 static const char* supplementName(); |
56 | 56 |
57 Member<PagePopupController> m_controller; | 57 Member<PagePopupController> m_controller; |
58 }; | 58 }; |
59 | 59 |
60 } // namespace blink | 60 } // namespace blink |
61 #endif | 61 #endif |
OLD | NEW |