#include "third_party/blink/renderer/platform/scheduler/main_thread/widget_scheduler_impl.h"
#include "base/task/single_thread_task_runner.h"
#include "third_party/blink/renderer/platform/scheduler/main_thread/main_thread_scheduler_impl.h"
namespace blink::scheduler {
WidgetSchedulerImpl::WidgetSchedulerImpl(
MainThreadSchedulerImpl* main_thread_scheduler,
RenderWidgetSignals* render_widget_signals)
: … { … }
WidgetSchedulerImpl::~WidgetSchedulerImpl() = default;
void WidgetSchedulerImpl::Shutdown() { … }
scoped_refptr<base::SingleThreadTaskRunner>
WidgetSchedulerImpl::InputTaskRunner() { … }
void WidgetSchedulerImpl::WillBeginFrame(const viz::BeginFrameArgs& args) { … }
void WidgetSchedulerImpl::BeginFrameNotExpectedSoon() { … }
void WidgetSchedulerImpl::BeginMainFrameNotExpectedUntil(base::TimeTicks time) { … }
void WidgetSchedulerImpl::DidCommitFrameToCompositor() { … }
void WidgetSchedulerImpl::DidHandleInputEventOnCompositorThread(
const WebInputEvent& web_input_event,
InputEventState event_state) { … }
void WidgetSchedulerImpl::WillPostInputEventToMainThread(
WebInputEvent::Type web_input_event_type,
const WebInputEventAttribution& web_input_event_attribution) { … }
void WidgetSchedulerImpl::WillHandleInputEventOnMainThread(
WebInputEvent::Type web_input_event_type,
const WebInputEventAttribution& web_input_event_attribution) { … }
void WidgetSchedulerImpl::DidHandleInputEventOnMainThread(
const WebInputEvent& web_input_event,
WebInputEventResult result,
bool frame_requested) { … }
void WidgetSchedulerImpl::DidRunBeginMainFrame() { … }
void WidgetSchedulerImpl::SetHidden(bool hidden) { … }
}