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

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

Issue 2759063002: Remove most of Widget (FrameViewBase) class from HTMLPlugInElement. (Closed)
Patch Set: Fix shouldAccelerate Created 3 years, 9 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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 void didRunInsecureContent(SecurityOrigin*, const KURL&) override {} 319 void didRunInsecureContent(SecurityOrigin*, const KURL&) override {}
320 void didDetectXSS(const KURL&, bool) override {} 320 void didDetectXSS(const KURL&, bool) override {}
321 void didDispatchPingLoader(const KURL&) override {} 321 void didDispatchPingLoader(const KURL&) override {}
322 void didDisplayContentWithCertificateErrors(const KURL&) override {} 322 void didDisplayContentWithCertificateErrors(const KURL&) override {}
323 void didRunContentWithCertificateErrors(const KURL&) override {} 323 void didRunContentWithCertificateErrors(const KURL&) override {}
324 void selectorMatchChanged(const Vector<String>&, 324 void selectorMatchChanged(const Vector<String>&,
325 const Vector<String>&) override {} 325 const Vector<String>&) override {}
326 LocalFrame* createFrame(const FrameLoadRequest&, 326 LocalFrame* createFrame(const FrameLoadRequest&,
327 const AtomicString&, 327 const AtomicString&,
328 HTMLFrameOwnerElement*) override; 328 HTMLFrameOwnerElement*) override;
329 FrameViewBase* createPlugin(HTMLPlugInElement*, 329 PluginView* createPlugin(HTMLPlugInElement*,
330 const KURL&, 330 const KURL&,
331 const Vector<String>&, 331 const Vector<String>&,
332 const Vector<String>&, 332 const Vector<String>&,
333 const String&, 333 const String&,
334 bool, 334 bool,
335 DetachedPluginPolicy) override; 335 DetachedPluginPolicy) override;
336 bool canCreatePluginWithoutRenderer(const String& mimeType) const override { 336 bool canCreatePluginWithoutRenderer(const String& mimeType) const override {
337 return false; 337 return false;
338 } 338 }
339 std::unique_ptr<WebMediaPlayer> createWebMediaPlayer( 339 std::unique_ptr<WebMediaPlayer> createWebMediaPlayer(
340 HTMLMediaElement&, 340 HTMLMediaElement&,
341 const WebMediaPlayerSource&, 341 const WebMediaPlayerSource&,
342 WebMediaPlayerClient*) override; 342 WebMediaPlayerClient*) override;
343 WebRemotePlaybackClient* createWebRemotePlaybackClient( 343 WebRemotePlaybackClient* createWebRemotePlaybackClient(
344 HTMLMediaElement&) override; 344 HTMLMediaElement&) override;
345 345
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 Frame* nextSibling() const override { return nullptr; } 469 Frame* nextSibling() const override { return nullptr; }
470 Frame* firstChild() const override { return nullptr; } 470 Frame* firstChild() const override { return nullptr; }
471 void frameFocused() const override {} 471 void frameFocused() const override {}
472 }; 472 };
473 473
474 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 474 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
475 475
476 } // namespace blink 476 } // namespace blink
477 477
478 #endif // EmptyClients_h 478 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/PluginDocument.cpp ('k') | third_party/WebKit/Source/core/loader/EmptyClients.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698