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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_win.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_WIN_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
7 7
8 #include "ui/aura/window_tree_host.h" 8 #include "ui/aura/window_tree_host.h"
9 #include "ui/views/views_export.h" 9 #include "ui/views/views_export.h"
10 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h" 10 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 void StackAtTop() override; 61 void StackAtTop() override;
62 void CenterWindow(const gfx::Size& size) override; 62 void CenterWindow(const gfx::Size& size) override;
63 void GetWindowPlacement(gfx::Rect* bounds, 63 void GetWindowPlacement(gfx::Rect* bounds,
64 ui::WindowShowState* show_state) const override; 64 ui::WindowShowState* show_state) const override;
65 gfx::Rect GetWindowBoundsInScreen() const override; 65 gfx::Rect GetWindowBoundsInScreen() const override;
66 gfx::Rect GetClientAreaBoundsInScreen() const override; 66 gfx::Rect GetClientAreaBoundsInScreen() const override;
67 gfx::Rect GetRestoredBounds() const override; 67 gfx::Rect GetRestoredBounds() const override;
68 gfx::Rect GetWorkAreaBoundsInScreen() const override; 68 gfx::Rect GetWorkAreaBoundsInScreen() const override;
69 void SetShape(gfx::NativeRegion native_region) override; 69 void SetShape(gfx::NativeRegion native_region) override;
70 void Activate() override; 70 void Activate() override;
71 void ActivateForUserGesture() override;
71 void Deactivate() override; 72 void Deactivate() override;
72 bool IsActive() const override; 73 bool IsActive() const override;
73 void Maximize() override; 74 void Maximize() override;
74 void Minimize() override; 75 void Minimize() override;
75 void Restore() override; 76 void Restore() override;
76 bool IsMaximized() const override; 77 bool IsMaximized() const override;
77 bool IsMinimized() const override; 78 bool IsMinimized() const override;
78 bool HasCapture() const override; 79 bool HasCapture() const override;
79 void SetAlwaysOnTop(bool always_on_top) override; 80 void SetAlwaysOnTop(bool always_on_top) override;
80 bool IsAlwaysOnTop() const override; 81 bool IsAlwaysOnTop() const override;
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 267
267 // Set to true if we are about to enter a sizing loop. 268 // Set to true if we are about to enter a sizing loop.
268 bool in_sizing_loop_; 269 bool in_sizing_loop_;
269 270
270 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); 271 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin);
271 }; 272 };
272 273
273 } // namespace views 274 } // namespace views
274 275
275 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 276 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698