#include "ui/base/x/x11_screensaver.h"
#include <memory>
#include "base/command_line.h"
#include "base/no_destructor.h"
#include "base/notreached.h"
#include "ui/base/x/x11_util.h"
#include "ui/gfx/switches.h"
#include "ui/gfx/x/atom_cache.h"
#include "ui/gfx/x/connection.h"
#include "ui/gfx/x/event.h"
#include "ui/gfx/x/property_cache.h"
#include "ui/gfx/x/screensaver.h"
namespace ui {
namespace {
bool IsMitScreensaverActive(x11::ScreenSaver::State state) { … }
class ScreensaverStatusWatcher : public x11::EventObserver { … };
}
bool IsXScreensaverActive() { … }
}