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

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

Issue 2887633002: Break dependency on ChromeClientImpl for WebPluginContainerImpl. (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/page/ChromeClient.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 231
232 AnimationWorkletProxyClient* CreateAnimationWorkletProxyClient( 232 AnimationWorkletProxyClient* CreateAnimationWorkletProxyClient(
233 LocalFrame*) override { 233 LocalFrame*) override {
234 return nullptr; 234 return nullptr;
235 } 235 }
236 236
237 void RegisterPopupOpeningObserver(PopupOpeningObserver*) override {} 237 void RegisterPopupOpeningObserver(PopupOpeningObserver*) override {}
238 void UnregisterPopupOpeningObserver(PopupOpeningObserver*) override {} 238 void UnregisterPopupOpeningObserver(PopupOpeningObserver*) override {}
239 void NotifyPopupOpeningObservers() const {} 239 void NotifyPopupOpeningObservers() const {}
240 240
241 void SetCursorForPlugin(const WebCursorInfo&, LocalFrame*) override {}
242
241 std::unique_ptr<WebFrameScheduler> CreateFrameScheduler( 243 std::unique_ptr<WebFrameScheduler> CreateFrameScheduler(
242 BlameContext*) override; 244 BlameContext*) override;
243 }; 245 };
244 246
245 class CORE_EXPORT EmptyLocalFrameClient : public LocalFrameClient { 247 class CORE_EXPORT EmptyLocalFrameClient : public LocalFrameClient {
246 WTF_MAKE_NONCOPYABLE(EmptyLocalFrameClient); 248 WTF_MAKE_NONCOPYABLE(EmptyLocalFrameClient);
247 249
248 public: 250 public:
249 static EmptyLocalFrameClient* Create() { return new EmptyLocalFrameClient; } 251 static EmptyLocalFrameClient* Create() { return new EmptyLocalFrameClient; }
250 ~EmptyLocalFrameClient() override {} 252 ~EmptyLocalFrameClient() override {}
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 Frame* NextSibling() const override { return nullptr; } 476 Frame* NextSibling() const override { return nullptr; }
475 Frame* FirstChild() const override { return nullptr; } 477 Frame* FirstChild() const override { return nullptr; }
476 void FrameFocused() const override {} 478 void FrameFocused() const override {}
477 }; 479 };
478 480
479 CORE_EXPORT void FillWithEmptyClients(Page::PageClients&); 481 CORE_EXPORT void FillWithEmptyClients(Page::PageClients&);
480 482
481 } // namespace blink 483 } // namespace blink
482 484
483 #endif // EmptyClients_h 485 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/page/ChromeClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698