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

Side by Side Diff: mash/simple_wm/simple_wm.h

Issue 2568303006: aura-mus: Implement Deactivate(). (Closed)
Patch Set: Add comment. Created 3 years, 11 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
« no previous file with comments | « ash/mus/window_manager.cc ('k') | mash/simple_wm/simple_wm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 MASH_SIMPLE_WM_SIMPLE_WM_H_ 5 #ifndef MASH_SIMPLE_WM_SIMPLE_WM_H_
6 #define MASH_SIMPLE_WM_SIMPLE_WM_H_ 6 #define MASH_SIMPLE_WM_SIMPLE_WM_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 void OnWmDisplayModified(const display::Display& display) override; 93 void OnWmDisplayModified(const display::Display& display) override;
94 void OnWmPerformMoveLoop(aura::Window* window, 94 void OnWmPerformMoveLoop(aura::Window* window,
95 ui::mojom::MoveLoopSource source, 95 ui::mojom::MoveLoopSource source,
96 const gfx::Point& cursor_location, 96 const gfx::Point& cursor_location,
97 const base::Callback<void(bool)>& on_done) override; 97 const base::Callback<void(bool)>& on_done) override;
98 void OnWmCancelMoveLoop(aura::Window* window) override; 98 void OnWmCancelMoveLoop(aura::Window* window) override;
99 void OnWmSetClientArea( 99 void OnWmSetClientArea(
100 aura::Window* window, 100 aura::Window* window,
101 const gfx::Insets& insets, 101 const gfx::Insets& insets,
102 const std::vector<gfx::Rect>& additional_client_areas) override; 102 const std::vector<gfx::Rect>& additional_client_areas) override;
103 bool IsWindowActive(aura::Window* window) override;
104 void OnWmDeactivateWindow(aura::Window* window) override;
103 105
104 // wm::BaseFocusRules: 106 // wm::BaseFocusRules:
105 bool SupportsChildActivation(aura::Window* window) const override; 107 bool SupportsChildActivation(aura::Window* window) const override;
106 bool IsWindowConsideredVisibleForActivation( 108 bool IsWindowConsideredVisibleForActivation(
107 aura::Window* window) const override; 109 aura::Window* window) const override;
108 110
109 FrameView* GetFrameViewForClientWindow(aura::Window* client_window); 111 FrameView* GetFrameViewForClientWindow(aura::Window* client_window);
110 112
111 void OnWindowListViewItemActivated(aura::Window* index); 113 void OnWindowListViewItemActivated(aura::Window* index);
112 114
(...skipping 14 matching lines...) Expand all
127 std::unique_ptr<WorkspaceLayoutManager> workspace_layout_manager_; 129 std::unique_ptr<WorkspaceLayoutManager> workspace_layout_manager_;
128 130
129 bool started_ = false; 131 bool started_ = false;
130 132
131 DISALLOW_COPY_AND_ASSIGN(SimpleWM); 133 DISALLOW_COPY_AND_ASSIGN(SimpleWM);
132 }; 134 };
133 135
134 } // namespace simple_wm 136 } // namespace simple_wm
135 137
136 #endif // MASH_SIMPLE_WM_SIMPLE_WM_H_ 138 #endif // MASH_SIMPLE_WM_SIMPLE_WM_H_
OLDNEW
« no previous file with comments | « ash/mus/window_manager.cc ('k') | mash/simple_wm/simple_wm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698