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

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

Issue 2484973005: [Blink, RemotePlaybackAPI] Create WebRemotePlaybackClient in HTMLMediaElement ctor to avoid lazy in… (Closed)
Patch Set: Removed <v8.h> from HTMLMediaElement.cpp Created 4 years, 1 month 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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 const String&, 318 const String&,
319 bool, 319 bool,
320 DetachedPluginPolicy) override; 320 DetachedPluginPolicy) override;
321 bool canCreatePluginWithoutRenderer(const String& mimeType) const override { 321 bool canCreatePluginWithoutRenderer(const String& mimeType) const override {
322 return false; 322 return false;
323 } 323 }
324 std::unique_ptr<WebMediaPlayer> createWebMediaPlayer( 324 std::unique_ptr<WebMediaPlayer> createWebMediaPlayer(
325 HTMLMediaElement&, 325 HTMLMediaElement&,
326 const WebMediaPlayerSource&, 326 const WebMediaPlayerSource&,
327 WebMediaPlayerClient*) override; 327 WebMediaPlayerClient*) override;
328 WebRemotePlaybackClient* createWebRemotePlaybackClient(
329 HTMLMediaElement&) override;
328 330
329 ObjectContentType getObjectContentType(const KURL&, 331 ObjectContentType getObjectContentType(const KURL&,
330 const String&, 332 const String&,
331 bool) override { 333 bool) override {
332 return ObjectContentType(); 334 return ObjectContentType();
333 } 335 }
334 336
335 void didCreateNewDocument() override {} 337 void didCreateNewDocument() override {}
336 void dispatchDidClearWindowObjectInMainWorld() override {} 338 void dispatchDidClearWindowObjectInMainWorld() override {}
337 void documentElementAvailable() override {} 339 void documentElementAvailable() override {}
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 ~EmptyContextMenuClient() override {} 425 ~EmptyContextMenuClient() override {}
424 bool showContextMenu(const ContextMenu*, bool) override { return false; } 426 bool showContextMenu(const ContextMenu*, bool) override { return false; }
425 void clearContextMenu() override {} 427 void clearContextMenu() override {}
426 }; 428 };
427 429
428 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 430 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
429 431
430 } // namespace blink 432 } // namespace blink
431 433
432 #endif // EmptyClients_h 434 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698