| 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_AURA_ROOT_WINDOW_HOST_LINUX_H_ | 5 #ifndef UI_AURA_ROOT_WINDOW_HOST_LINUX_H_ |
| 6 #define UI_AURA_ROOT_WINDOW_HOST_LINUX_H_ | 6 #define UI_AURA_ROOT_WINDOW_HOST_LINUX_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <X11/Xlib.h> | 9 #include <X11/Xlib.h> |
| 10 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 virtual void SetRootWindow(RootWindow* root_window) OVERRIDE; | 31 virtual void SetRootWindow(RootWindow* root_window) OVERRIDE; |
| 32 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; | 32 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; |
| 33 virtual void Show() OVERRIDE; | 33 virtual void Show() OVERRIDE; |
| 34 virtual void ToggleFullScreen() OVERRIDE; | 34 virtual void ToggleFullScreen() OVERRIDE; |
| 35 virtual gfx::Size GetSize() const OVERRIDE; | 35 virtual gfx::Size GetSize() const OVERRIDE; |
| 36 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 36 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
| 37 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; | 37 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; |
| 38 virtual void SetCapture() OVERRIDE; | 38 virtual void SetCapture() OVERRIDE; |
| 39 virtual void ReleaseCapture() OVERRIDE; | 39 virtual void ReleaseCapture() OVERRIDE; |
| 40 virtual void SetCursor(gfx::NativeCursor cursor_type) OVERRIDE; | 40 virtual void SetCursor(gfx::NativeCursor cursor_type) OVERRIDE; |
| 41 virtual void SetCustomCursor(const gfx::PlatformCursor& cursor) OVERRIDE; |
| 41 virtual void ShowCursor(bool show) OVERRIDE; | 42 virtual void ShowCursor(bool show) OVERRIDE; |
| 42 virtual gfx::Point QueryMouseLocation() OVERRIDE; | 43 virtual gfx::Point QueryMouseLocation() OVERRIDE; |
| 43 virtual bool ConfineCursorToRootWindow() OVERRIDE; | 44 virtual bool ConfineCursorToRootWindow() OVERRIDE; |
| 44 virtual void UnConfineCursor() OVERRIDE; | 45 virtual void UnConfineCursor() OVERRIDE; |
| 45 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE; | 46 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE; |
| 46 virtual void PostNativeEvent(const base::NativeEvent& event) OVERRIDE; | 47 virtual void PostNativeEvent(const base::NativeEvent& event) OVERRIDE; |
| 47 virtual MessageLoop::Dispatcher* GetDispatcher() OVERRIDE; | 48 virtual MessageLoop::Dispatcher* GetDispatcher() OVERRIDE; |
| 48 | 49 |
| 49 // MessageLoop::DestructionObserver Overrides. | 50 // MessageLoop::DestructionObserver Overrides. |
| 50 virtual void WillDestroyCurrentMessageLoop() OVERRIDE; | 51 virtual void WillDestroyCurrentMessageLoop() OVERRIDE; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 78 | 79 |
| 79 // The bounds of |xwindow_|. | 80 // The bounds of |xwindow_|. |
| 80 gfx::Rect bounds_; | 81 gfx::Rect bounds_; |
| 81 | 82 |
| 82 DISALLOW_COPY_AND_ASSIGN(RootWindowHostLinux); | 83 DISALLOW_COPY_AND_ASSIGN(RootWindowHostLinux); |
| 83 }; | 84 }; |
| 84 | 85 |
| 85 } // namespace aura | 86 } // namespace aura |
| 86 | 87 |
| 87 #endif // UI_AURA_ROOT_WINDOW_HOST_LINUX_H_ | 88 #endif // UI_AURA_ROOT_WINDOW_HOST_LINUX_H_ |
| OLD | NEW |