OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ |
7 | 7 |
8 #include <X11/extensions/shape.h> | 8 #include <X11/extensions/shape.h> |
9 #include <X11/Xlib.h> | 9 #include <X11/Xlib.h> |
10 | 10 |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 virtual void ClearNativeFocus() OVERRIDE; | 110 virtual void ClearNativeFocus() OVERRIDE; |
111 virtual Widget::MoveLoopResult RunMoveLoop( | 111 virtual Widget::MoveLoopResult RunMoveLoop( |
112 const gfx::Vector2d& drag_offset, | 112 const gfx::Vector2d& drag_offset, |
113 Widget::MoveLoopSource source, | 113 Widget::MoveLoopSource source, |
114 Widget::MoveLoopEscapeBehavior escape_behavior) OVERRIDE; | 114 Widget::MoveLoopEscapeBehavior escape_behavior) OVERRIDE; |
115 virtual void EndMoveLoop() OVERRIDE; | 115 virtual void EndMoveLoop() OVERRIDE; |
116 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; | 116 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; |
117 virtual bool ShouldUseNativeFrame() const OVERRIDE; | 117 virtual bool ShouldUseNativeFrame() const OVERRIDE; |
118 virtual bool ShouldWindowContentsBeTransparent() const OVERRIDE; | 118 virtual bool ShouldWindowContentsBeTransparent() const OVERRIDE; |
119 virtual void FrameTypeChanged() OVERRIDE; | 119 virtual void FrameTypeChanged() OVERRIDE; |
120 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; | |
121 virtual void SetFullscreen(bool fullscreen) OVERRIDE; | 120 virtual void SetFullscreen(bool fullscreen) OVERRIDE; |
122 virtual bool IsFullscreen() const OVERRIDE; | 121 virtual bool IsFullscreen() const OVERRIDE; |
123 virtual void SetOpacity(unsigned char opacity) OVERRIDE; | 122 virtual void SetOpacity(unsigned char opacity) OVERRIDE; |
124 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, | 123 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, |
125 const gfx::ImageSkia& app_icon) OVERRIDE; | 124 const gfx::ImageSkia& app_icon) OVERRIDE; |
126 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; | 125 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; |
127 virtual void FlashFrame(bool flash_frame) OVERRIDE; | 126 virtual void FlashFrame(bool flash_frame) OVERRIDE; |
128 virtual void OnRootViewLayout() const OVERRIDE; | 127 virtual void OnRootViewLayout() const OVERRIDE; |
129 virtual void OnNativeWidgetFocus() OVERRIDE; | 128 virtual void OnNativeWidgetFocus() OVERRIDE; |
130 virtual void OnNativeWidgetBlur() OVERRIDE; | 129 virtual void OnNativeWidgetBlur() OVERRIDE; |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 // attention to the window or completely ignore the hint. We stop flashing | 297 // attention to the window or completely ignore the hint. We stop flashing |
299 // the frame when |xwindow_| gains focus or handles a mouse button event. | 298 // the frame when |xwindow_| gains focus or handles a mouse button event. |
300 bool urgency_hint_set_; | 299 bool urgency_hint_set_; |
301 | 300 |
302 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); | 301 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); |
303 }; | 302 }; |
304 | 303 |
305 } // namespace views | 304 } // namespace views |
306 | 305 |
307 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ | 306 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ |
OLD | NEW |