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

Side by Side Diff: Source/core/html/HTMLMediaElement.cpp

Issue 62103009: Remove unneeded namespace prefix in HTMLMediaElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3837 matching lines...) Expand 10 before | Expand all | Expand 10 after
3848 void HTMLMediaElement::applyMediaFragmentURI() 3848 void HTMLMediaElement::applyMediaFragmentURI()
3849 { 3849 {
3850 if (m_fragmentStartTime != MediaPlayer::invalidTime()) { 3850 if (m_fragmentStartTime != MediaPlayer::invalidTime()) {
3851 m_sentEndEvent = false; 3851 m_sentEndEvent = false;
3852 seek(m_fragmentStartTime, IGNORE_EXCEPTION); 3852 seek(m_fragmentStartTime, IGNORE_EXCEPTION);
3853 } 3853 }
3854 } 3854 }
3855 3855
3856 MediaPlayerClient::CORSMode HTMLMediaElement::mediaPlayerCORSMode() const 3856 MediaPlayerClient::CORSMode HTMLMediaElement::mediaPlayerCORSMode() const
3857 { 3857 {
3858 if (!fastHasAttribute(HTMLNames::crossoriginAttr)) 3858 if (!fastHasAttribute(crossoriginAttr))
3859 return Unspecified; 3859 return Unspecified;
3860 if (equalIgnoringCase(fastGetAttribute(HTMLNames::crossoriginAttr), "use-cre dentials")) 3860 if (equalIgnoringCase(fastGetAttribute(crossoriginAttr), "use-credentials"))
3861 return UseCredentials; 3861 return UseCredentials;
3862 return Anonymous; 3862 return Anonymous;
3863 } 3863 }
3864 3864
3865 void HTMLMediaElement::removeBehaviorsRestrictionsAfterFirstUserGesture() 3865 void HTMLMediaElement::removeBehaviorsRestrictionsAfterFirstUserGesture()
3866 { 3866 {
3867 m_restrictions = NoRestrictions; 3867 m_restrictions = NoRestrictions;
3868 } 3868 }
3869 3869
3870 void HTMLMediaElement::mediaPlayerScheduleLayerUpdate() 3870 void HTMLMediaElement::mediaPlayerScheduleLayerUpdate()
3871 { 3871 {
3872 scheduleLayerUpdate(); 3872 scheduleLayerUpdate();
3873 } 3873 }
3874 3874
3875 bool HTMLMediaElement::isInteractiveContent() const 3875 bool HTMLMediaElement::isInteractiveContent() const
3876 { 3876 {
3877 return fastHasAttribute(controlsAttr); 3877 return fastHasAttribute(controlsAttr);
3878 } 3878 }
3879 3879
3880 } 3880 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698