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

Unified Diff: blimp/client/core/input/blimp_input_handler_wrapper.cc

Issue 2479023003: Remove is_fling flag for fling intervention (Closed)
Patch Set: Rename ack state Created 4 years, 1 month 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: blimp/client/core/input/blimp_input_handler_wrapper.cc
diff --git a/blimp/client/core/input/blimp_input_handler_wrapper.cc b/blimp/client/core/input/blimp_input_handler_wrapper.cc
index 33ecdf31bef76657da6d47c6a4fc258a238cebd0..35c7387c2f323e844e13d9769dc179027689394c 100644
--- a/blimp/client/core/input/blimp_input_handler_wrapper.cc
+++ b/blimp/client/core/input/blimp_input_handler_wrapper.cc
@@ -71,6 +71,8 @@ void BlimpInputHandlerWrapper::HandleWebGestureEvent(
case ui::InputHandlerProxy::EventDisposition::DID_NOT_HANDLE:
consumed = false;
break;
+ default:
Wez 2016/11/07 22:54:07 This should explicitly catch the new enum, rather
lanwei 2016/11/07 23:25:18 Done.
+ NOTREACHED();
}
main_task_runner_->PostTask(
@@ -124,10 +126,6 @@ void BlimpInputHandlerWrapper::DidOverscroll(
DCHECK(compositor_thread_checker_.CalledOnValidThread());
}
-void BlimpInputHandlerWrapper::DidStartFlinging() {
- DCHECK(compositor_thread_checker_.CalledOnValidThread());
-}
-
void BlimpInputHandlerWrapper::DidStopFlinging() {
DCHECK(compositor_thread_checker_.CalledOnValidThread());
}

Powered by Google App Engine
This is Rietveld 408576698