X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fui%2Fviews%2Fwidget%2Fdesktop_aura%2Fdesktop_window_tree_host_x11.h;h=a67a1516820c0e8d20736896c435c77b3c339c85;hb=490a4587e7e356282cb1453efaf36de4acc9762f;hp=cbcd9fc0e1f1dce3f27ab1fe69eedaee895b7df0;hpb=3a51af92707b9c600d06a404c9db8f07fcd50959;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h b/src/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h index cbcd9fc..a67a151 100644 --- a/src/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h +++ b/src/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h @@ -9,6 +9,7 @@ #include #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" @@ -144,6 +145,7 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11 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; @@ -232,6 +234,8 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11 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 close_widget_factory_; // X11 things @@ -331,6 +335,8 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11 // the frame when |xwindow_| gains focus or handles a mouse button event. bool urgency_hint_set_; + base::CancelableCallback delayed_resize_task_; + DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); };