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