Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(320)

Side by Side Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h

Issue 1135693006: Fix X11DesktopHandler::ActivateWindow on Unity for known user gestures Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 void StackAtTop() override; 104 void StackAtTop() override;
105 void CenterWindow(const gfx::Size& size) override; 105 void CenterWindow(const gfx::Size& size) override;
106 void GetWindowPlacement(gfx::Rect* bounds, 106 void GetWindowPlacement(gfx::Rect* bounds,
107 ui::WindowShowState* show_state) const override; 107 ui::WindowShowState* show_state) const override;
108 gfx::Rect GetWindowBoundsInScreen() const override; 108 gfx::Rect GetWindowBoundsInScreen() const override;
109 gfx::Rect GetClientAreaBoundsInScreen() const override; 109 gfx::Rect GetClientAreaBoundsInScreen() const override;
110 gfx::Rect GetRestoredBounds() const override; 110 gfx::Rect GetRestoredBounds() const override;
111 gfx::Rect GetWorkAreaBoundsInScreen() const override; 111 gfx::Rect GetWorkAreaBoundsInScreen() const override;
112 void SetShape(gfx::NativeRegion native_region) override; 112 void SetShape(gfx::NativeRegion native_region) override;
113 void Activate() override; 113 void Activate() override;
114 void ActivateForUserGesture() override;
114 void Deactivate() override; 115 void Deactivate() override;
115 bool IsActive() const override; 116 bool IsActive() const override;
116 void Maximize() override; 117 void Maximize() override;
117 void Minimize() override; 118 void Minimize() override;
118 void Restore() override; 119 void Restore() override;
119 bool IsMaximized() const override; 120 bool IsMaximized() const override;
120 bool IsMinimized() const override; 121 bool IsMinimized() const override;
121 bool HasCapture() const override; 122 bool HasCapture() const override;
122 void SetAlwaysOnTop(bool always_on_top) override; 123 void SetAlwaysOnTop(bool always_on_top) override;
123 bool IsAlwaysOnTop() const override; 124 bool IsAlwaysOnTop() const override;
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698