UserNavigationInvolvement.h (731B)
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 /* vim: set ts=2 sts=2 et sw=2 tw=80: */ 3 /* This Source Code Form is subject to the terms of the Mozilla Public 4 * License, v. 2.0. If a copy of the MPL was not distributed with this 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 6 7 #ifndef mozilla_dom_UserNavigationInvolvement_h___ 8 #define mozilla_dom_UserNavigationInvolvement_h___ 9 #include <cstdint> 10 namespace mozilla::dom { 11 12 // See https://bugzilla.mozilla.org/show_bug.cgi?id=1903552. 13 // https://html.spec.whatwg.org/#user-navigation-involvement 14 enum class UserNavigationInvolvement : uint8_t { 15 None = 0, 16 Activation = 1, 17 BrowserUI = 2 18 }; 19 } // namespace mozilla::dom 20 21 #endif