OLD | NEW |
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, 2012 Google Inc. All rights reserved. | 3 * Copyright (C) 2011, 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 * 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 24 matching lines...) Expand all Loading... |
35 public: | 35 public: |
36 // Called from port-specific parent create function to create custom control
s. | 36 // Called from port-specific parent create function to create custom control
s. |
37 static PassRefPtr<MediaControlsChromium> createControls(Document&); | 37 static PassRefPtr<MediaControlsChromium> createControls(Document&); |
38 | 38 |
39 virtual void setMediaController(MediaControllerInterface*) OVERRIDE; | 39 virtual void setMediaController(MediaControllerInterface*) OVERRIDE; |
40 | 40 |
41 virtual void reset() OVERRIDE; | 41 virtual void reset() OVERRIDE; |
42 | 42 |
43 virtual void playbackStarted() OVERRIDE; | 43 virtual void playbackStarted() OVERRIDE; |
44 | 44 |
45 void changedMute() OVERRIDE; | 45 virtual void changedMute() OVERRIDE; |
46 | 46 |
47 virtual void updateCurrentTimeDisplay() OVERRIDE; | 47 virtual void updateCurrentTimeDisplay() OVERRIDE; |
48 | 48 |
49 void createTextTrackDisplay() OVERRIDE; | 49 virtual void createTextTrackDisplay() OVERRIDE; |
50 | 50 |
51 virtual void insertTextTrackContainer(PassRefPtr<MediaControlTextTrackContai
nerElement>); | 51 virtual void insertTextTrackContainer(PassRefPtr<MediaControlTextTrackContai
nerElement>); |
52 | 52 |
53 protected: | 53 protected: |
54 explicit MediaControlsChromium(Document&); | 54 explicit MediaControlsChromium(Document&); |
55 | 55 |
56 bool initializeControls(Document&); | 56 bool initializeControls(Document&); |
57 | 57 |
58 private: | 58 private: |
59 MediaControlTimeRemainingDisplayElement* m_durationDisplay; | 59 MediaControlTimeRemainingDisplayElement* m_durationDisplay; |
60 MediaControlPanelEnclosureElement* m_enclosure; | 60 MediaControlPanelEnclosureElement* m_enclosure; |
61 }; | 61 }; |
62 | 62 |
63 } | 63 } |
64 | 64 |
65 #endif | 65 #endif |
OLD | NEW |