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

Unified Diff: ui/aura/test/window_event_dispatcher_test_api.cc

Issue 330113002: Fixing flaky overscroll and touch exploration mode browser tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding back a comment removed by accident. Created 6 years, 6 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 | « ui/aura/test/window_event_dispatcher_test_api.h ('k') | ui/aura/window_event_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/window_event_dispatcher_test_api.cc
diff --git a/ui/aura/test/window_event_dispatcher_test_api.cc b/ui/aura/test/window_event_dispatcher_test_api.cc
new file mode 100644
index 0000000000000000000000000000000000000000..13b9743d05711cc8764746f31182424066047b64
--- /dev/null
+++ b/ui/aura/test/window_event_dispatcher_test_api.cc
@@ -0,0 +1,22 @@
+// Copyright 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ui/aura/test/window_event_dispatcher_test_api.h"
+
+#include "ui/aura/window_event_dispatcher.h"
+
+namespace aura {
+namespace test {
+
+WindowEventDispatcherTestApi::WindowEventDispatcherTestApi(
+ WindowEventDispatcher* dispatcher) : dispatcher_(dispatcher) {
+}
+
+bool WindowEventDispatcherTestApi::HoldingPointerMoves() const {
+ return dispatcher_->move_hold_count_ > 0;
+}
+
+} // namespace test
+} // namespace aura
+
« no previous file with comments | « ui/aura/test/window_event_dispatcher_test_api.h ('k') | ui/aura/window_event_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698