| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 | 108 |
| 109 void EmptyChromeClient::openTextDataListChooser(HTMLInputElement&) {} | 109 void EmptyChromeClient::openTextDataListChooser(HTMLInputElement&) {} |
| 110 | 110 |
| 111 void EmptyChromeClient::openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) {} | 111 void EmptyChromeClient::openFileChooser(LocalFrame*, PassRefPtr<FileChooser>) {} |
| 112 | 112 |
| 113 void EmptyChromeClient::attachRootGraphicsLayer(GraphicsLayer* layer, | 113 void EmptyChromeClient::attachRootGraphicsLayer(GraphicsLayer* layer, |
| 114 LocalFrame* localRoot) { | 114 LocalFrame* localRoot) { |
| 115 Page* page = localRoot ? localRoot->page() : nullptr; | 115 Page* page = localRoot ? localRoot->page() : nullptr; |
| 116 if (!page) | 116 if (!page) |
| 117 return; | 117 return; |
| 118 page->frameHost().visualViewport().attachLayerTree(layer); | 118 page->visualViewport().attachLayerTree(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 WTF::makeUnique<EmptyFrameScheduler>(); | 127 return WTF::makeUnique<EmptyFrameScheduler>(); |
| 128 } | 128 } |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 | 192 |
| 193 std::unique_ptr<WebApplicationCacheHost> | 193 std::unique_ptr<WebApplicationCacheHost> |
| 194 EmptyLocalFrameClient::createApplicationCacheHost( | 194 EmptyLocalFrameClient::createApplicationCacheHost( |
| 195 WebApplicationCacheHostClient*) { | 195 WebApplicationCacheHostClient*) { |
| 196 return nullptr; | 196 return nullptr; |
| 197 } | 197 } |
| 198 | 198 |
| 199 EmptyRemoteFrameClient::EmptyRemoteFrameClient() = default; | 199 EmptyRemoteFrameClient::EmptyRemoteFrameClient() = default; |
| 200 | 200 |
| 201 } // namespace blink | 201 } // namespace blink |
| OLD | NEW |