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

Unified Diff: components/scheduler/renderer/renderer_scheduler_impl.h

Issue 1971763003: scheduler: Detect when a main thread touch stream turns into a compositor gesture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/scheduler/renderer/renderer_scheduler_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/scheduler/renderer/renderer_scheduler_impl.h
diff --git a/components/scheduler/renderer/renderer_scheduler_impl.h b/components/scheduler/renderer/renderer_scheduler_impl.h
index 34c5015b3cefc6e5b2b41dd9153a3e503a27d005..080f4b596e572388fd91ebcd502a874e93a99b8f 100644
--- a/components/scheduler/renderer/renderer_scheduler_impl.h
+++ b/components/scheduler/renderer/renderer_scheduler_impl.h
@@ -111,6 +111,7 @@ class SCHEDULER_EXPORT RendererSchedulerImpl
void RunIdleTasksForTesting(const base::Closure& callback);
void EndIdlePeriodForTesting(const base::Closure& callback,
base::TimeTicks time_remaining);
+ bool PolicyNeedsUpdateForTesting();
base::TickClock* tick_clock() const;
@@ -262,10 +263,6 @@ class SCHEDULER_EXPORT RendererSchedulerImpl
base::TimeTicks now,
base::TimeDelta* expected_use_case_duration) const;
- // Works out if a gesture appears to be in progress based on the current
- // input signals. Can be called from any thread.
- bool InputSignalsSuggestGestureInProgress(base::TimeTicks now) const;
-
// An input event of some sort happened, the policy may need updating.
void UpdateForInputEventOnCompositorThread(blink::WebInputEvent::Type type,
InputEventState input_event_state);
« no previous file with comments | « no previous file | components/scheduler/renderer/renderer_scheduler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698