#ifndef UI_BASE_X_ROOT_WINDOW_PROPERTY_WATCHER_X_H_
#define UI_BASE_X_ROOT_WINDOW_PROPERTY_WATCHER_X_H_
#include <gdk/gdk.h>
#include "base/basictypes.h"
#include "ui/base/gtk/gtk_signal.h"
template <typename T> struct DefaultSingletonTraits;
namespace ui {
namespace internal {
class RootWindowPropertyWatcherX {
public:
static RootWindowPropertyWatcherX* GetInstance();
private:
friend struct DefaultSingletonTraits<RootWindowPropertyWatcherX>;
RootWindowPropertyWatcherX();
~RootWindowPropertyWatcherX();
CHROMEG_CALLBACK_1(RootWindowPropertyWatcherX, GdkFilterReturn,
OnWindowXEvent, GdkXEvent*, GdkEvent*);
DISALLOW_COPY_AND_ASSIGN(RootWindowPropertyWatcherX);
};
}
}
#endif