// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_PUBLIC_BROWSER_DISALLOW_ACTIVATION_REASON_H_ #define CONTENT_PUBLIC_BROWSER_DISALLOW_ACTIVATION_REASON_H_ #include "content/public/browser/render_frame_host.h" namespace content { // Reasons to disallow activation of an inactive RenderFrameHost. Disallows // a page to be restored from bfache or used for prerendering activation, // leading to eviction/cancellation. // // These values are persisted to logs. Entries should not be renumbered and // numeric values should never be reused. kMaxValue is not defined because this // enum is not logged directly as an enum because external embedders can supply // their own values. // // This enum's values should not be used by embedders. Embedders should use // values equal to or greater than kMinEmbedderDisallowActivationReason. enum DisallowActivationReasonId : uint64_t { … }; } // namespace content #endif // CONTENT_PUBLIC_BROWSER_DISALLOW_ACTIVATION_REASON_H_