This source file includes following definitions.
- restore_
#include "ui/events/platform/scoped_event_dispatcher.h"
#include "ui/events/platform/platform_event_source.h"
namespace ui {
ScopedEventDispatcher::ScopedEventDispatcher(
PlatformEventDispatcher** scoped_dispatcher,
PlatformEventDispatcher* new_dispatcher)
: original_(*scoped_dispatcher),
restore_(scoped_dispatcher, new_dispatcher) {}
ScopedEventDispatcher::~ScopedEventDispatcher() {
PlatformEventSource::GetInstance()->OnOverriddenDispatcherRestored();
}
}