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, 2010, 2011, 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. |
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
6 * | 6 * |
7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
9 * are met: | 9 * are met: |
10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 AnimationWorkletProxyClient* CreateAnimationWorkletProxyClient( | 229 AnimationWorkletProxyClient* CreateAnimationWorkletProxyClient( |
230 LocalFrame*) override { | 230 LocalFrame*) override { |
231 return nullptr; | 231 return nullptr; |
232 } | 232 } |
233 | 233 |
234 void RegisterPopupOpeningObserver(PopupOpeningObserver*) override {} | 234 void RegisterPopupOpeningObserver(PopupOpeningObserver*) override {} |
235 void UnregisterPopupOpeningObserver(PopupOpeningObserver*) override {} | 235 void UnregisterPopupOpeningObserver(PopupOpeningObserver*) override {} |
236 | 236 |
237 std::unique_ptr<WebFrameScheduler> CreateFrameScheduler( | 237 std::unique_ptr<WebFrameScheduler> CreateFrameScheduler( |
238 BlameContext*) override; | 238 BlameContext*) override; |
| 239 |
| 240 void RequestKeyLock(LocalFrame*, PassRefPtr<KeyboardLocker>) override; |
| 241 void CancelKeyLock(LocalFrame*) override {} |
239 }; | 242 }; |
240 | 243 |
241 class CORE_EXPORT EmptyLocalFrameClient : public LocalFrameClient { | 244 class CORE_EXPORT EmptyLocalFrameClient : public LocalFrameClient { |
242 WTF_MAKE_NONCOPYABLE(EmptyLocalFrameClient); | 245 WTF_MAKE_NONCOPYABLE(EmptyLocalFrameClient); |
243 | 246 |
244 public: | 247 public: |
245 static EmptyLocalFrameClient* Create() { return new EmptyLocalFrameClient; } | 248 static EmptyLocalFrameClient* Create() { return new EmptyLocalFrameClient; } |
246 ~EmptyLocalFrameClient() override {} | 249 ~EmptyLocalFrameClient() override {} |
247 | 250 |
248 bool HasWebView() const override { return true; } // mainly for assertions | 251 bool HasWebView() const override { return true; } // mainly for assertions |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 Frame* NextSibling() const override { return nullptr; } | 473 Frame* NextSibling() const override { return nullptr; } |
471 Frame* FirstChild() const override { return nullptr; } | 474 Frame* FirstChild() const override { return nullptr; } |
472 void FrameFocused() const override {} | 475 void FrameFocused() const override {} |
473 }; | 476 }; |
474 | 477 |
475 CORE_EXPORT void FillWithEmptyClients(Page::PageClients&); | 478 CORE_EXPORT void FillWithEmptyClients(Page::PageClients&); |
476 | 479 |
477 } // namespace blink | 480 } // namespace blink |
478 | 481 |
479 #endif // EmptyClients_h | 482 #endif // EmptyClients_h |
OLD | NEW |