1 // Copyright 2013 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "ui/events/event_source.h" 6 7 #include "ui/events/event_processor.h" 8 9 namespace ui { 10 SendEventToProcessor(Event * event)11void EventSource::SendEventToProcessor(Event* event) { 12 EventProcessor* processor = GetEventProcessor(); 13 CHECK(processor); 14 EventDispatchDetails details = processor->OnEventFromSource(event); 15 if (details.dispatcher_destroyed) 16 return; 17 } 18 19 } // namespace ui 20