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

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

Issue 2933213002: Revert of Move ObjectContentType entirely to HTMLPlugInElement (Closed)
Patch Set: Created 3 years, 6 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 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 bool CanCreatePluginWithoutRenderer(const String& mime_type) const override { 332 bool CanCreatePluginWithoutRenderer(const String& mime_type) const override {
333 return false; 333 return false;
334 } 334 }
335 std::unique_ptr<WebMediaPlayer> CreateWebMediaPlayer( 335 std::unique_ptr<WebMediaPlayer> CreateWebMediaPlayer(
336 HTMLMediaElement&, 336 HTMLMediaElement&,
337 const WebMediaPlayerSource&, 337 const WebMediaPlayerSource&,
338 WebMediaPlayerClient*) override; 338 WebMediaPlayerClient*) override;
339 WebRemotePlaybackClient* CreateWebRemotePlaybackClient( 339 WebRemotePlaybackClient* CreateWebRemotePlaybackClient(
340 HTMLMediaElement&) override; 340 HTMLMediaElement&) override;
341 341
342 ObjectContentType GetObjectContentType(const KURL&,
343 const String&,
344 bool) override {
345 return ObjectContentType();
346 }
347
342 void DidCreateNewDocument() override {} 348 void DidCreateNewDocument() override {}
343 void DispatchDidClearWindowObjectInMainWorld() override {} 349 void DispatchDidClearWindowObjectInMainWorld() override {}
344 void DocumentElementAvailable() override {} 350 void DocumentElementAvailable() override {}
345 void RunScriptsAtDocumentElementAvailable() override {} 351 void RunScriptsAtDocumentElementAvailable() override {}
346 void RunScriptsAtDocumentReady(bool) override {} 352 void RunScriptsAtDocumentReady(bool) override {}
347 void RunScriptsAtDocumentIdle() override {} 353 void RunScriptsAtDocumentIdle() override {}
348 354
349 void DidCreateScriptContext(v8::Local<v8::Context>, int world_id) override {} 355 void DidCreateScriptContext(v8::Local<v8::Context>, int world_id) override {}
350 void WillReleaseScriptContext(v8::Local<v8::Context>, int world_id) override { 356 void WillReleaseScriptContext(v8::Local<v8::Context>, int world_id) override {
351 } 357 }
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 Frame* NextSibling() const override { return nullptr; } 468 Frame* NextSibling() const override { return nullptr; }
463 Frame* FirstChild() const override { return nullptr; } 469 Frame* FirstChild() const override { return nullptr; }
464 void FrameFocused() const override {} 470 void FrameFocused() const override {}
465 }; 471 };
466 472
467 CORE_EXPORT void FillWithEmptyClients(Page::PageClients&); 473 CORE_EXPORT void FillWithEmptyClients(Page::PageClients&);
468 474
469 } // namespace blink 475 } // namespace blink
470 476
471 #endif // EmptyClients_h 477 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp ('k') | third_party/WebKit/Source/core/loader/FrameLoaderTypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698