| 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 virtual bool IsActive() const OVERRIDE; | 115 virtual bool IsActive() const OVERRIDE; |
| 116 virtual void Maximize() OVERRIDE; | 116 virtual void Maximize() OVERRIDE; |
| 117 virtual void Minimize() OVERRIDE; | 117 virtual void Minimize() OVERRIDE; |
| 118 virtual void Restore() OVERRIDE; | 118 virtual void Restore() OVERRIDE; |
| 119 virtual bool IsMaximized() const OVERRIDE; | 119 virtual bool IsMaximized() const OVERRIDE; |
| 120 virtual bool IsMinimized() const OVERRIDE; | 120 virtual bool IsMinimized() const OVERRIDE; |
| 121 virtual bool HasCapture() const OVERRIDE; | 121 virtual bool HasCapture() const OVERRIDE; |
| 122 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; | 122 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; |
| 123 virtual bool IsAlwaysOnTop() const OVERRIDE; | 123 virtual bool IsAlwaysOnTop() const OVERRIDE; |
| 124 virtual void SetVisibleOnAllWorkspaces(bool always_visible) OVERRIDE; | 124 virtual void SetVisibleOnAllWorkspaces(bool always_visible) OVERRIDE; |
| 125 virtual void SetInterceptAllKeys(bool want_all_keys) OVERRIDE; |
| 125 virtual bool SetWindowTitle(const base::string16& title) OVERRIDE; | 126 virtual bool SetWindowTitle(const base::string16& title) OVERRIDE; |
| 126 virtual void ClearNativeFocus() OVERRIDE; | 127 virtual void ClearNativeFocus() OVERRIDE; |
| 127 virtual Widget::MoveLoopResult RunMoveLoop( | 128 virtual Widget::MoveLoopResult RunMoveLoop( |
| 128 const gfx::Vector2d& drag_offset, | 129 const gfx::Vector2d& drag_offset, |
| 129 Widget::MoveLoopSource source, | 130 Widget::MoveLoopSource source, |
| 130 Widget::MoveLoopEscapeBehavior escape_behavior) OVERRIDE; | 131 Widget::MoveLoopEscapeBehavior escape_behavior) OVERRIDE; |
| 131 virtual void EndMoveLoop() OVERRIDE; | 132 virtual void EndMoveLoop() OVERRIDE; |
| 132 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; | 133 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; |
| 133 virtual bool ShouldUseNativeFrame() const OVERRIDE; | 134 virtual bool ShouldUseNativeFrame() const OVERRIDE; |
| 134 virtual bool ShouldWindowContentsBeTransparent() const OVERRIDE; | 135 virtual bool ShouldWindowContentsBeTransparent() const OVERRIDE; |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 // attention to the window or completely ignore the hint. We stop flashing | 325 // attention to the window or completely ignore the hint. We stop flashing |
| 325 // the frame when |xwindow_| gains focus or handles a mouse button event. | 326 // the frame when |xwindow_| gains focus or handles a mouse button event. |
| 326 bool urgency_hint_set_; | 327 bool urgency_hint_set_; |
| 327 | 328 |
| 328 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); | 329 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); |
| 329 }; | 330 }; |
| 330 | 331 |
| 331 } // namespace views | 332 } // namespace views |
| 332 | 333 |
| 333 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ | 334 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ |
| OLD | NEW |