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

Side by Side Diff: third_party/WebKit/Source/core/html/shadow/MediaControlElements.h

Issue 2393133004: reflow comments in core/html/shadow (Closed)
Patch Set: oops Created 4 years, 2 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) 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 172
173 void setVisible(bool); 173 void setVisible(bool);
174 174
175 private: 175 private:
176 explicit MediaControlTextTrackListElement(MediaControls&); 176 explicit MediaControlTextTrackListElement(MediaControls&);
177 177
178 void defaultEventHandler(Event*) override; 178 void defaultEventHandler(Event*) override;
179 179
180 void refreshTextTrackListMenu(); 180 void refreshTextTrackListMenu();
181 181
182 // Returns the label for the track when a valid track is passed in and "Off" w hen the parameter is null. 182 // Returns the label for the track when a valid track is passed in and "Off"
183 // when the parameter is null.
183 String getTextTrackLabel(TextTrack*); 184 String getTextTrackLabel(TextTrack*);
184 // Creates the track element in the list when a valid track is passed in and t he "Off" item when the parameter is null. 185 // Creates the track element in the list when a valid track is passed in and
186 // the "Off" item when the parameter is null.
185 Element* createTextTrackListItem(TextTrack*); 187 Element* createTextTrackListItem(TextTrack*);
186 188
187 void showTextTrackAtIndex(unsigned); 189 void showTextTrackAtIndex(unsigned);
188 void disableShowingTextTracks(); 190 void disableShowingTextTracks();
189 }; 191 };
190 192
191 // ---------------------------- 193 // ----------------------------
192 // Represents the overflow menu which is displayed when the width of the media 194 // Represents the overflow menu which is displayed when the width of the media
193 // player is small enough that at least two buttons are no longer visible. 195 // player is small enough that at least two buttons are no longer visible.
194 class MediaControlOverflowMenuButtonElement final 196 class MediaControlOverflowMenuButtonElement final
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 public: 366 public:
365 static MediaControlCurrentTimeDisplayElement* create(MediaControls&); 367 static MediaControlCurrentTimeDisplayElement* create(MediaControls&);
366 368
367 private: 369 private:
368 explicit MediaControlCurrentTimeDisplayElement(MediaControls&); 370 explicit MediaControlCurrentTimeDisplayElement(MediaControls&);
369 }; 371 };
370 372
371 } // namespace blink 373 } // namespace blink
372 374
373 #endif // MediaControlElements_h 375 #endif // MediaControlElements_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698