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

Side by Side Diff: webrtc/examples/peerconnection/client/main_wnd.h

Issue 1587193006: Move talk/media to webrtc/media (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased to b647aca12a884a13c1728118586245399b55fa3d (#11493) Created 4 years, 10 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 2012 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2012 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #ifndef WEBRTC_EXAMPLES_PEERCONNECTION_CLIENT_MAIN_WND_H_ 11 #ifndef WEBRTC_EXAMPLES_PEERCONNECTION_CLIENT_MAIN_WND_H_
12 #define WEBRTC_EXAMPLES_PEERCONNECTION_CLIENT_MAIN_WND_H_ 12 #define WEBRTC_EXAMPLES_PEERCONNECTION_CLIENT_MAIN_WND_H_
13 #pragma once 13 #pragma once
14 14
15 #include <map> 15 #include <map>
16 #include <string> 16 #include <string>
17 17
18 #include "talk/app/webrtc/mediastreaminterface.h" 18 #include "talk/app/webrtc/mediastreaminterface.h"
19 #include "webrtc/base/win32.h"
19 #include "webrtc/examples/peerconnection/client/peer_connection_client.h" 20 #include "webrtc/examples/peerconnection/client/peer_connection_client.h"
20 #include "talk/media/base/mediachannel.h" 21 #include "webrtc/media/base/mediachannel.h"
21 #include "talk/media/base/videocommon.h" 22 #include "webrtc/media/base/videocommon.h"
22 #include "talk/media/base/videoframe.h" 23 #include "webrtc/media/base/videoframe.h"
23 #include "talk/media/base/videorenderer.h" 24 #include "webrtc/media/base/videorenderer.h"
24 #include "webrtc/base/win32.h"
25 25
26 class MainWndCallback { 26 class MainWndCallback {
27 public: 27 public:
28 virtual void StartLogin(const std::string& server, int port) = 0; 28 virtual void StartLogin(const std::string& server, int port) = 0;
29 virtual void DisconnectFromServer() = 0; 29 virtual void DisconnectFromServer() = 0;
30 virtual void ConnectToPeer(int peer_id) = 0; 30 virtual void ConnectToPeer(int peer_id) = 0;
31 virtual void DisconnectFromCurrentPeer() = 0; 31 virtual void DisconnectFromCurrentPeer() = 0;
32 virtual void UIThreadCallback(int msg_id, void* data) = 0; 32 virtual void UIThreadCallback(int msg_id, void* data) = 0;
33 virtual void Close() = 0; 33 virtual void Close() = 0;
34 protected: 34 protected:
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 MainWndCallback* callback_; 192 MainWndCallback* callback_;
193 static ATOM wnd_class_; 193 static ATOM wnd_class_;
194 std::string server_; 194 std::string server_;
195 std::string port_; 195 std::string port_;
196 bool auto_connect_; 196 bool auto_connect_;
197 bool auto_call_; 197 bool auto_call_;
198 }; 198 };
199 #endif // WIN32 199 #endif // WIN32
200 200
201 #endif // WEBRTC_EXAMPLES_PEERCONNECTION_CLIENT_MAIN_WND_H_ 201 #endif // WEBRTC_EXAMPLES_PEERCONNECTION_CLIENT_MAIN_WND_H_
OLDNEW
« no previous file with comments | « webrtc/examples/peerconnection/client/conductor.cc ('k') | webrtc/libjingle_media_unittest.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698