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

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

Issue 2719333002: second stage
Patch Set: Need to get around resource loading without web/ 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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 LocalFrame* createFrame(const FrameLoadRequest&, 321 LocalFrame* createFrame(const FrameLoadRequest&,
322 const AtomicString&, 322 const AtomicString&,
323 HTMLFrameOwnerElement*) override; 323 HTMLFrameOwnerElement*) override;
324 Widget* createPlugin(HTMLPlugInElement*, 324 Widget* createPlugin(HTMLPlugInElement*,
325 const KURL&, 325 const KURL&,
326 const Vector<String>&, 326 const Vector<String>&,
327 const Vector<String>&, 327 const Vector<String>&,
328 const String&, 328 const String&,
329 bool, 329 bool,
330 DetachedPluginPolicy) override; 330 DetachedPluginPolicy) override;
331 virtual PluginClient* createPluginClient(HTMLPlugInElement*,
332 const KURL&,
333 const String&) override {
334 return nullptr;
335 }
336
331 bool canCreatePluginWithoutRenderer(const String& mimeType) const override { 337 bool canCreatePluginWithoutRenderer(const String& mimeType) const override {
332 return false; 338 return false;
333 } 339 }
334 std::unique_ptr<WebMediaPlayer> createWebMediaPlayer( 340 std::unique_ptr<WebMediaPlayer> createWebMediaPlayer(
335 HTMLMediaElement&, 341 HTMLMediaElement&,
336 const WebMediaPlayerSource&, 342 const WebMediaPlayerSource&,
337 WebMediaPlayerClient*) override; 343 WebMediaPlayerClient*) override;
338 WebRemotePlaybackClient* createWebRemotePlaybackClient( 344 WebRemotePlaybackClient* createWebRemotePlaybackClient(
339 HTMLMediaElement&) override; 345 HTMLMediaElement&) override;
340 346
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 Frame* nextSibling() const override { return nullptr; } 471 Frame* nextSibling() const override { return nullptr; }
466 Frame* firstChild() const override { return nullptr; } 472 Frame* firstChild() const override { return nullptr; }
467 void frameFocused() const override {} 473 void frameFocused() const override {}
468 }; 474 };
469 475
470 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 476 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
471 477
472 } // namespace blink 478 } // namespace blink
473 479
474 #endif // EmptyClients_h 480 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp ('k') | third_party/WebKit/Source/core/loader/FrameLoaderClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698