| 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 13 matching lines...) Expand all Loading... |
| 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef WebPagePopupImpl_h | 31 #ifndef WebPagePopupImpl_h |
| 32 #define WebPagePopupImpl_h | 32 #define WebPagePopupImpl_h |
| 33 | 33 |
| 34 #if ENABLE(PAGE_POPUP) | |
| 35 | |
| 36 #include "PageWidgetDelegate.h" | 34 #include "PageWidgetDelegate.h" |
| 37 #include "WebPagePopup.h" | 35 #include "WebPagePopup.h" |
| 38 #include "core/page/PagePopup.h" | 36 #include "core/page/PagePopup.h" |
| 39 #include <wtf/OwnPtr.h> | 37 #include <wtf/OwnPtr.h> |
| 40 #include <wtf/RefCounted.h> | 38 #include <wtf/RefCounted.h> |
| 41 | 39 |
| 42 namespace WebCore { | 40 namespace WebCore { |
| 43 class Page; | 41 class Page; |
| 44 class PagePopupClient; | 42 class PagePopupClient; |
| 45 class PlatformKeyboardEvent; | 43 class PlatformKeyboardEvent; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 OwnPtr<WebCore::Page> m_page; | 89 OwnPtr<WebCore::Page> m_page; |
| 92 OwnPtr<PagePopupChromeClient> m_chromeClient; | 90 OwnPtr<PagePopupChromeClient> m_chromeClient; |
| 93 WebCore::PagePopupClient* m_popupClient; | 91 WebCore::PagePopupClient* m_popupClient; |
| 94 bool m_closing; | 92 bool m_closing; |
| 95 | 93 |
| 96 friend class WebPagePopup; | 94 friend class WebPagePopup; |
| 97 friend class PagePopupChromeClient; | 95 friend class PagePopupChromeClient; |
| 98 }; | 96 }; |
| 99 | 97 |
| 100 } // namespace WebKit | 98 } // namespace WebKit |
| 101 #endif // ENABLE(PAGE_POPUP) | |
| 102 #endif // WebPagePopupImpl_h | 99 #endif // WebPagePopupImpl_h |
| OLD | NEW |