| 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 18 matching lines...) Expand all Loading... |
| 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/storage/StorageNamespace.h" | 35 #include "core/storage/StorageNamespace.h" |
| 36 #include "platform/ColorChooser.h" | 36 #include "platform/ColorChooser.h" |
| 37 #include "platform/DateTimeChooser.h" | 37 #include "platform/DateTimeChooser.h" |
| 38 #include "platform/FileChooser.h" | 38 #include "platform/FileChooser.h" |
| 39 #include "public/platform/WebApplicationCacheHost.h" |
| 39 #include "public/platform/WebServiceWorkerProvider.h" | 40 #include "public/platform/WebServiceWorkerProvider.h" |
| 40 #include "public/platform/WebServiceWorkerProviderClient.h" | 41 #include "public/platform/WebServiceWorkerProviderClient.h" |
| 41 | 42 |
| 42 namespace WebCore { | 43 namespace WebCore { |
| 43 | 44 |
| 44 void fillWithEmptyClients(Page::PageClients& pageClients) | 45 void fillWithEmptyClients(Page::PageClients& pageClients) |
| 45 { | 46 { |
| 46 static ChromeClient* dummyChromeClient = adoptPtr(new EmptyChromeClient).lea
kPtr(); | 47 static ChromeClient* dummyChromeClient = adoptPtr(new EmptyChromeClient).lea
kPtr(); |
| 47 pageClients.chromeClient = dummyChromeClient; | 48 pageClients.chromeClient = dummyChromeClient; |
| 48 | 49 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 | 144 |
| 144 void EmptyFrameLoaderClient::didRequestAutocomplete(PassRefPtr<FormState>) | 145 void EmptyFrameLoaderClient::didRequestAutocomplete(PassRefPtr<FormState>) |
| 145 { | 146 { |
| 146 } | 147 } |
| 147 | 148 |
| 148 PassOwnPtr<blink::WebServiceWorkerProvider> EmptyFrameLoaderClient::createServic
eWorkerProvider(PassOwnPtr<blink::WebServiceWorkerProviderClient>) | 149 PassOwnPtr<blink::WebServiceWorkerProvider> EmptyFrameLoaderClient::createServic
eWorkerProvider(PassOwnPtr<blink::WebServiceWorkerProviderClient>) |
| 149 { | 150 { |
| 150 return nullptr; | 151 return nullptr; |
| 151 } | 152 } |
| 152 | 153 |
| 154 PassOwnPtr<blink::WebApplicationCacheHost> EmptyFrameLoaderClient::createApplica
tionCacheHost(blink::WebApplicationCacheHostClient*) |
| 155 { |
| 156 return nullptr; |
| 157 } |
| 158 |
| 153 PassOwnPtr<StorageNamespace> EmptyStorageClient::createSessionStorageNamespace() | 159 PassOwnPtr<StorageNamespace> EmptyStorageClient::createSessionStorageNamespace() |
| 154 { | 160 { |
| 155 return nullptr; | 161 return nullptr; |
| 156 } | 162 } |
| 157 | 163 |
| 158 } | 164 } |
| OLD | NEW |