| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 virtual void Maximize() OVERRIDE; | 77 virtual void Maximize() OVERRIDE; |
| 78 virtual void Minimize() OVERRIDE; | 78 virtual void Minimize() OVERRIDE; |
| 79 virtual void Restore() OVERRIDE; | 79 virtual void Restore() OVERRIDE; |
| 80 virtual bool IsMaximized() const OVERRIDE; | 80 virtual bool IsMaximized() const OVERRIDE; |
| 81 virtual bool IsMinimized() const OVERRIDE; | 81 virtual bool IsMinimized() const OVERRIDE; |
| 82 virtual bool HasCapture() const OVERRIDE; | 82 virtual bool HasCapture() const OVERRIDE; |
| 83 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; | 83 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; |
| 84 virtual InputMethod* CreateInputMethod() OVERRIDE; | 84 virtual InputMethod* CreateInputMethod() OVERRIDE; |
| 85 virtual internal::InputMethodDelegate* GetInputMethodDelegate() OVERRIDE; | 85 virtual internal::InputMethodDelegate* GetInputMethodDelegate() OVERRIDE; |
| 86 virtual void SetWindowTitle(const string16& title) OVERRIDE; | 86 virtual void SetWindowTitle(const string16& title) OVERRIDE; |
| 87 virtual void ClearNativeFocus() OVERRIDE; |
| 87 | 88 |
| 88 // Overridden from aura::RootWindowHost: | 89 // Overridden from aura::RootWindowHost: |
| 89 virtual aura::RootWindow* GetRootWindow() OVERRIDE; | 90 virtual aura::RootWindow* GetRootWindow() OVERRIDE; |
| 90 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; | 91 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; |
| 91 virtual void Show() OVERRIDE; | 92 virtual void Show() OVERRIDE; |
| 92 virtual void Hide() OVERRIDE; | 93 virtual void Hide() OVERRIDE; |
| 93 virtual void ToggleFullScreen() OVERRIDE; | 94 virtual void ToggleFullScreen() OVERRIDE; |
| 94 virtual gfx::Rect GetBounds() const OVERRIDE; | 95 virtual gfx::Rect GetBounds() const OVERRIDE; |
| 95 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 96 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
| 96 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; | 97 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 | 148 |
| 148 aura::RootWindowHostDelegate* root_window_host_delegate_; | 149 aura::RootWindowHostDelegate* root_window_host_delegate_; |
| 149 aura::Window* content_window_; | 150 aura::Window* content_window_; |
| 150 | 151 |
| 151 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostLinux); | 152 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostLinux); |
| 152 }; | 153 }; |
| 153 | 154 |
| 154 } // namespace views | 155 } // namespace views |
| 155 | 156 |
| 156 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ | 157 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ |
| OLD | NEW |