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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 | 56 |
57 DEFINE_STATIC_LOCAL(EmptyEditorClient, dummyEditorClient, ()); | 57 DEFINE_STATIC_LOCAL(EmptyEditorClient, dummyEditorClient, ()); |
58 pageClients.editorClient = &dummyEditorClient; | 58 pageClients.editorClient = &dummyEditorClient; |
59 | 59 |
60 DEFINE_STATIC_LOCAL(EmptySpellCheckerClient, dummySpellCheckerClient, ()); | 60 DEFINE_STATIC_LOCAL(EmptySpellCheckerClient, dummySpellCheckerClient, ()); |
61 pageClients.spellCheckerClient = &dummySpellCheckerClient; | 61 pageClients.spellCheckerClient = &dummySpellCheckerClient; |
62 } | 62 } |
63 | 63 |
64 class EmptyPopupMenu : public PopupMenu { | 64 class EmptyPopupMenu : public PopupMenu { |
65 public: | 65 public: |
66 void show() override { } | 66 void show(const FloatQuad&, const IntSize&, int) override { } |
67 void hide() override { } | 67 void hide() override { } |
68 void updateFromElement() override { } | 68 void updateFromElement() override { } |
69 void disconnectClient() override { } | 69 void disconnectClient() override { } |
70 }; | 70 }; |
71 | 71 |
72 class EmptyFrameScheduler : public WebFrameScheduler { | 72 class EmptyFrameScheduler : public WebFrameScheduler { |
73 public: | 73 public: |
74 void setFrameVisible(bool) override { } | 74 void setFrameVisible(bool) override { } |
75 WebTaskRunner* loadingTaskRunner() override; | 75 WebTaskRunner* loadingTaskRunner() override; |
76 WebTaskRunner* timerTaskRunner() override; | 76 WebTaskRunner* timerTaskRunner() override; |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 { | 180 { |
181 return nullptr; | 181 return nullptr; |
182 } | 182 } |
183 | 183 |
184 PassOwnPtr<WebApplicationCacheHost> EmptyFrameLoaderClient::createApplicationCac
heHost(WebApplicationCacheHostClient*) | 184 PassOwnPtr<WebApplicationCacheHost> EmptyFrameLoaderClient::createApplicationCac
heHost(WebApplicationCacheHostClient*) |
185 { | 185 { |
186 return nullptr; | 186 return nullptr; |
187 } | 187 } |
188 | 188 |
189 } // namespace blink | 189 } // namespace blink |
OLD | NEW |