Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(300)

Side by Side Diff: third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.h

Issue 2753843003: Create a new action triggered when a BeginMainFrame is not expected before vsync (Closed)
Patch Set: respond to Brian's comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_RENDERER_SCHEDULER _IMPL_H_ 5 #ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_RENDERER_SCHEDULER _IMPL_H_
6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_RENDERER_SCHEDULER _IMPL_H_ 6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_RENDERER_SCHEDULER _IMPL_H_
7 7
8 #include "base/atomicops.h" 8 #include "base/atomicops.h"
9 #include "base/gtest_prod_util.h" 9 #include "base/gtest_prod_util.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 scoped_refptr<TaskQueue> NewLoadingTaskRunner( 93 scoped_refptr<TaskQueue> NewLoadingTaskRunner(
94 TaskQueue::QueueType queue_type) override; 94 TaskQueue::QueueType queue_type) override;
95 scoped_refptr<TaskQueue> NewTimerTaskRunner( 95 scoped_refptr<TaskQueue> NewTimerTaskRunner(
96 TaskQueue::QueueType queue_type) override; 96 TaskQueue::QueueType queue_type) override;
97 scoped_refptr<TaskQueue> NewUnthrottledTaskRunner( 97 scoped_refptr<TaskQueue> NewUnthrottledTaskRunner(
98 TaskQueue::QueueType queue_type) override; 98 TaskQueue::QueueType queue_type) override;
99 std::unique_ptr<RenderWidgetSchedulingState> NewRenderWidgetSchedulingState() 99 std::unique_ptr<RenderWidgetSchedulingState> NewRenderWidgetSchedulingState()
100 override; 100 override;
101 void WillBeginFrame(const cc::BeginFrameArgs& args) override; 101 void WillBeginFrame(const cc::BeginFrameArgs& args) override;
102 void BeginFrameNotExpectedSoon() override; 102 void BeginFrameNotExpectedSoon() override;
103 void BeginMainFrameNotExpectedUntil(base::TimeTicks time) override;
103 void DidCommitFrameToCompositor() override; 104 void DidCommitFrameToCompositor() override;
104 void DidHandleInputEventOnCompositorThread( 105 void DidHandleInputEventOnCompositorThread(
105 const WebInputEvent& web_input_event, 106 const WebInputEvent& web_input_event,
106 InputEventState event_state) override; 107 InputEventState event_state) override;
107 void DidHandleInputEventOnMainThread(const WebInputEvent& web_input_event, 108 void DidHandleInputEventOnMainThread(const WebInputEvent& web_input_event,
108 WebInputEventResult result) override; 109 WebInputEventResult result) override;
109 void DidAnimateForInputOnCompositorThread() override; 110 void DidAnimateForInputOnCompositorThread() override;
110 void OnRendererBackgrounded() override; 111 void OnRendererBackgrounded() override;
111 void OnRendererForegrounded() override; 112 void OnRendererForegrounded() override;
112 void SuspendRenderer() override; 113 void SuspendRenderer() override;
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 532
532 base::WeakPtrFactory<RendererSchedulerImpl> weak_factory_; 533 base::WeakPtrFactory<RendererSchedulerImpl> weak_factory_;
533 534
534 DISALLOW_COPY_AND_ASSIGN(RendererSchedulerImpl); 535 DISALLOW_COPY_AND_ASSIGN(RendererSchedulerImpl);
535 }; 536 };
536 537
537 } // namespace scheduler 538 } // namespace scheduler
538 } // namespace blink 539 } // namespace blink
539 540
540 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_RENDERER_SCHEDU LER_IMPL_H_ 541 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_RENDERER_SCHEDU LER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698