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

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

Issue 2778733004: Add WindowPinType property on arua::Window (Closed)
Patch Set: WIP Created 3 years, 8 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 "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/aura/window_tree_host.h" 9 #include "ui/aura/window_tree_host.h"
10 #include "ui/views/views_export.h" 10 #include "ui/views/views_export.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 gfx::Rect GetClientAreaBoundsInScreen() const override; 69 gfx::Rect GetClientAreaBoundsInScreen() const override;
70 gfx::Rect GetRestoredBounds() const override; 70 gfx::Rect GetRestoredBounds() const override;
71 std::string GetWorkspace() const override; 71 std::string GetWorkspace() const override;
72 gfx::Rect GetWorkAreaBoundsInScreen() const override; 72 gfx::Rect GetWorkAreaBoundsInScreen() const override;
73 void SetShape(std::unique_ptr<SkRegion> native_region) override; 73 void SetShape(std::unique_ptr<SkRegion> native_region) override;
74 void Activate() override; 74 void Activate() override;
75 void Deactivate() override; 75 void Deactivate() override;
76 bool IsActive() const override; 76 bool IsActive() const override;
77 void Maximize() override; 77 void Maximize() override;
78 void Minimize() override; 78 void Minimize() override;
79 void Pin(bool trusted) override;
79 void Restore() override; 80 void Restore() override;
80 bool IsMaximized() const override; 81 bool IsMaximized() const override;
81 bool IsMinimized() const override; 82 bool IsMinimized() const override;
83 bool IsPinned() const override;
82 bool HasCapture() const override; 84 bool HasCapture() const override;
83 void SetAlwaysOnTop(bool always_on_top) override; 85 void SetAlwaysOnTop(bool always_on_top) override;
84 bool IsAlwaysOnTop() const override; 86 bool IsAlwaysOnTop() const override;
85 void SetVisibleOnAllWorkspaces(bool always_visible) override; 87 void SetVisibleOnAllWorkspaces(bool always_visible) override;
86 bool IsVisibleOnAllWorkspaces() const override; 88 bool IsVisibleOnAllWorkspaces() const override;
87 bool SetWindowTitle(const base::string16& title) override; 89 bool SetWindowTitle(const base::string16& title) override;
88 void ClearNativeFocus() override; 90 void ClearNativeFocus() override;
89 Widget::MoveLoopResult RunMoveLoop( 91 Widget::MoveLoopResult RunMoveLoop(
90 const gfx::Vector2d& drag_offset, 92 const gfx::Vector2d& drag_offset,
91 Widget::MoveLoopSource source, 93 Widget::MoveLoopSource source,
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 // Indicates if current window will receive mouse events when should not 273 // Indicates if current window will receive mouse events when should not
272 // become activated. 274 // become activated.
273 bool wants_mouse_events_when_inactive_ = false; 275 bool wants_mouse_events_when_inactive_ = false;
274 276
275 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); 277 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin);
276 }; 278 };
277 279
278 } // namespace views 280 } // namespace views
279 281
280 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ 282 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698