Chromium Code Reviews| 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 20 matching lines...) Expand all Loading... | |
| 31 #ifndef DOMWindowPagePopup_h | 31 #ifndef DOMWindowPagePopup_h |
| 32 #define DOMWindowPagePopup_h | 32 #define DOMWindowPagePopup_h |
| 33 | 33 |
| 34 #include "core/CoreExport.h" | 34 #include "core/CoreExport.h" |
| 35 #include "core/frame/LocalDOMWindow.h" | 35 #include "core/frame/LocalDOMWindow.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 PagePopupClient; | 42 class PagePopupClient; |
| 42 class PagePopupController; | 43 class PagePopupController; |
| 43 | 44 |
| 44 class CORE_EXPORT DOMWindowPagePopup final : public NoBaseWillBeGarbageCollected <DOMWindowPagePopup>, public WillBeHeapSupplement<LocalDOMWindow> { | 45 class CORE_EXPORT DOMWindowPagePopup final : public NoBaseWillBeGarbageCollected <DOMWindowPagePopup>, public WillBeHeapSupplement<LocalDOMWindow> { |
| 45 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DOMWindowPagePopup); | 46 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DOMWindowPagePopup); |
| 46 public: | 47 public: |
| 47 static PagePopupController* pagePopupController(DOMWindow&); | 48 static PagePopupController* pagePopupController(DOMWindow&); |
| 48 static void install(LocalDOMWindow&, PagePopupClient*); | 49 static void install(LocalDOMWindow&, PagePopup*, PagePopupClient*); |
| 49 static void uninstall(LocalDOMWindow&); | 50 static void uninstall(LocalDOMWindow&); |
| 50 DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(DOMWindowPagePopup); | 51 DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(DOMWindowPagePopup); |
| 51 | 52 |
| 52 DECLARE_TRACE(); | 53 DECLARE_TRACE(); |
| 53 | 54 |
| 54 private: | 55 private: |
| 55 explicit DOMWindowPagePopup(PagePopupClient*); | 56 explicit DOMWindowPagePopup(PagePopup*, PagePopupClient*); |
|
tkent
2015/04/14 11:09:32
|explicit| is unnecessary.
keishi
2015/04/14 11:17:45
Done.
| |
| 56 static const char* supplementName(); | 57 static const char* supplementName(); |
| 57 | 58 |
| 58 RefPtrWillBeMember<PagePopupController> m_controller; | 59 RefPtrWillBeMember<PagePopupController> m_controller; |
| 59 }; | 60 }; |
| 60 | 61 |
| 61 } | 62 } |
| 62 #endif | 63 #endif |
| OLD | NEW |