| 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 12 matching lines...) Expand all Loading... |
| 23 public: | 23 public: |
| 24 explicit RootWindowHostLinux(const gfx::Rect& bounds); | 24 explicit RootWindowHostLinux(const gfx::Rect& bounds); |
| 25 virtual ~RootWindowHostLinux(); | 25 virtual ~RootWindowHostLinux(); |
| 26 | 26 |
| 27 // Overridden from Dispatcher overrides: | 27 // Overridden from Dispatcher overrides: |
| 28 virtual bool Dispatch(const base::NativeEvent& event) OVERRIDE; | 28 virtual bool Dispatch(const base::NativeEvent& event) OVERRIDE; |
| 29 | 29 |
| 30 private: | 30 private: |
| 31 // RootWindowHost Overrides. | 31 // RootWindowHost Overrides. |
| 32 virtual void SetRootWindow(RootWindow* root_window) OVERRIDE; | 32 virtual void SetRootWindow(RootWindow* root_window) OVERRIDE; |
| 33 virtual RootWindow* GetRootWindow() OVERRIDE; |
| 33 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; | 34 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; |
| 34 virtual void Show() OVERRIDE; | 35 virtual void Show() OVERRIDE; |
| 35 virtual void ToggleFullScreen() OVERRIDE; | 36 virtual void ToggleFullScreen() OVERRIDE; |
| 36 virtual gfx::Rect GetBounds() const OVERRIDE; | 37 virtual gfx::Rect GetBounds() const OVERRIDE; |
| 37 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 38 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
| 38 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; | 39 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; |
| 39 virtual void SetCapture() OVERRIDE; | 40 virtual void SetCapture() OVERRIDE; |
| 40 virtual void ReleaseCapture() OVERRIDE; | 41 virtual void ReleaseCapture() OVERRIDE; |
| 41 virtual void SetCursor(gfx::NativeCursor cursor_type) OVERRIDE; | 42 virtual void SetCursor(gfx::NativeCursor cursor_type) OVERRIDE; |
| 42 virtual void ShowCursor(bool show) OVERRIDE; | 43 virtual void ShowCursor(bool show) OVERRIDE; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 bool focus_when_shown_; | 94 bool focus_when_shown_; |
| 94 | 95 |
| 95 scoped_array<XID> pointer_barriers_; | 96 scoped_array<XID> pointer_barriers_; |
| 96 | 97 |
| 97 DISALLOW_COPY_AND_ASSIGN(RootWindowHostLinux); | 98 DISALLOW_COPY_AND_ASSIGN(RootWindowHostLinux); |
| 98 }; | 99 }; |
| 99 | 100 |
| 100 } // namespace aura | 101 } // namespace aura |
| 101 | 102 |
| 102 #endif // UI_AURA_ROOT_WINDOW_HOST_LINUX_H_ | 103 #endif // UI_AURA_ROOT_WINDOW_HOST_LINUX_H_ |
| OLD | NEW |