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

Side by Side Diff: Source/WebCore/html/shadow/MediaControlRootElement.h

Issue 8496044: Repaint video controls when buffering during pause. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Pipe bufferingProgressed() method. Created 9 years, 1 month 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) 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2011 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 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 void reportedError(); 91 void reportedError();
92 void loadedMetadata(); 92 void loadedMetadata();
93 void changedClosedCaptionsVisibility(); 93 void changedClosedCaptionsVisibility();
94 94
95 void showVolumeSlider(); 95 void showVolumeSlider();
96 void updateTimeDisplay(); 96 void updateTimeDisplay();
97 void updateStatusDisplay(); 97 void updateStatusDisplay();
98 98
99 virtual bool shouldHideControls(); 99 virtual bool shouldHideControls();
100 100
101 void bufferingProgressed();
102
101 private: 103 private:
102 MediaControlRootElement(HTMLMediaElement*); 104 MediaControlRootElement(HTMLMediaElement*);
103 105
104 virtual void defaultEventHandler(Event*); 106 virtual void defaultEventHandler(Event*);
105 void hideFullscreenControlsTimerFired(Timer<MediaControlRootElement>*); 107 void hideFullscreenControlsTimerFired(Timer<MediaControlRootElement>*);
106 void startHideFullscreenControlsTimer(); 108 void startHideFullscreenControlsTimer();
107 void stopHideFullscreenControlsTimer(); 109 void stopHideFullscreenControlsTimer();
108 110
109 virtual const AtomicString& shadowPseudoId() const; 111 virtual const AtomicString& shadowPseudoId() const;
110 112
(...skipping 22 matching lines...) Expand all
133 MediaControlFullscreenVolumeMaxButtonElement* m_fullScreenMaxVolumeButton; 135 MediaControlFullscreenVolumeMaxButtonElement* m_fullScreenMaxVolumeButton;
134 MediaControlPanelElement* m_panel; 136 MediaControlPanelElement* m_panel;
135 bool m_isMouseOverControls; 137 bool m_isMouseOverControls;
136 Timer<MediaControlRootElement> m_hideFullscreenControlsTimer; 138 Timer<MediaControlRootElement> m_hideFullscreenControlsTimer;
137 }; 139 };
138 140
139 } 141 }
140 142
141 #endif 143 #endif
142 #endif 144 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698