tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

FallbackScreenConfiguration.cpp (538B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
      3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 #include "Hal.h"
      6 
      7 namespace mozilla::hal_impl {
      8 
      9 RefPtr<GenericNonExclusivePromise> LockScreenOrientation(
     10    const hal::ScreenOrientation& aOrientation) {
     11  return GenericNonExclusivePromise::CreateAndReject(
     12      NS_ERROR_DOM_NOT_SUPPORTED_ERR, __func__);
     13 }
     14 
     15 void UnlockScreenOrientation() {}
     16 
     17 }  // namespace mozilla::hal_impl