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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 void hide() override { } | 68 void hide() override { } |
69 void updateFromElement() override { } | 69 void updateFromElement() override { } |
70 void disconnectClient() override { } | 70 void disconnectClient() override { } |
71 }; | 71 }; |
72 | 72 |
73 class EmptyFrameScheduler : public WebFrameScheduler { | 73 class EmptyFrameScheduler : public WebFrameScheduler { |
74 public: | 74 public: |
75 void setFrameVisible(bool) override { } | 75 void setFrameVisible(bool) override { } |
76 WebTaskRunner* loadingTaskRunner() override; | 76 WebTaskRunner* loadingTaskRunner() override; |
77 WebTaskRunner* timerTaskRunner() override; | 77 WebTaskRunner* timerTaskRunner() override; |
78 void setFrameOrigin(const WebSecurityOrigin*) override { } | 78 void setFrameOrigin(const WebSecurityOrigin&) override { } |
79 }; | 79 }; |
80 | 80 |
81 WebTaskRunner* EmptyFrameScheduler::loadingTaskRunner() | 81 WebTaskRunner* EmptyFrameScheduler::loadingTaskRunner() |
82 { | 82 { |
83 return Platform::current()->currentThread()->taskRunner(); | 83 return Platform::current()->currentThread()->taskRunner(); |
84 } | 84 } |
85 | 85 |
86 WebTaskRunner* EmptyFrameScheduler::timerTaskRunner() | 86 WebTaskRunner* EmptyFrameScheduler::timerTaskRunner() |
87 { | 87 { |
88 return Platform::current()->currentThread()->taskRunner(); | 88 return Platform::current()->currentThread()->taskRunner(); |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 { | 181 { |
182 return nullptr; | 182 return nullptr; |
183 } | 183 } |
184 | 184 |
185 PassOwnPtr<WebApplicationCacheHost> EmptyFrameLoaderClient::createApplicationCac
heHost(WebApplicationCacheHostClient*) | 185 PassOwnPtr<WebApplicationCacheHost> EmptyFrameLoaderClient::createApplicationCac
heHost(WebApplicationCacheHostClient*) |
186 { | 186 { |
187 return nullptr; | 187 return nullptr; |
188 } | 188 } |
189 | 189 |
190 } // namespace blink | 190 } // namespace blink |
OLD | NEW |