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

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

Issue 2927703003: Move ObjectContentType entirely to HTMLPlugInElement (Closed)
Patch Set: More 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 Frame* NextSibling() const override { return nullptr; } 462 Frame* NextSibling() const override { return nullptr; }
469 Frame* FirstChild() const override { return nullptr; } 463 Frame* FirstChild() const override { return nullptr; }
470 void FrameFocused() const override {} 464 void FrameFocused() const override {}
471 }; 465 };
472 466
473 CORE_EXPORT void FillWithEmptyClients(Page::PageClients&); 467 CORE_EXPORT void FillWithEmptyClients(Page::PageClients&);
474 468
475 } // namespace blink 469 } // namespace blink
476 470
477 #endif // EmptyClients_h 471 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698