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

Side by Side Diff: third_party/WebKit/public/platform/WebMediaStreamTrack.h

Issue 1774943003: blink: Rename platform/ methods to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-platform: rebase-yayyyyyyyy Created 4 years, 9 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 (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 BLINK_PLATFORM_EXPORT WebString id() const; 65 BLINK_PLATFORM_EXPORT WebString id() const;
66 66
67 BLINK_PLATFORM_EXPORT WebMediaStreamSource source() const; 67 BLINK_PLATFORM_EXPORT WebMediaStreamSource source() const;
68 BLINK_PLATFORM_EXPORT bool isEnabled() const; 68 BLINK_PLATFORM_EXPORT bool isEnabled() const;
69 BLINK_PLATFORM_EXPORT bool isMuted() const; 69 BLINK_PLATFORM_EXPORT bool isMuted() const;
70 70
71 // Extra data associated with this WebMediaStream. 71 // Extra data associated with this WebMediaStream.
72 // If non-null, the extra data pointer will be deleted when the object is de stroyed. 72 // If non-null, the extra data pointer will be deleted when the object is de stroyed.
73 // Setting the extra data pointer will cause any existing non-null 73 // Setting the extra data pointer will cause any existing non-null
74 // extra data pointer to be deleted. 74 // extra data pointer to be deleted.
75 BLINK_PLATFORM_EXPORT ExtraData* extraData() const; 75 BLINK_PLATFORM_EXPORT ExtraData* getExtraData() const;
76 BLINK_PLATFORM_EXPORT void setExtraData(ExtraData*); 76 BLINK_PLATFORM_EXPORT void setExtraData(ExtraData*);
77 77
78 // The lifetime of the WebAudioSourceProvider should outlive the 78 // The lifetime of the WebAudioSourceProvider should outlive the
79 // WebMediaStreamTrack, and clients are responsible for calling 79 // WebMediaStreamTrack, and clients are responsible for calling
80 // setSourceProvider(0) before the WebMediaStreamTrack is going away. 80 // setSourceProvider(0) before the WebMediaStreamTrack is going away.
81 BLINK_PLATFORM_EXPORT void setSourceProvider(WebAudioSourceProvider*); 81 BLINK_PLATFORM_EXPORT void setSourceProvider(WebAudioSourceProvider*);
82 82
83 #if INSIDE_BLINK 83 #if INSIDE_BLINK
84 BLINK_PLATFORM_EXPORT WebMediaStreamTrack(MediaStreamComponent*); 84 BLINK_PLATFORM_EXPORT WebMediaStreamTrack(MediaStreamComponent*);
85 BLINK_PLATFORM_EXPORT WebMediaStreamTrack& operator=(MediaStreamComponent*); 85 BLINK_PLATFORM_EXPORT WebMediaStreamTrack& operator=(MediaStreamComponent*);
86 BLINK_PLATFORM_EXPORT operator WTF::PassRefPtr<MediaStreamComponent>() const ; 86 BLINK_PLATFORM_EXPORT operator WTF::PassRefPtr<MediaStreamComponent>() const ;
87 BLINK_PLATFORM_EXPORT operator MediaStreamComponent*() const; 87 BLINK_PLATFORM_EXPORT operator MediaStreamComponent*() const;
88 #endif 88 #endif
89 89
90 private: 90 private:
91 WebPrivatePtr<MediaStreamComponent> m_private; 91 WebPrivatePtr<MediaStreamComponent> m_private;
92 }; 92 };
93 93
94 } // namespace blink 94 } // namespace blink
95 95
96 #endif // WebMediaStreamTrack_h 96 #endif // WebMediaStreamTrack_h
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/WebMediaStream.h ('k') | third_party/WebKit/public/platform/WebPrerender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698