Home
last modified time | relevance | path

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

/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/ui/chromeos/
Dtouch_exploration_controller.h180 scoped_ptr<ui::Event>* rewritten_event) OVERRIDE;
186 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event);
188 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event);
190 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event);
192 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event);
194 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event);
196 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event);
198 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event);
200 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event);
202 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event);
[all …]
Dtouch_exploration_controller.cc58 scoped_ptr<ui::Event>* rewritten_event) { in RewriteEvent() argument
160 return InNoFingersDown(touch_event, rewritten_event); in RewriteEvent()
162 return InSingleTapPressed(touch_event, rewritten_event); in RewriteEvent()
165 return InSingleTapOrTouchExploreReleased(touch_event, rewritten_event); in RewriteEvent()
167 return InDoubleTapPending(touch_event, rewritten_event); in RewriteEvent()
169 return InTouchReleasePending(touch_event, rewritten_event); in RewriteEvent()
171 return InTouchExploration(touch_event, rewritten_event); in RewriteEvent()
173 return InGestureInProgress(touch_event, rewritten_event); in RewriteEvent()
175 return InTouchExploreSecondPress(touch_event, rewritten_event); in RewriteEvent()
177 return InSlideGesture(touch_event, rewritten_event); in RewriteEvent()
[all …]
/external/chromium_org/chrome/browser/chromeos/events/
Devent_rewriter.h59 scoped_ptr<ui::Event>* rewritten_event);
78 scoped_ptr<ui::Event>* rewritten_event) OVERRIDE;
88 scoped_ptr<ui::Event>* rewritten_event);
145 scoped_ptr<ui::Event>* rewritten_event);
148 scoped_ptr<ui::Event>* rewritten_event);
151 scoped_ptr<ui::Event>* rewritten_event);
154 scoped_ptr<ui::Event>* rewritten_event);
157 scoped_ptr<ui::Event>* rewritten_event);
Dkeyboard_driven_event_rewriter.cc39 scoped_ptr<ui::Event>* rewritten_event) { in RewriteForTesting() argument
40 return Rewrite(event, rewritten_event); in RewriteForTesting()
45 scoped_ptr<ui::Event>* rewritten_event) { in RewriteEvent() argument
49 return Rewrite(event, rewritten_event); in RewriteEvent()
61 scoped_ptr<ui::Event>* rewritten_event) { in Rewrite() argument
85 rewritten_event); in Rewrite()
Devent_rewriter.cc173 scoped_ptr<ui::Event>* rewritten_event) { in RewriteMouseButtonEventForTesting() argument
174 RewriteMouseButtonEvent(event, rewritten_event); in RewriteMouseButtonEventForTesting()
179 scoped_ptr<ui::Event>* rewritten_event) { in RewriteEvent() argument
183 rewritten_event); in RewriteEvent()
188 rewritten_event); in RewriteEvent()
192 static_cast<const ui::MouseWheelEvent&>(event), rewritten_event); in RewriteEvent()
197 rewritten_event); in RewriteEvent()
201 rewritten_event); in RewriteEvent()
225 scoped_ptr<ui::Event>* rewritten_event) { in BuildRewrittenKeyEvent() argument
279 rewritten_event->reset(rewritten_key_event); in BuildRewrittenKeyEvent()
[all …]
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_unittest.cc1834 scoped_ptr<ui::Event>* rewritten_event) { in RewriteFunctionKeys() argument
1835 return rewriter_->RewriteEvent(event, rewritten_event); in RewriteFunctionKeys()