| 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_ROOT_WINDOW_HOST_LINUX_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ |
| 6 #define UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ |
| 7 | 7 |
| 8 #include <X11/Xlib.h> | 8 #include <X11/Xlib.h> |
| 9 | 9 |
| 10 // Get rid of a macro from Xlib.h that conflicts with Aura's RootWindow class. | 10 // Get rid of a macro from Xlib.h that conflicts with Aura's RootWindow class. |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 virtual void Restore() OVERRIDE; | 117 virtual void Restore() OVERRIDE; |
| 118 virtual bool IsMaximized() const OVERRIDE; | 118 virtual bool IsMaximized() const OVERRIDE; |
| 119 virtual bool IsMinimized() const OVERRIDE; | 119 virtual bool IsMinimized() const OVERRIDE; |
| 120 virtual bool HasCapture() const OVERRIDE; | 120 virtual bool HasCapture() const OVERRIDE; |
| 121 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; | 121 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; |
| 122 virtual InputMethod* CreateInputMethod() OVERRIDE; | 122 virtual InputMethod* CreateInputMethod() OVERRIDE; |
| 123 virtual internal::InputMethodDelegate* GetInputMethodDelegate() OVERRIDE; | 123 virtual internal::InputMethodDelegate* GetInputMethodDelegate() OVERRIDE; |
| 124 virtual void SetWindowTitle(const string16& title) OVERRIDE; | 124 virtual void SetWindowTitle(const string16& title) OVERRIDE; |
| 125 virtual void ClearNativeFocus() OVERRIDE; | 125 virtual void ClearNativeFocus() OVERRIDE; |
| 126 virtual Widget::MoveLoopResult RunMoveLoop( | 126 virtual Widget::MoveLoopResult RunMoveLoop( |
| 127 const gfx::Point& drag_offset) OVERRIDE; | 127 const gfx::Vector2d& drag_offset) OVERRIDE; |
| 128 virtual void EndMoveLoop() OVERRIDE; | 128 virtual void EndMoveLoop() OVERRIDE; |
| 129 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; | 129 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; |
| 130 virtual bool ShouldUseNativeFrame() OVERRIDE; | 130 virtual bool ShouldUseNativeFrame() OVERRIDE; |
| 131 virtual void FrameTypeChanged() OVERRIDE; | 131 virtual void FrameTypeChanged() OVERRIDE; |
| 132 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; | 132 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; |
| 133 virtual void SetFullscreen(bool fullscreen) OVERRIDE; | 133 virtual void SetFullscreen(bool fullscreen) OVERRIDE; |
| 134 virtual bool IsFullscreen() const OVERRIDE; | 134 virtual bool IsFullscreen() const OVERRIDE; |
| 135 virtual void SetOpacity(unsigned char opacity) OVERRIDE; | 135 virtual void SetOpacity(unsigned char opacity) OVERRIDE; |
| 136 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, | 136 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, |
| 137 const gfx::ImageSkia& app_icon) OVERRIDE; | 137 const gfx::ImageSkia& app_icon) OVERRIDE; |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 // can notify widgets when they have lost capture, which controls a bunch of | 250 // can notify widgets when they have lost capture, which controls a bunch of |
| 251 // things in views like hiding menus. | 251 // things in views like hiding menus. |
| 252 static DesktopRootWindowHostLinux* g_current_capture; | 252 static DesktopRootWindowHostLinux* g_current_capture; |
| 253 | 253 |
| 254 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostLinux); | 254 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostLinux); |
| 255 }; | 255 }; |
| 256 | 256 |
| 257 } // namespace views | 257 } // namespace views |
| 258 | 258 |
| 259 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ | 259 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ |
| OLD | NEW |