| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 #ifndef WebMediaPlayerClient_h | 31 #ifndef WebMediaPlayerClient_h |
| 32 #define WebMediaPlayerClient_h | 32 #define WebMediaPlayerClient_h |
| 33 | 33 |
| 34 #include "WebMediaPlayer.h" | 34 #include "WebMediaPlayer.h" |
| 35 | 35 |
| 36 namespace blink { | 36 namespace blink { |
| 37 | 37 |
| 38 class WebInbandTextTrack; | 38 class WebInbandTextTrack; |
| 39 class WebLayer; | 39 class WebLayer; |
| 40 class WebMediaSource; | 40 class WebMediaSource; |
| 41 class WebPlugin; | |
| 42 class WebRequest; | |
| 43 class WebURL; | 41 class WebURL; |
| 44 | 42 |
| 45 class WebMediaPlayerClient { | 43 class WebMediaPlayerClient { |
| 46 public: | 44 public: |
| 47 enum MediaKeyErrorCode { | 45 enum MediaKeyErrorCode { |
| 48 MediaKeyErrorCodeUnknown = 1, | 46 MediaKeyErrorCodeUnknown = 1, |
| 49 MediaKeyErrorCodeClient, | 47 MediaKeyErrorCodeClient, |
| 50 MediaKeyErrorCodeService, | 48 MediaKeyErrorCodeService, |
| 51 MediaKeyErrorCodeOutput, | 49 MediaKeyErrorCodeOutput, |
| 52 MediaKeyErrorCodeHardwareChange, | 50 MediaKeyErrorCodeHardwareChange, |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 virtual void connectedToRemoteDevice() = 0; | 96 virtual void connectedToRemoteDevice() = 0; |
| 99 virtual void disconnectedFromRemoteDevice() = 0; | 97 virtual void disconnectedFromRemoteDevice() = 0; |
| 100 | 98 |
| 101 protected: | 99 protected: |
| 102 ~WebMediaPlayerClient() { } | 100 ~WebMediaPlayerClient() { } |
| 103 }; | 101 }; |
| 104 | 102 |
| 105 } // namespace blink | 103 } // namespace blink |
| 106 | 104 |
| 107 #endif | 105 #endif |
| OLD | NEW |