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

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

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/HTMLLinkElement.cpp ('k') | Source/WebCore/html/HTMLMediaElement.cpp » ('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 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 532
533 void prepareMediaFragmentURI(); 533 void prepareMediaFragmentURI();
534 void applyMediaFragmentURI(); 534 void applyMediaFragmentURI();
535 535
536 virtual void* preDispatchEventHandler(Event*); 536 virtual void* preDispatchEventHandler(Event*);
537 537
538 void changeNetworkStateFromLoadingToIdle(); 538 void changeNetworkStateFromLoadingToIdle();
539 539
540 void removeBehaviorsRestrictionsAfterFirstUserGesture(); 540 void removeBehaviorsRestrictionsAfterFirstUserGesture();
541 541
542 #if ENABLE(MICRODATA)
543 virtual String itemValueText() const;
544 virtual void setItemValueText(const String&, ExceptionCode&);
545 #endif
546
547 void updateMediaController(); 542 void updateMediaController();
548 bool isBlocked() const; 543 bool isBlocked() const;
549 bool isBlockedOnMediaController() const; 544 bool isBlockedOnMediaController() const;
550 bool hasCurrentSrc() const { return !m_currentSrc.isEmpty(); } 545 bool hasCurrentSrc() const { return !m_currentSrc.isEmpty(); }
551 bool isLiveStream() const { return movieLoadType() == MediaPlayer::LiveStrea m; } 546 bool isLiveStream() const { return movieLoadType() == MediaPlayer::LiveStrea m; }
552 bool isAutoplaying() const { return m_autoplaying; } 547 bool isAutoplaying() const { return m_autoplaying; }
553 548
554 Timer<HTMLMediaElement> m_loadTimer; 549 Timer<HTMLMediaElement> m_loadTimer;
555 Timer<HTMLMediaElement> m_progressEventTimer; 550 Timer<HTMLMediaElement> m_progressEventTimer;
556 Timer<HTMLMediaElement> m_playbackProgressTimer; 551 Timer<HTMLMediaElement> m_playbackProgressTimer;
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 inline HTMLMediaElement* toMediaElement(Node* node) 701 inline HTMLMediaElement* toMediaElement(Node* node)
707 { 702 {
708 ASSERT_WITH_SECURITY_IMPLICATION(!node || isMediaElement(node)); 703 ASSERT_WITH_SECURITY_IMPLICATION(!node || isMediaElement(node));
709 return static_cast<HTMLMediaElement*>(node); 704 return static_cast<HTMLMediaElement*>(node);
710 } 705 }
711 706
712 } //namespace 707 } //namespace
713 708
714 #endif 709 #endif
715 #endif 710 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/html/HTMLLinkElement.cpp ('k') | Source/WebCore/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698