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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.h

Issue 1406923009: Rename DISALLOW_ALLOCATION and ALLOW_ONLY_INLINE_ALLOCATION (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 577
578 DECLARE_TRACE(); 578 DECLARE_TRACE();
579 579
580 private: 580 private:
581 Member<AudioSourceProviderClient> m_client; 581 Member<AudioSourceProviderClient> m_client;
582 }; 582 };
583 583
584 // AudioSourceProviderImpl wraps a WebAudioSourceProvider. 584 // AudioSourceProviderImpl wraps a WebAudioSourceProvider.
585 // provideInput() calls into Chromium to get a rendered audio stream. 585 // provideInput() calls into Chromium to get a rendered audio stream.
586 class AudioSourceProviderImpl final : public AudioSourceProvider { 586 class AudioSourceProviderImpl final : public AudioSourceProvider {
587 DISALLOW_ALLOCATION(); 587 DISALLOW_NEW();
588 public: 588 public:
589 AudioSourceProviderImpl() 589 AudioSourceProviderImpl()
590 : m_webAudioSourceProvider(nullptr) 590 : m_webAudioSourceProvider(nullptr)
591 { 591 {
592 } 592 }
593 593
594 ~AudioSourceProviderImpl() override { } 594 ~AudioSourceProviderImpl() override { }
595 595
596 // Wraps the given WebAudioSourceProvider. 596 // Wraps the given WebAudioSourceProvider.
597 void wrap(WebAudioSourceProvider*); 597 void wrap(WebAudioSourceProvider*);
(...skipping 25 matching lines...) Expand all
623 inline bool isHTMLMediaElement(const HTMLElement& element) 623 inline bool isHTMLMediaElement(const HTMLElement& element)
624 { 624 {
625 return isHTMLAudioElement(element) || isHTMLVideoElement(element); 625 return isHTMLAudioElement(element) || isHTMLVideoElement(element);
626 } 626 }
627 627
628 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement); 628 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement);
629 629
630 } // namespace blink 630 } // namespace blink
631 631
632 #endif // HTMLMediaElement_h 632 #endif // HTMLMediaElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLDimension.h ('k') | third_party/WebKit/Source/core/html/LinkRelAttribute.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698