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

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

Issue 14028014: Remove MicroData implementation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Also delete all the tests Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/WebCore/html/HTMLMediaElement.h ('k') | Source/WebCore/html/HTMLMetaElement.h » ('j') | 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 4196 matching lines...) Expand 10 before | Expand all | Expand 10 after
4207 4207
4208 AudioSourceProvider* HTMLMediaElement::audioSourceProvider() 4208 AudioSourceProvider* HTMLMediaElement::audioSourceProvider()
4209 { 4209 {
4210 if (m_player) 4210 if (m_player)
4211 return m_player->audioSourceProvider(); 4211 return m_player->audioSourceProvider();
4212 4212
4213 return 0; 4213 return 0;
4214 } 4214 }
4215 #endif 4215 #endif
4216 4216
4217 #if ENABLE(MICRODATA)
4218 String HTMLMediaElement::itemValueText() const
4219 {
4220 return getURLAttribute(srcAttr);
4221 }
4222
4223 void HTMLMediaElement::setItemValueText(const String& value, ExceptionCode&)
4224 {
4225 setAttribute(srcAttr, value);
4226 }
4227 #endif
4228
4229 const String& HTMLMediaElement::mediaGroup() const 4217 const String& HTMLMediaElement::mediaGroup() const
4230 { 4218 {
4231 return m_mediaGroup; 4219 return m_mediaGroup;
4232 } 4220 }
4233 4221
4234 void HTMLMediaElement::setMediaGroup(const String& group) 4222 void HTMLMediaElement::setMediaGroup(const String& group)
4235 { 4223 {
4236 if (m_mediaGroup == group) 4224 if (m_mediaGroup == group)
4237 return; 4225 return;
4238 m_mediaGroup = group; 4226 m_mediaGroup = group;
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
4517 info.addMember(m_mediaController, "mediaController"); 4505 info.addMember(m_mediaController, "mediaController");
4518 4506
4519 #if ENABLE(WEB_AUDIO) 4507 #if ENABLE(WEB_AUDIO)
4520 info.addMember(m_audioSourceNode, "audioSourceNode"); 4508 info.addMember(m_audioSourceNode, "audioSourceNode");
4521 #endif 4509 #endif
4522 4510
4523 } 4511 }
4524 4512
4525 } 4513 }
4526 #endif 4514 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/html/HTMLMediaElement.h ('k') | Source/WebCore/html/HTMLMetaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698