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

Unified Diff: content/renderer/android/synchronous_compositor_filter.cc

Issue 1974133002: sync compositor: Remove sync input path (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
Index: content/renderer/android/synchronous_compositor_filter.cc
diff --git a/content/renderer/android/synchronous_compositor_filter.cc b/content/renderer/android/synchronous_compositor_filter.cc
index 9bde7f386e0f74d44ea472a0279c9cbc7f57e1e0..75e671daef3974f9ca39020c95f199c9dc2564ca 100644
--- a/content/renderer/android/synchronous_compositor_filter.cc
+++ b/content/renderer/android/synchronous_compositor_filter.cc
@@ -187,9 +187,9 @@ void SynchronousCompositorFilter::CheckIsReady(int routing_id) {
if (filter_ready_ && entry.IsReady()) {
DCHECK(!sync_compositor_map_.contains(routing_id));
std::unique_ptr<SynchronousCompositorProxy> proxy(
- new SynchronousCompositorProxy(
- routing_id, this, entry.begin_frame_source,
- entry.synchronous_input_handler_proxy, &input_handler_));
+ new SynchronousCompositorProxy(routing_id, this,
+ entry.begin_frame_source,
+ entry.synchronous_input_handler_proxy));
if (entry.output_surface)
proxy->SetOutputSurface(entry.output_surface);
sync_compositor_map_.add(routing_id, std::move(proxy));
@@ -212,46 +212,6 @@ void SynchronousCompositorFilter::RemoveEntryIfNeeded(int routing_id) {
}
}
-void SynchronousCompositorFilter::SetBoundHandler(const Handler& handler) {
- compositor_task_runner_->PostTask(
- FROM_HERE,
- base::Bind(
- &SynchronousCompositorFilter::SetBoundHandlerOnCompositorThread, this,
- handler));
-}
-
-void SynchronousCompositorFilter::DidAddInputHandler(int routing_id) {}
-void SynchronousCompositorFilter::DidRemoveInputHandler(int routing_id) {}
-
-void SynchronousCompositorFilter::SetBoundHandlerOnCompositorThread(
- const Handler& handler) {
- DCHECK(compositor_task_runner_->BelongsToCurrentThread());
- input_handler_ = handler;
-}
-
-void SynchronousCompositorFilter::DidOverscroll(
- int routing_id,
- const DidOverscrollParams& params) {
- DCHECK(compositor_task_runner_->BelongsToCurrentThread());
- SynchronousCompositorProxy* proxy = FindProxy(routing_id);
- if (!proxy) {
- DLOG(WARNING) << "No matching proxy in DidOverScroll " << routing_id;
- return;
- }
- proxy->DidOverscroll(params);
-}
-
-void SynchronousCompositorFilter::DidStartFlinging(int routing_id) {}
-
-void SynchronousCompositorFilter::DidStopFlinging(int routing_id) {
- DCHECK(compositor_task_runner_->BelongsToCurrentThread());
- Send(new InputHostMsg_DidStopFlinging(routing_id));
-}
-
-void SynchronousCompositorFilter::NotifyInputEventHandled(
- int routing_id,
- blink::WebInputEvent::Type type) {}
-
void SynchronousCompositorFilter::DidAddSynchronousHandlerProxy(
int routing_id,
ui::SynchronousInputHandlerProxy* synchronous_input_handler_proxy) {
« no previous file with comments | « content/renderer/android/synchronous_compositor_filter.h ('k') | content/renderer/android/synchronous_compositor_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698