OLD | NEW |
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2004 Google Inc. | 3 * Copyright 2004 Google Inc. |
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 are met: | 6 * modification, are permitted provided that the following conditions are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
(...skipping 10 matching lines...) Expand all Loading... |
21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; | 21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; |
22 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | 22 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
23 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | 23 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
24 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | 24 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 */ | 26 */ |
27 | 27 |
28 // Definition of class GtkVideoRenderer that implements the abstract class | 28 // Definition of class GtkVideoRenderer that implements the abstract class |
29 // cricket::VideoRenderer via GTK. | 29 // cricket::VideoRenderer via GTK. |
30 | 30 |
31 #ifndef TALK_MEDIA_DEVICES_GTKVIDEORENDERER_H_ | 31 #ifndef WEBRTC_MEDIA_DEVICES_GTKVIDEORENDERER_H_ |
32 #define TALK_MEDIA_DEVICES_GTKVIDEORENDERER_H_ | 32 #define WEBRTC_MEDIA_DEVICES_GTKVIDEORENDERER_H_ |
33 | 33 |
34 #include "talk/media/base/videorenderer.h" | |
35 #include "webrtc/base/basictypes.h" | 34 #include "webrtc/base/basictypes.h" |
36 #include "webrtc/base/scoped_ptr.h" | 35 #include "webrtc/base/scoped_ptr.h" |
| 36 #include "webrtc/media/base/videorenderer.h" |
37 | 37 |
38 typedef struct _GtkWidget GtkWidget; // forward declaration, defined in gtk.h | 38 typedef struct _GtkWidget GtkWidget; // forward declaration, defined in gtk.h |
39 | 39 |
40 namespace cricket { | 40 namespace cricket { |
41 | 41 |
42 class GtkVideoRenderer : public VideoRenderer { | 42 class GtkVideoRenderer : public VideoRenderer { |
43 public: | 43 public: |
44 GtkVideoRenderer(int x, int y); | 44 GtkVideoRenderer(int x, int y); |
45 virtual ~GtkVideoRenderer(); | 45 virtual ~GtkVideoRenderer(); |
46 | 46 |
(...skipping 17 matching lines...) Expand all Loading... |
64 // The initial position of the window. | 64 // The initial position of the window. |
65 int initial_x_; | 65 int initial_x_; |
66 int initial_y_; | 66 int initial_y_; |
67 | 67 |
68 int width_; | 68 int width_; |
69 int height_; | 69 int height_; |
70 }; | 70 }; |
71 | 71 |
72 } // namespace cricket | 72 } // namespace cricket |
73 | 73 |
74 #endif // TALK_MEDIA_DEVICES_GTKVIDEORENDERER_H_ | 74 #endif // WEBRTC_MEDIA_DEVICES_GTKVIDEORENDERER_H_ |
OLD | NEW |