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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 return; | 117 return; |
118 page->frameHost().visualViewport().attachToLayerTree(layer); | 118 page->frameHost().visualViewport().attachToLayerTree(layer); |
119 } | 119 } |
120 | 120 |
121 String EmptyChromeClient::acceptLanguages() { | 121 String EmptyChromeClient::acceptLanguages() { |
122 return String(); | 122 return String(); |
123 } | 123 } |
124 | 124 |
125 std::unique_ptr<WebFrameScheduler> EmptyChromeClient::createFrameScheduler( | 125 std::unique_ptr<WebFrameScheduler> EmptyChromeClient::createFrameScheduler( |
126 BlameContext*) { | 126 BlameContext*) { |
127 return makeUnique<EmptyFrameScheduler>(); | 127 return WTF::makeUnique<EmptyFrameScheduler>(); |
128 } | 128 } |
129 | 129 |
130 NavigationPolicy EmptyFrameLoaderClient::decidePolicyForNavigation( | 130 NavigationPolicy EmptyFrameLoaderClient::decidePolicyForNavigation( |
131 const ResourceRequest&, | 131 const ResourceRequest&, |
132 DocumentLoader*, | 132 DocumentLoader*, |
133 NavigationType, | 133 NavigationType, |
134 NavigationPolicy, | 134 NavigationPolicy, |
135 bool, | 135 bool, |
136 bool, | 136 bool, |
137 HTMLFormElement*) { | 137 HTMLFormElement*) { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 return nullptr; | 188 return nullptr; |
189 } | 189 } |
190 | 190 |
191 std::unique_ptr<WebApplicationCacheHost> | 191 std::unique_ptr<WebApplicationCacheHost> |
192 EmptyFrameLoaderClient::createApplicationCacheHost( | 192 EmptyFrameLoaderClient::createApplicationCacheHost( |
193 WebApplicationCacheHostClient*) { | 193 WebApplicationCacheHostClient*) { |
194 return nullptr; | 194 return nullptr; |
195 } | 195 } |
196 | 196 |
197 } // namespace blink | 197 } // namespace blink |
OLD | NEW |