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

Side by Side Diff: Source/core/html/shadow/MediaControlElements.cpp

Issue 295993007: Oilpan: Use transition types for HTMLDivElement. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 7 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/core/html/shadow/DateTimeEditElement.cpp ('k') | Source/core/html/track/vtt/VTTCue.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) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 // 1. If the media element is an audio element, or is another playback 597 // 1. If the media element is an audio element, or is another playback
598 // mechanism with no rendering area, abort these steps. There is nothing to 598 // mechanism with no rendering area, abort these steps. There is nothing to
599 // render. 599 // render.
600 if (isHTMLAudioElement(mediaElement())) 600 if (isHTMLAudioElement(mediaElement()))
601 return; 601 return;
602 602
603 // 2. Let video be the media element or other playback mechanism. 603 // 2. Let video be the media element or other playback mechanism.
604 HTMLVideoElement& video = toHTMLVideoElement(mediaElement()); 604 HTMLVideoElement& video = toHTMLVideoElement(mediaElement());
605 605
606 // 3. Let output be an empty list of absolutely positioned CSS block boxes. 606 // 3. Let output be an empty list of absolutely positioned CSS block boxes.
607 Vector<RefPtr<HTMLDivElement> > output;
608 607
609 // 4. If the user agent is exposing a user interface for video, add to 608 // 4. If the user agent is exposing a user interface for video, add to
610 // output one or more completely transparent positioned CSS block boxes that 609 // output one or more completely transparent positioned CSS block boxes that
611 // cover the same region as the user interface. 610 // cover the same region as the user interface.
612 611
613 // 5. If the last time these rules were run, the user agent was not exposing 612 // 5. If the last time these rules were run, the user agent was not exposing
614 // a user interface for video, but now it is, let reset be true. Otherwise, 613 // a user interface for video, but now it is, let reset be true. Otherwise,
615 // let reset be false. 614 // let reset be false.
616 615
617 // There is nothing to be done explicitly for 4th and 5th steps, as 616 // There is nothing to be done explicitly for 4th and 5th steps, as
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 float fontSize = smallestDimension * 0.05f; 674 float fontSize = smallestDimension * 0.05f;
676 if (fontSize != m_fontSize) { 675 if (fontSize != m_fontSize) {
677 m_fontSize = fontSize; 676 m_fontSize = fontSize;
678 setInlineStyleProperty(CSSPropertyFontSize, fontSize, CSSPrimitiveValue: :CSS_PX); 677 setInlineStyleProperty(CSSPropertyFontSize, fontSize, CSSPrimitiveValue: :CSS_PX);
679 } 678 }
680 } 679 }
681 680
682 // ---------------------------- 681 // ----------------------------
683 682
684 } // namespace WebCore 683 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/html/shadow/DateTimeEditElement.cpp ('k') | Source/core/html/track/vtt/VTTCue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698