| 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 19 matching lines...) Expand all Loading... |
| 30 #include <memory> | 30 #include <memory> |
| 31 #include "core/frame/ContentSettingsClient.h" | 31 #include "core/frame/ContentSettingsClient.h" |
| 32 #include "core/frame/LocalFrame.h" | 32 #include "core/frame/LocalFrame.h" |
| 33 #include "core/frame/VisualViewport.h" | 33 #include "core/frame/VisualViewport.h" |
| 34 #include "core/html/HTMLFormElement.h" | 34 #include "core/html/HTMLFormElement.h" |
| 35 #include "core/html/forms/ColorChooser.h" | 35 #include "core/html/forms/ColorChooser.h" |
| 36 #include "core/html/forms/DateTimeChooser.h" | 36 #include "core/html/forms/DateTimeChooser.h" |
| 37 #include "core/loader/DocumentLoader.h" | 37 #include "core/loader/DocumentLoader.h" |
| 38 #include "platform/FileChooser.h" | 38 #include "platform/FileChooser.h" |
| 39 #include "platform/FrameViewBase.h" | 39 #include "platform/FrameViewBase.h" |
| 40 #include "platform/wtf/PtrUtil.h" |
| 40 #include "public/platform/Platform.h" | 41 #include "public/platform/Platform.h" |
| 41 #include "public/platform/WebApplicationCacheHost.h" | 42 #include "public/platform/WebApplicationCacheHost.h" |
| 42 #include "public/platform/WebMediaPlayer.h" | 43 #include "public/platform/WebMediaPlayer.h" |
| 43 #include "public/platform/modules/serviceworker/WebServiceWorkerProvider.h" | 44 #include "public/platform/modules/serviceworker/WebServiceWorkerProvider.h" |
| 44 #include "public/platform/modules/serviceworker/WebServiceWorkerProviderClient.h
" | 45 #include "public/platform/modules/serviceworker/WebServiceWorkerProviderClient.h
" |
| 45 #include "wtf/PtrUtil.h" | |
| 46 | 46 |
| 47 namespace blink { | 47 namespace blink { |
| 48 | 48 |
| 49 void FillWithEmptyClients(Page::PageClients& page_clients) { | 49 void FillWithEmptyClients(Page::PageClients& page_clients) { |
| 50 DEFINE_STATIC_LOCAL(ChromeClient, dummy_chrome_client, | 50 DEFINE_STATIC_LOCAL(ChromeClient, dummy_chrome_client, |
| 51 (EmptyChromeClient::Create())); | 51 (EmptyChromeClient::Create())); |
| 52 page_clients.chrome_client = &dummy_chrome_client; | 52 page_clients.chrome_client = &dummy_chrome_client; |
| 53 | 53 |
| 54 DEFINE_STATIC_LOCAL(EmptyContextMenuClient, dummy_context_menu_client, ()); | 54 DEFINE_STATIC_LOCAL(EmptyContextMenuClient, dummy_context_menu_client, ()); |
| 55 page_clients.context_menu_client = &dummy_context_menu_client; | 55 page_clients.context_menu_client = &dummy_context_menu_client; |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 | 207 |
| 208 std::unique_ptr<WebApplicationCacheHost> | 208 std::unique_ptr<WebApplicationCacheHost> |
| 209 EmptyLocalFrameClient::CreateApplicationCacheHost( | 209 EmptyLocalFrameClient::CreateApplicationCacheHost( |
| 210 WebApplicationCacheHostClient*) { | 210 WebApplicationCacheHostClient*) { |
| 211 return nullptr; | 211 return nullptr; |
| 212 } | 212 } |
| 213 | 213 |
| 214 EmptyRemoteFrameClient::EmptyRemoteFrameClient() = default; | 214 EmptyRemoteFrameClient::EmptyRemoteFrameClient() = default; |
| 215 | 215 |
| 216 } // namespace blink | 216 } // namespace blink |
| OLD | NEW |