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

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

Issue 2863913002: Change AudioOutputDeviceClientImpl to use WebLocalFrameBase and move to modules. (Closed)
Patch Set: Use chrome client to create instances of WebLocalFrameBase. 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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 void NotifyPopupOpeningObservers() const {}
237 237
238 std::unique_ptr<WebFrameScheduler> CreateFrameScheduler( 238 std::unique_ptr<WebFrameScheduler> CreateFrameScheduler(
239 BlameContext*) override; 239 BlameContext*) override;
240
241 WebLocalFrameBase* CreateWebLocalFrameBase(LocalFrame*) override {
242 return nullptr;
243 }
240 }; 244 };
241 245
242 class CORE_EXPORT EmptyLocalFrameClient : public LocalFrameClient { 246 class CORE_EXPORT EmptyLocalFrameClient : public LocalFrameClient {
243 WTF_MAKE_NONCOPYABLE(EmptyLocalFrameClient); 247 WTF_MAKE_NONCOPYABLE(EmptyLocalFrameClient);
244 248
245 public: 249 public:
246 static EmptyLocalFrameClient* Create() { return new EmptyLocalFrameClient; } 250 static EmptyLocalFrameClient* Create() { return new EmptyLocalFrameClient; }
247 ~EmptyLocalFrameClient() override {} 251 ~EmptyLocalFrameClient() override {}
248 252
249 bool HasWebView() const override { return true; } // mainly for assertions 253 bool HasWebView() const override { return true; } // mainly for assertions
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 Frame* NextSibling() const override { return nullptr; } 475 Frame* NextSibling() const override { return nullptr; }
472 Frame* FirstChild() const override { return nullptr; } 476 Frame* FirstChild() const override { return nullptr; }
473 void FrameFocused() const override {} 477 void FrameFocused() const override {}
474 }; 478 };
475 479
476 CORE_EXPORT void FillWithEmptyClients(Page::PageClients&); 480 CORE_EXPORT void FillWithEmptyClients(Page::PageClients&);
477 481
478 } // namespace blink 482 } // namespace blink
479 483
480 #endif // EmptyClients_h 484 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698