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 #include <X11/Xutil.h> | 10 #include <X11/Xutil.h> |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 scoped_ptr<corewm::Tooltip> CreateTooltip() override; | 94 scoped_ptr<corewm::Tooltip> CreateTooltip() override; |
95 scoped_ptr<aura::client::DragDropClient> CreateDragDropClient( | 95 scoped_ptr<aura::client::DragDropClient> CreateDragDropClient( |
96 DesktopNativeCursorManager* cursor_manager) override; | 96 DesktopNativeCursorManager* cursor_manager) override; |
97 void Close() override; | 97 void Close() override; |
98 void CloseNow() override; | 98 void CloseNow() override; |
99 aura::WindowTreeHost* AsWindowTreeHost() override; | 99 aura::WindowTreeHost* AsWindowTreeHost() override; |
100 void ShowWindowWithState(ui::WindowShowState show_state) override; | 100 void ShowWindowWithState(ui::WindowShowState show_state) override; |
101 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override; | 101 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override; |
102 bool IsVisible() const override; | 102 bool IsVisible() const override; |
103 void SetSize(const gfx::Size& requested_size) override; | 103 void SetSize(const gfx::Size& requested_size) override; |
| 104 void StackAbove(aura::Window* window) override; |
104 void StackAtTop() override; | 105 void StackAtTop() override; |
105 void CenterWindow(const gfx::Size& size) override; | 106 void CenterWindow(const gfx::Size& size) override; |
106 void GetWindowPlacement(gfx::Rect* bounds, | 107 void GetWindowPlacement(gfx::Rect* bounds, |
107 ui::WindowShowState* show_state) const override; | 108 ui::WindowShowState* show_state) const override; |
108 gfx::Rect GetWindowBoundsInScreen() const override; | 109 gfx::Rect GetWindowBoundsInScreen() const override; |
109 gfx::Rect GetClientAreaBoundsInScreen() const override; | 110 gfx::Rect GetClientAreaBoundsInScreen() const override; |
110 gfx::Rect GetRestoredBounds() const override; | 111 gfx::Rect GetRestoredBounds() const override; |
111 gfx::Rect GetWorkAreaBoundsInScreen() const override; | 112 gfx::Rect GetWorkAreaBoundsInScreen() const override; |
112 void SetShape(gfx::NativeRegion native_region) override; | 113 void SetShape(gfx::NativeRegion native_region) override; |
113 void Activate() override; | 114 void Activate() override; |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 base::CancelableCallback<void()> delayed_resize_task_; | 351 base::CancelableCallback<void()> delayed_resize_task_; |
351 | 352 |
352 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_; | 353 base::WeakPtrFactory<DesktopWindowTreeHostX11> close_widget_factory_; |
353 | 354 |
354 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); | 355 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostX11); |
355 }; | 356 }; |
356 | 357 |
357 } // namespace views | 358 } // namespace views |
358 | 359 |
359 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ | 360 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_X11_H_ |
OLD | NEW |