Lines Matching defs:event_handler_
49 event_handler_.reset(new ui::test::TestEventHandler());
50 root_window_->AddPreTargetHandler(event_handler_.get());
55 root_window_->RemovePreTargetHandler(event_handler_.get());
73 scoped_ptr<ui::test::TestEventHandler> event_handler_;
103 EXPECT_EQ(0, event_handler_->num_mouse_events());
104 EXPECT_EQ(2, event_handler_->num_touch_events());
105 event_handler_->Reset();
108 EXPECT_EQ(0, event_handler_->num_mouse_events());
109 EXPECT_EQ(1, event_handler_->num_touch_events());
110 event_handler_->Reset();
123 EXPECT_EQ(0, event_handler_->num_mouse_events());
124 EXPECT_EQ(2, event_handler_->num_touch_events());
152 EXPECT_GT(event_handler_->num_mouse_events(), 0);
153 EXPECT_EQ(0, event_handler_->num_touch_events());
154 event_handler_->Reset();
167 EXPECT_GT(event_handler_->num_mouse_events(), 0);
168 EXPECT_EQ(1, event_handler_->num_touch_events());
169 event_handler_->Reset();
182 EXPECT_GT(event_handler_->num_mouse_events(), 0);
183 EXPECT_EQ(1, event_handler_->num_touch_events());
220 event_handler_->Reset();
233 EXPECT_EQ(2, event_handler_->num_touch_events());
234 event_handler_->Reset();
239 EXPECT_EQ(0, event_handler_->num_touch_events());