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

Side by Side Diff: third_party/WebKit/Source/web/UserMediaClientImpl.h

Issue 2466383004: blink: Cleanup class forward declarations (Closed)
Patch Set: Created 4 years, 1 month 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 (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 22 matching lines...) Expand all
33 33
34 #include "modules/mediastream/UserMediaClient.h" 34 #include "modules/mediastream/UserMediaClient.h"
35 #include "wtf/PassRefPtr.h" 35 #include "wtf/PassRefPtr.h"
36 36
37 namespace blink { 37 namespace blink {
38 38
39 class MediaDevices; 39 class MediaDevices;
40 class MediaDevicesRequest; 40 class MediaDevicesRequest;
41 class UserMediaRequest; 41 class UserMediaRequest;
42 class WebUserMediaClient; 42 class WebUserMediaClient;
43 class WebLocalFrameImpl;
44 43
45 class UserMediaClientImpl final : public UserMediaClient { 44 class UserMediaClientImpl final : public UserMediaClient {
46 public: 45 public:
47 static std::unique_ptr<UserMediaClientImpl> create( 46 static std::unique_ptr<UserMediaClientImpl> create(
48 WebUserMediaClient* client) { 47 WebUserMediaClient* client) {
49 return wrapUnique(new UserMediaClientImpl(client)); 48 return wrapUnique(new UserMediaClientImpl(client));
50 } 49 }
51 50
52 // UserMediaClient ---------------------------------------------- 51 // UserMediaClient ----------------------------------------------
53 void requestUserMedia(UserMediaRequest*) override; 52 void requestUserMedia(UserMediaRequest*) override;
54 void cancelUserMediaRequest(UserMediaRequest*) override; 53 void cancelUserMediaRequest(UserMediaRequest*) override;
55 void requestMediaDevices(MediaDevicesRequest*) override; 54 void requestMediaDevices(MediaDevicesRequest*) override;
56 void requestSources(MediaStreamTrackSourcesRequest*) override; 55 void requestSources(MediaStreamTrackSourcesRequest*) override;
57 void setMediaDeviceChangeObserver(MediaDevices*) override; 56 void setMediaDeviceChangeObserver(MediaDevices*) override;
58 57
59 private: 58 private:
60 explicit UserMediaClientImpl(WebUserMediaClient*); 59 explicit UserMediaClientImpl(WebUserMediaClient*);
61 60
62 WebUserMediaClient* m_client; 61 WebUserMediaClient* m_client;
63 }; 62 };
64 63
65 } // namespace blink 64 } // namespace blink
66 65
67 #endif // UserMediaClientImpl_h 66 #endif // UserMediaClientImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698