Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: third_party/WebKit/Source/core/loader/EmptyClients.h

Issue 2805763004: [System-Keyboard-Lock] Forward navigator functions to RenderFrameHost (Closed)
Patch Set: Resolve review comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698