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

Side by Side Diff: ui/views/mus/desktop_window_tree_host_mus.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_MUS_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 10
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 gfx::Rect GetClientAreaBoundsInScreen() const override; 84 gfx::Rect GetClientAreaBoundsInScreen() const override;
85 gfx::Rect GetRestoredBounds() const override; 85 gfx::Rect GetRestoredBounds() const override;
86 std::string GetWorkspace() const override; 86 std::string GetWorkspace() const override;
87 gfx::Rect GetWorkAreaBoundsInScreen() const override; 87 gfx::Rect GetWorkAreaBoundsInScreen() const override;
88 void SetShape(std::unique_ptr<SkRegion> native_region) override; 88 void SetShape(std::unique_ptr<SkRegion> native_region) override;
89 void Activate() override; 89 void Activate() override;
90 void Deactivate() override; 90 void Deactivate() override;
91 bool IsActive() const override; 91 bool IsActive() const override;
92 void Maximize() override; 92 void Maximize() override;
93 void Minimize() override; 93 void Minimize() override;
94 void Pin(bool trusted) override;
94 void Restore() override; 95 void Restore() override;
95 bool IsMaximized() const override; 96 bool IsMaximized() const override;
96 bool IsMinimized() const override; 97 bool IsMinimized() const override;
98 bool IsPinned() const override;
97 bool HasCapture() const override; 99 bool HasCapture() const override;
98 void SetAlwaysOnTop(bool always_on_top) override; 100 void SetAlwaysOnTop(bool always_on_top) override;
99 bool IsAlwaysOnTop() const override; 101 bool IsAlwaysOnTop() const override;
100 void SetVisibleOnAllWorkspaces(bool always_visible) override; 102 void SetVisibleOnAllWorkspaces(bool always_visible) override;
101 bool IsVisibleOnAllWorkspaces() const override; 103 bool IsVisibleOnAllWorkspaces() const override;
102 bool SetWindowTitle(const base::string16& title) override; 104 bool SetWindowTitle(const base::string16& title) override;
103 void ClearNativeFocus() override; 105 void ClearNativeFocus() override;
104 Widget::MoveLoopResult RunMoveLoop( 106 Widget::MoveLoopResult RunMoveLoop(
105 const gfx::Vector2d& drag_offset, 107 const gfx::Vector2d& drag_offset,
106 Widget::MoveLoopSource source, 108 Widget::MoveLoopSource source,
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 165
164 // Used so that Close() isn't immediate. 166 // Used so that Close() isn't immediate.
165 base::WeakPtrFactory<DesktopWindowTreeHostMus> close_widget_factory_; 167 base::WeakPtrFactory<DesktopWindowTreeHostMus> close_widget_factory_;
166 168
167 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostMus); 169 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostMus);
168 }; 170 };
169 171
170 } // namespace views 172 } // namespace views
171 173
172 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_ 174 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698