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

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

Issue 10703186: Merge 122432 - [Shadow DOM] <video> with <shadow> crashes (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1180/
Patch Set: Created 8 years, 5 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
« no previous file with comments | « Source/WebCore/ChangeLog ('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 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserv ed.
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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 bool hasSingleSecurityOrigin() const { return !m_player || m_player->hasSing leSecurityOrigin(); } 284 bool hasSingleSecurityOrigin() const { return !m_player || m_player->hasSing leSecurityOrigin(); }
285 285
286 bool isFullscreen() const; 286 bool isFullscreen() const;
287 void enterFullscreen(); 287 void enterFullscreen();
288 void exitFullscreen(); 288 void exitFullscreen();
289 289
290 bool hasClosedCaptions() const; 290 bool hasClosedCaptions() const;
291 bool closedCaptionsVisible() const; 291 bool closedCaptionsVisible() const;
292 void setClosedCaptionsVisible(bool); 292 void setClosedCaptionsVisible(bool);
293 293
294 MediaControls* mediaControls(); 294 MediaControls* mediaControls() const;
295 295
296 void sourceWasRemoved(HTMLSourceElement*); 296 void sourceWasRemoved(HTMLSourceElement*);
297 void sourceWasAdded(HTMLSourceElement*); 297 void sourceWasAdded(HTMLSourceElement*);
298 298
299 void privateBrowsingStateDidChange(); 299 void privateBrowsingStateDidChange();
300 300
301 // Media cache management. 301 // Media cache management.
302 static void getSitesInMediaCache(Vector<String>&); 302 static void getSitesInMediaCache(Vector<String>&);
303 static void clearMediaCache(); 303 static void clearMediaCache();
304 static void clearMediaCacheForSite(const String&); 304 static void clearMediaCacheForSite(const String&);
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 void setPausedInternal(bool); 501 void setPausedInternal(bool);
502 502
503 void setPlaybackRateInternal(float); 503 void setPlaybackRateInternal(float);
504 504
505 virtual void mediaCanStart(); 505 virtual void mediaCanStart();
506 506
507 void setShouldDelayLoadEvent(bool); 507 void setShouldDelayLoadEvent(bool);
508 void invalidateCachedTime(); 508 void invalidateCachedTime();
509 void refreshCachedTime() const; 509 void refreshCachedTime() const;
510 510
511 bool hasMediaControls(); 511 bool hasMediaControls() const;
512 bool createMediaControls(); 512 bool createMediaControls();
513 void configureMediaControls(); 513 void configureMediaControls();
514 514
515 void prepareMediaFragmentURI(); 515 void prepareMediaFragmentURI();
516 void applyMediaFragmentURI(); 516 void applyMediaFragmentURI();
517 517
518 virtual void* preDispatchEventHandler(Event*); 518 virtual void* preDispatchEventHandler(Event*);
519 519
520 void changeNetworkStateFromLoadingToIdle(); 520 void changeNetworkStateFromLoadingToIdle();
521 521
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 inline HTMLMediaElement* toMediaElement(Node* node) 697 inline HTMLMediaElement* toMediaElement(Node* node)
698 { 698 {
699 ASSERT(!node || isMediaElement(node)); 699 ASSERT(!node || isMediaElement(node));
700 return static_cast<HTMLMediaElement*>(node); 700 return static_cast<HTMLMediaElement*>(node);
701 } 701 }
702 702
703 } //namespace 703 } //namespace
704 704
705 #endif 705 #endif
706 #endif 706 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | Source/WebCore/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698