OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 virtual double volume() const = 0; | 46 virtual double volume() const = 0; |
47 virtual void setVolume(double, ExceptionState&) = 0; | 47 virtual void setVolume(double, ExceptionState&) = 0; |
48 | 48 |
49 virtual bool muted() const = 0; | 49 virtual bool muted() const = 0; |
50 virtual void setMuted(bool) = 0; | 50 virtual void setMuted(bool) = 0; |
51 | 51 |
52 virtual void enterFullscreen() = 0; | 52 virtual void enterFullscreen() = 0; |
53 | 53 |
54 virtual bool hasAudio() const = 0; | 54 virtual bool hasAudio() const = 0; |
55 virtual bool hasVideo() const = 0; | 55 virtual bool hasVideo() const = 0; |
56 virtual bool hasClosedCaptions() const = 0; | |
57 virtual void setClosedCaptionsVisible(bool) = 0; | |
58 virtual bool closedCaptionsVisible() const = 0; | |
59 | 56 |
60 virtual void beginScrubbing() = 0; | 57 virtual void beginScrubbing() = 0; |
61 virtual void endScrubbing() = 0; | 58 virtual void endScrubbing() = 0; |
62 | 59 |
63 virtual bool canPlay() const = 0; | 60 virtual bool canPlay() const = 0; |
64 }; | 61 }; |
65 | 62 |
66 } | 63 } |
67 | 64 |
68 #endif | 65 #endif |
OLD | NEW |