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

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

Issue 2949873005: 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
348 void DidCreateNewDocument() override {} 342 void DidCreateNewDocument() override {}
349 void DispatchDidClearWindowObjectInMainWorld() override {} 343 void DispatchDidClearWindowObjectInMainWorld() override {}
350 void DocumentElementAvailable() override {} 344 void DocumentElementAvailable() override {}
351 void RunScriptsAtDocumentElementAvailable() override {} 345 void RunScriptsAtDocumentElementAvailable() override {}
352 void RunScriptsAtDocumentReady(bool) override {} 346 void RunScriptsAtDocumentReady(bool) override {}
353 void RunScriptsAtDocumentIdle() override {} 347 void RunScriptsAtDocumentIdle() override {}
354 348
355 void DidCreateScriptContext(v8::Local<v8::Context>, int world_id) override {} 349 void DidCreateScriptContext(v8::Local<v8::Context>, int world_id) override {}
356 void WillReleaseScriptContext(v8::Local<v8::Context>, int world_id) override { 350 void WillReleaseScriptContext(v8::Local<v8::Context>, int world_id) override {
357 } 351 }
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 Frame* NextSibling() const override { return nullptr; } 477 Frame* NextSibling() const override { return nullptr; }
484 Frame* FirstChild() const override { return nullptr; } 478 Frame* FirstChild() const override { return nullptr; }
485 void FrameFocused() const override {} 479 void FrameFocused() const override {}
486 }; 480 };
487 481
488 CORE_EXPORT void FillWithEmptyClients(Page::PageClients&); 482 CORE_EXPORT void FillWithEmptyClients(Page::PageClients&);
489 483
490 } // namespace blink 484 } // namespace blink
491 485
492 #endif // EmptyClients_h 486 #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