Home
last modified time | relevance | path

Searched refs:rewritten_event (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/ui/chromeos/
Dtouch_exploration_controller.cc68 scoped_ptr<ui::Event>* rewritten_event) { in RewriteEvent() argument
121 return InNoFingersDown(touch_event, rewritten_event); in RewriteEvent()
123 return InSingleTapPressed(touch_event, rewritten_event); in RewriteEvent()
125 return InSingleTapReleased(touch_event, rewritten_event); in RewriteEvent()
127 return InDoubleTapPressed(touch_event, rewritten_event); in RewriteEvent()
129 return InTouchExploration(touch_event, rewritten_event); in RewriteEvent()
131 return InPassthroughMinusOne(touch_event, rewritten_event); in RewriteEvent()
133 return InTouchExploreSecondPress(touch_event, rewritten_event); in RewriteEvent()
147 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event) { in InNoFingersDown() argument
165 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event) { in InSingleTapPressed() argument
[all …]
Dtouch_exploration_controller.h95 scoped_ptr<ui::Event>* rewritten_event) OVERRIDE;
101 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event);
103 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event);
105 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event);
107 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event);
109 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event);
111 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event);
113 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event);
/external/chromium_org/ui/events/
Devent_source.cc33 scoped_ptr<Event> rewritten_event; in SendEventToProcessor() local
38 status = (*it)->RewriteEvent(*event, &rewritten_event); in SendEventToProcessor()
40 CHECK(!rewritten_event); in SendEventToProcessor()
44 CHECK(!rewritten_event); in SendEventToProcessor()
49 CHECK((it == end && !rewritten_event) || rewritten_event); in SendEventToProcessor()
51 DeliverEventToProcessor(rewritten_event ? rewritten_event.get() : event); in SendEventToProcessor()
57 status = (*it)->NextDispatchEvent(*rewritten_event, &new_event); in SendEventToProcessor()
65 rewritten_event.reset(new_event.release()); in SendEventToProcessor()
Devent_rewriter_unittest.cc87 scoped_ptr<Event>* rewritten_event) in RewriteEvent() argument
90 rewritten_event->reset(new TestEvent(type_)); in RewriteEvent()
117 scoped_ptr<Event>* rewritten_event) in RewriteEvent() argument
126 rewritten_event->reset(last_rewritten_event_); in RewriteEvent()
Devent_rewriter.h53 scoped_ptr<Event>* rewritten_event) = 0;
/external/chromium_org/chrome/browser/chromeos/events/
Dkeyboard_driven_event_rewriter.cc38 scoped_ptr<ui::Event>* rewritten_event) { in RewriteForTesting() argument
39 return Rewrite(event, rewritten_event); in RewriteForTesting()
44 scoped_ptr<ui::Event>* rewritten_event) { in RewriteEvent() argument
48 return Rewrite(event, rewritten_event); in RewriteEvent()
60 scoped_ptr<ui::Event>* rewritten_event) { in Rewrite() argument
80 rewritten_event->reset(new ui::KeyEvent(key_event)); in Rewrite()
81 (*rewritten_event)->set_flags( in Rewrite()
Devent_rewriter.h84 scoped_ptr<ui::Event>* rewritten_event) OVERRIDE;
153 scoped_ptr<ui::Event>* rewritten_event);
156 scoped_ptr<ui::Event>* rewritten_event);
159 scoped_ptr<ui::Event>* rewritten_event);
Dkeyboard_driven_event_rewriter_unittest.cc27 scoped_ptr<ui::Event> rewritten_event; in GetRewrittenEventAsString() local
29 rewriter_.RewriteForTesting(keyevent, &rewritten_event); in GetRewrittenEventAsString()
32 rewritten_event ? rewritten_event->flags() : keyevent.flags(), in GetRewrittenEventAsString()
Devent_rewriter.cc192 scoped_ptr<ui::Event>* rewritten_event) { in RewriteEvent() argument
204 rewritten_event); in RewriteEvent()
208 rewritten_event); in RewriteEvent()
212 rewritten_event); in RewriteEvent()
334 scoped_ptr<ui::Event>* rewritten_event) { in RewriteKeyEvent() argument
345 rewritten_event->reset(rewritten_key_event); in RewriteKeyEvent()
368 scoped_ptr<ui::Event>* rewritten_event) { in RewriteMouseEvent() argument
374 rewritten_event->reset(rewritten_mouse_event); in RewriteMouseEvent()
405 scoped_ptr<ui::Event>* rewritten_event) { in RewriteTouchEvent() argument
411 rewritten_event->reset(rewritten_touch_event); in RewriteTouchEvent()
Devent_rewriter_unittest.cc1570 std::string rewritten_event; in TEST_F() local
1621 scoped_ptr<ui::Event>* rewritten_event) { in RewriteFunctionKeys() argument
1622 return rewriter_->RewriteEvent(event, rewritten_event); in RewriteFunctionKeys()
1660 scoped_ptr<ui::Event> rewritten_event; in TEST_F() local
1661 ASSERT_FALSE(RewriteFunctionKeys(press_f1, &rewritten_event)); in TEST_F()
1662 ASSERT_FALSE(rewritten_event); in TEST_F()
1673 ASSERT_FALSE(RewriteFunctionKeys(press_f1, &rewritten_event)); in TEST_F()
1674 ASSERT_FALSE(rewritten_event); in TEST_F()
1682 ASSERT_TRUE(RewriteFunctionKeys(press_f1, &rewritten_event)); in TEST_F()
1683 ASSERT_TRUE(rewritten_event); in TEST_F()
[all …]