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 17 matching lines...) Expand all Loading... |
28 #include "config.h" | 28 #include "config.h" |
29 #include "core/loader/EmptyClients.h" | 29 #include "core/loader/EmptyClients.h" |
30 | 30 |
31 #include "core/html/HTMLFormElement.h" | 31 #include "core/html/HTMLFormElement.h" |
32 #include "core/loader/DocumentLoader.h" | 32 #include "core/loader/DocumentLoader.h" |
33 #include "core/loader/FormState.h" | 33 #include "core/loader/FormState.h" |
34 #include "core/frame/Frame.h" | 34 #include "core/frame/Frame.h" |
35 #include "core/platform/ColorChooser.h" | 35 #include "core/platform/ColorChooser.h" |
36 #include "core/platform/DateTimeChooser.h" | 36 #include "core/platform/DateTimeChooser.h" |
37 #include "platform/FileChooser.h" | 37 #include "platform/FileChooser.h" |
| 38 #include "public/platform/WebServiceWorkerProvider.h" |
| 39 #include "public/platform/WebServiceWorkerProviderClient.h" |
38 | 40 |
39 namespace WebCore { | 41 namespace WebCore { |
40 | 42 |
41 void fillWithEmptyClients(Page::PageClients& pageClients) | 43 void fillWithEmptyClients(Page::PageClients& pageClients) |
42 { | 44 { |
43 static ChromeClient* dummyChromeClient = adoptPtr(new EmptyChromeClient).lea
kPtr(); | 45 static ChromeClient* dummyChromeClient = adoptPtr(new EmptyChromeClient).lea
kPtr(); |
44 pageClients.chromeClient = dummyChromeClient; | 46 pageClients.chromeClient = dummyChromeClient; |
45 | 47 |
46 static ContextMenuClient* dummyContextMenuClient = adoptPtr(new EmptyContext
MenuClient).leakPtr(); | 48 static ContextMenuClient* dummyContextMenuClient = adoptPtr(new EmptyContext
MenuClient).leakPtr(); |
47 pageClients.contextMenuClient = dummyContextMenuClient; | 49 pageClients.contextMenuClient = dummyContextMenuClient; |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 } | 135 } |
134 | 136 |
135 void EmptyEditorClient::registerRedoStep(PassRefPtr<UndoStep>) | 137 void EmptyEditorClient::registerRedoStep(PassRefPtr<UndoStep>) |
136 { | 138 { |
137 } | 139 } |
138 | 140 |
139 void EmptyFrameLoaderClient::didRequestAutocomplete(PassRefPtr<FormState>) | 141 void EmptyFrameLoaderClient::didRequestAutocomplete(PassRefPtr<FormState>) |
140 { | 142 { |
141 } | 143 } |
142 | 144 |
| 145 PassOwnPtr<WebKit::WebServiceWorkerProvider> EmptyFrameLoaderClient::createServi
ceWorkerProvider(PassOwnPtr<WebKit::WebServiceWorkerProviderClient>) |
| 146 { |
| 147 return nullptr; |
143 } | 148 } |
| 149 |
| 150 } |
OLD | NEW |