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/WebCore/html/shadow/MediaControlRootElementChromium.h

Issue 7472040: Merge 91337 - [chromium] Media player controls do not fade out. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2009, 2010 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 void showVolumeSlider(); 83 void showVolumeSlider();
84 void updateTimeDisplay(); 84 void updateTimeDisplay();
85 void updateStatusDisplay(); 85 void updateStatusDisplay();
86 86
87 virtual bool shouldHideControls(); 87 virtual bool shouldHideControls();
88 88
89 private: 89 private:
90 MediaControlRootElementChromium(HTMLMediaElement*); 90 MediaControlRootElementChromium(HTMLMediaElement*);
91 91
92 virtual void defaultEventHandler(Event*);
93
92 virtual const AtomicString& shadowPseudoId() const; 94 virtual const AtomicString& shadowPseudoId() const;
93 95
96 bool containsRelatedTarget(Event*);
97
94 HTMLMediaElement* m_mediaElement; 98 HTMLMediaElement* m_mediaElement;
95 99
96 MediaControlPlayButtonElement* m_playButton; 100 MediaControlPlayButtonElement* m_playButton;
97 MediaControlCurrentTimeDisplayElement* m_currentTimeDisplay; 101 MediaControlCurrentTimeDisplayElement* m_currentTimeDisplay;
98 MediaControlTimelineElement* m_timeline; 102 MediaControlTimelineElement* m_timeline;
99 MediaControlTimelineContainerElement* m_timelineContainer; 103 MediaControlTimelineContainerElement* m_timelineContainer;
100 MediaControlPanelMuteButtonElement* m_panelMuteButton; 104 MediaControlPanelMuteButtonElement* m_panelMuteButton;
101 MediaControlVolumeSliderElement* m_volumeSlider; 105 MediaControlVolumeSliderElement* m_volumeSlider;
102 MediaControlVolumeSliderContainerElement* m_volumeSliderContainer; 106 MediaControlVolumeSliderContainerElement* m_volumeSliderContainer;
103 MediaControlPanelElement* m_panel; 107 MediaControlPanelElement* m_panel;
104 108
105 bool m_opaque; 109 bool m_opaque;
110 bool m_isMouseOverControls;
106 }; 111 };
107 112
108 } 113 }
109 114
110 #endif 115 #endif
111 116
112 #endif 117 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | Source/WebCore/html/shadow/MediaControlRootElementChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698