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 #include "config.h" | 31 #include "config.h" |
32 #include "WebPagePopupImpl.h" | 32 #include "WebPagePopupImpl.h" |
33 | 33 |
34 #include "ContextFeatures.h" | |
35 #include "PageWidgetDelegate.h" | 34 #include "PageWidgetDelegate.h" |
36 #include "WebCursorInfo.h" | 35 #include "WebCursorInfo.h" |
37 #include "WebInputEventConversion.h" | 36 #include "WebInputEventConversion.h" |
38 #include "WebPagePopup.h" | 37 #include "WebPagePopup.h" |
39 #include "WebSettingsImpl.h" | 38 #include "WebSettingsImpl.h" |
40 #include "WebViewClient.h" | 39 #include "WebViewClient.h" |
41 #include "WebViewImpl.h" | 40 #include "WebViewImpl.h" |
42 #include "WebWidgetClient.h" | 41 #include "WebWidgetClient.h" |
| 42 #include "core/dom/ContextFeatures.h" |
43 #include "core/loader/DocumentLoader.h" | 43 #include "core/loader/DocumentLoader.h" |
44 #include "core/loader/EmptyClients.h" | 44 #include "core/loader/EmptyClients.h" |
45 #include "core/page/Chrome.h" | 45 #include "core/page/Chrome.h" |
46 #include "core/page/DOMWindowPagePopup.h" | 46 #include "core/page/DOMWindowPagePopup.h" |
47 #include "core/page/EventHandler.h" | 47 #include "core/page/EventHandler.h" |
48 #include "core/page/FocusController.h" | 48 #include "core/page/FocusController.h" |
49 #include "core/page/FrameView.h" | 49 #include "core/page/FrameView.h" |
50 #include "core/page/Page.h" | 50 #include "core/page/Page.h" |
51 #include "core/page/PagePopupClient.h" | 51 #include "core/page/PagePopupClient.h" |
52 #include "core/page/Settings.h" | 52 #include "core/page/Settings.h" |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 // We need them because the closing operation is asynchronous and the widget | 363 // We need them because the closing operation is asynchronous and the widget |
364 // can be closed while the WebViewImpl is unaware of it. | 364 // can be closed while the WebViewImpl is unaware of it. |
365 return adoptRef(new WebPagePopupImpl(client)).leakRef(); | 365 return adoptRef(new WebPagePopupImpl(client)).leakRef(); |
366 #else | 366 #else |
367 UNUSED_PARAM(client); | 367 UNUSED_PARAM(client); |
368 return 0; | 368 return 0; |
369 #endif | 369 #endif |
370 } | 370 } |
371 | 371 |
372 } // namespace WebKit | 372 } // namespace WebKit |
OLD | NEW |