#include "third_party/blink/renderer/platform/scheduler/common/features.h"
#include "base/command_line.h"
#include "components/miracle_parameter/common/public/miracle_parameter.h"
#include "third_party/blink/public/common/features.h"
#include "third_party/blink/public/common/switches.h"
namespace blink {
namespace scheduler {
namespace {
enum class PolicyOverride { … };
bool g_intensive_wake_up_throttling_policy_override_cached_ = …;
PolicyOverride GetIntensiveWakeUpThrottlingPolicyOverride() { … }
}
void ClearIntensiveWakeUpThrottlingPolicyOverrideCacheForTesting() { … }
bool IsIntensiveWakeUpThrottlingEnabled() { … }
base::TimeDelta GetIntensiveWakeUpThrottlingGracePeriod(bool loading) { … }
MIRACLE_PARAMETER_FOR_INT(
GetLoadingPhaseBufferTimeAfterFirstMeaningfulPaintMillis,
features::kLoadingPhaseBufferTimeAfterFirstMeaningfulPaint,
"LoadingPhaseBufferTimeAfterFirstMeaningfulPaintMillis",
0)
base::TimeDelta GetLoadingPhaseBufferTimeAfterFirstMeaningfulPaint() { … }
BASE_FEATURE(…);
BASE_FEATURE(…);
const base::FeatureParam<CompositorTQPolicyDuringThreadedScroll>::Option
kCompositorTQPolicyDuringThreadedScrollOptions[] = …;
const base::FeatureParam<CompositorTQPolicyDuringThreadedScroll>
kCompositorTQPolicyDuringThreadedScroll{ … };
}
}