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

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

Issue 219283004: Remove what remains of MediaControllerInterface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: earliest possible position FIXME Created 6 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
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 , m_displayType(displayType) 72 , m_displayType(displayType)
73 , m_element(element) 73 , m_element(element)
74 { 74 {
75 } 75 }
76 76
77 HTMLMediaElement& MediaControlElement::mediaElement() const 77 HTMLMediaElement& MediaControlElement::mediaElement() const
78 { 78 {
79 return mediaControls().mediaElement(); 79 return mediaControls().mediaElement();
80 } 80 }
81 81
82 MediaControllerInterface& MediaControlElement::mediaControllerInterface() const
83 {
84 return mediaControls().mediaControllerInterface();
85 }
86
87 void MediaControlElement::hide() 82 void MediaControlElement::hide()
88 { 83 {
89 m_element->setInlineStyleProperty(CSSPropertyDisplay, CSSValueNone); 84 m_element->setInlineStyleProperty(CSSPropertyDisplay, CSSValueNone);
90 } 85 }
91 86
92 void MediaControlElement::show() 87 void MediaControlElement::show()
93 { 88 {
94 m_element->removeInlineStyleProperty(CSSPropertyDisplay); 89 m_element->removeInlineStyleProperty(CSSPropertyDisplay);
95 } 90 }
96 91
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 , m_currentValue(0) 127 , m_currentValue(0)
133 { 128 {
134 } 129 }
135 130
136 void MediaControlTimeDisplayElement::setCurrentValue(double time) 131 void MediaControlTimeDisplayElement::setCurrentValue(double time)
137 { 132 {
138 m_currentValue = time; 133 m_currentValue = time;
139 } 134 }
140 135
141 } // namespace WebCore 136 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/html/shadow/MediaControlElementTypes.h ('k') | Source/core/html/shadow/MediaControlElements.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698