#ifndef CONTENT_BROWSER_SCHEDULER_RESPONSIVENESS_NATIVE_EVENT_OBSERVER_H_
#define CONTENT_BROWSER_SCHEDULER_RESPONSIVENESS_NATIVE_EVENT_OBSERVER_H_
#include <vector>
#include "base/functional/callback.h"
#include "base/memory/raw_ptr.h"
#include "build/build_config.h"
#include "content/common/content_export.h"
#if BUILDFLAG(IS_MAC)
#include "content/public/browser/native_event_processor_observer_mac.h"
#endif
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
#include "ui/aura/window_event_dispatcher_observer.h"
#endif
#if BUILDFLAG(IS_WIN)
#include "base/message_loop/message_pump_win.h"
#endif
namespace content {
namespace responsiveness {
class CONTENT_EXPORT NativeEventObserver
#if BUILDFLAG(IS_MAC)
: public NativeEventProcessorObserver
#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
: public aura::WindowEventDispatcherObserver
#elif BUILDFLAG(IS_WIN)
: public base::MessagePumpForUI::Observer
#endif
{ … };
}
}
#endif