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

Side by Side Diff: content/renderer/mus/compositor_mus_connection_unittest.cc

Issue 2479023003: Remove is_fling flag for fling intervention (Closed)
Patch Set: Make enum explicitly 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include "content/renderer/mus/compositor_mus_connection.h" 5 #include "content/renderer/mus/compositor_mus_connection.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 TestInputHandlerManagerClient() {} 124 TestInputHandlerManagerClient() {}
125 ~TestInputHandlerManagerClient() override{}; 125 ~TestInputHandlerManagerClient() override{};
126 126
127 // content::InputHandlerManagerClient: 127 // content::InputHandlerManagerClient:
128 void SetInputHandlerManager( 128 void SetInputHandlerManager(
129 content::InputHandlerManager* input_handler_manager) override {} 129 content::InputHandlerManager* input_handler_manager) override {}
130 void RegisterRoutingID(int routing_id) override {} 130 void RegisterRoutingID(int routing_id) override {}
131 void UnregisterRoutingID(int routing_id) override {} 131 void UnregisterRoutingID(int routing_id) override {}
132 void DidOverscroll(int routing_id, 132 void DidOverscroll(int routing_id,
133 const ui::DidOverscrollParams& params) override {} 133 const ui::DidOverscrollParams& params) override {}
134 void DidStartFlinging(int routing_id) override {}
135 void DidStopFlinging(int routing_id) override {} 134 void DidStopFlinging(int routing_id) override {}
136 void DispatchNonBlockingEventToMainThread( 135 void DispatchNonBlockingEventToMainThread(
137 int routing_id, 136 int routing_id,
138 ui::ScopedWebInputEvent event, 137 ui::ScopedWebInputEvent event,
139 const ui::LatencyInfo& latency_info) override {} 138 const ui::LatencyInfo& latency_info) override {}
140 139
141 void NotifyInputEventHandled( 140 void NotifyInputEventHandled(
142 int routing_id, 141 int routing_id,
143 blink::WebInputEvent::Type type, 142 blink::WebInputEvent::Type type,
144 content::InputEventAckState ack_result) override {} 143 content::InputEventAckState ack_result) override {}
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 EXPECT_FALSE(ack_callback.get()); 494 EXPECT_FALSE(ack_callback.get());
496 495
497 VerifyAndRunQueues(true, true); 496 VerifyAndRunQueues(true, true);
498 497
499 // The ack callback should have been called 498 // The ack callback should have been called
500 EXPECT_TRUE(test_callback->called()); 499 EXPECT_TRUE(test_callback->called());
501 EXPECT_EQ(EventResult::HANDLED, test_callback->result()); 500 EXPECT_EQ(EventResult::HANDLED, test_callback->result());
502 } 501 }
503 502
504 } // namespace content 503 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/input/main_thread_event_queue_unittest.cc ('k') | content/renderer/render_widget_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698