OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org> | 2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org> |
3 * Copyright (C) 2008, 2009, 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2008, 2009, 2012 Apple Inc. All rights reserved. |
4 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 10 matching lines...) Expand all Loading... |
21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | 21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 */ | 26 */ |
27 | 27 |
28 #include "config.h" | 28 #include "config.h" |
29 #include "EmptyClients.h" | 29 #include "EmptyClients.h" |
30 | 30 |
31 #include "DateTimeChooser.h" | |
32 #include "DocumentLoader.h" | 31 #include "DocumentLoader.h" |
33 #include "FileChooser.h" | |
34 #include "FormState.h" | 32 #include "FormState.h" |
35 #include "Frame.h" | 33 #include "Frame.h" |
36 #include "FrameNetworkingContext.h" | 34 #include "FrameNetworkingContext.h" |
37 #include "HTMLFormElement.h" | 35 #include "HTMLFormElement.h" |
| 36 #include "core/platform/DateTimeChooser.h" |
| 37 #include "core/platform/FileChooser.h" |
38 | 38 |
39 #if ENABLE(INPUT_TYPE_COLOR) | 39 #if ENABLE(INPUT_TYPE_COLOR) |
40 #include "ColorChooser.h" | 40 #include "core/platform/ColorChooser.h" |
41 #endif | 41 #endif |
42 | 42 |
43 namespace WebCore { | 43 namespace WebCore { |
44 | 44 |
45 void fillWithEmptyClients(Page::PageClients& pageClients) | 45 void fillWithEmptyClients(Page::PageClients& pageClients) |
46 { | 46 { |
47 static ChromeClient* dummyChromeClient = adoptPtr(new EmptyChromeClient).lea
kPtr(); | 47 static ChromeClient* dummyChromeClient = adoptPtr(new EmptyChromeClient).lea
kPtr(); |
48 pageClients.chromeClient = dummyChromeClient; | 48 pageClients.chromeClient = dummyChromeClient; |
49 | 49 |
50 static ContextMenuClient* dummyContextMenuClient = adoptPtr(new EmptyContext
MenuClient).leakPtr(); | 50 static ContextMenuClient* dummyContextMenuClient = adoptPtr(new EmptyContext
MenuClient).leakPtr(); |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 PassOwnPtr<ContextMenu> EmptyContextMenuClient::customizeMenu(PassOwnPtr<Context
Menu>) | 163 PassOwnPtr<ContextMenu> EmptyContextMenuClient::customizeMenu(PassOwnPtr<Context
Menu>) |
164 { | 164 { |
165 return nullptr; | 165 return nullptr; |
166 } | 166 } |
167 | 167 |
168 void EmptyFrameLoaderClient::didRequestAutocomplete(PassRefPtr<FormState>) | 168 void EmptyFrameLoaderClient::didRequestAutocomplete(PassRefPtr<FormState>) |
169 { | 169 { |
170 } | 170 } |
171 | 171 |
172 } | 172 } |
OLD | NEW |