commit | 7e1c24cba786b0eda44376c55c1e4c138403633a | [log] [tgz] |
---|---|---|
author | Zijie He <zijiehe@chromium.org> | Fri Jul 28 01:06:12 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jul 28 18:08:45 2017 |
tree | 37ad9832daeca06c04dcf8110a3cb39025637168 | |
parent | e2173d9f0d2d991d576ffa71a18761af69b72ede [diff] |
Update ResolutionChangeDetector to make it match common practices ResolutionChangeDetector now does not update its internal state. There is no impact because Reset() is always actively called. So this change renames ResolutionChangeDetector to ResolutionTracker, and rename the IsChanged() function into SetResolution(), which returns true if a replacement happened. Internally it always records the latest DesktopSize. Customers of this class can still use SetResolution() function to check whether a DesktopSize change happened. Bug: webrtc:8038 Change-Id: I6d25f3dd2d0567219a82b6688bf3e08560c8b0af Reviewed-on: https://chromium-review.googlesource.com/587405 Reviewed-by: Jamie Walch <jamiewalch@chromium.org> Commit-Queue: Zijie He <zijiehe@chromium.org> Cr-Commit-Position: refs/heads/master@{#19184}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.