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

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

Issue 2852013002: Break dependency between ChromeClient and WebViewImpl, and ChromeClientImpl. (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
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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 return nullptr; 226 return nullptr;
227 } 227 }
228 228
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 void NotifyPopupOpeningObservers() const {}
236 237
237 std::unique_ptr<WebFrameScheduler> CreateFrameScheduler( 238 std::unique_ptr<WebFrameScheduler> CreateFrameScheduler(
238 BlameContext*) override; 239 BlameContext*) override;
239 }; 240 };
240 241
241 class CORE_EXPORT EmptyLocalFrameClient : public LocalFrameClient { 242 class CORE_EXPORT EmptyLocalFrameClient : public LocalFrameClient {
242 WTF_MAKE_NONCOPYABLE(EmptyLocalFrameClient); 243 WTF_MAKE_NONCOPYABLE(EmptyLocalFrameClient);
243 244
244 public: 245 public:
245 static EmptyLocalFrameClient* Create() { return new EmptyLocalFrameClient; } 246 static EmptyLocalFrameClient* Create() { return new EmptyLocalFrameClient; }
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 Frame* NextSibling() const override { return nullptr; } 471 Frame* NextSibling() const override { return nullptr; }
471 Frame* FirstChild() const override { return nullptr; } 472 Frame* FirstChild() const override { return nullptr; }
472 void FrameFocused() const override {} 473 void FrameFocused() const override {}
473 }; 474 };
474 475
475 CORE_EXPORT void FillWithEmptyClients(Page::PageClients&); 476 CORE_EXPORT void FillWithEmptyClients(Page::PageClients&);
476 477
477 } // namespace blink 478 } // namespace blink
478 479
479 #endif // EmptyClients_h 480 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/exported/WebViewBase.h ('k') | third_party/WebKit/Source/core/page/ChromeClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698