#include <X11/Xlib.h>
#include "base/basictypes.h"
+#include "base/cancelable_callback.h"
#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
#include "ui/aura/window_tree_host.h"
virtual void OnNativeWidgetFocus() OVERRIDE;
virtual void OnNativeWidgetBlur() OVERRIDE;
virtual bool IsAnimatingClosed() const OVERRIDE;
+ virtual bool IsTranslucentWindowOpacitySupported() const OVERRIDE;
// Overridden from aura::WindowTreeHost:
virtual ui::EventSource* GetEventSource() OVERRIDE;
virtual bool CanDispatchEvent(const ui::PlatformEvent& event) OVERRIDE;
virtual uint32_t DispatchEvent(const ui::PlatformEvent& event) OVERRIDE;
+ void DelayedResize(const gfx::Size& size);
+
base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_;
// X11 things
// the frame when |xwindow_| gains focus or handles a mouse button event.
bool urgency_hint_set_;
+ base::CancelableCallback<void()> delayed_resize_task_;
+
DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11);
};