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

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

Issue 2568303006: aura-mus: Implement Deactivate(). (Closed)
Patch Set: Prune comments and other debugging gunk. 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
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 void OnWmDeactivateWindow(aura::Window* window) override;
103 104
104 // wm::BaseFocusRules: 105 // wm::BaseFocusRules:
105 bool SupportsChildActivation(aura::Window* window) const override; 106 bool SupportsChildActivation(aura::Window* window) const override;
106 bool IsWindowConsideredVisibleForActivation( 107 bool IsWindowConsideredVisibleForActivation(
107 aura::Window* window) const override; 108 aura::Window* window) const override;
108 109
109 FrameView* GetFrameViewForClientWindow(aura::Window* client_window); 110 FrameView* GetFrameViewForClientWindow(aura::Window* client_window);
110 111
111 void OnWindowListViewItemActivated(aura::Window* index); 112 void OnWindowListViewItemActivated(aura::Window* index);
112 113
(...skipping 14 matching lines...) Expand all
127 std::unique_ptr<WorkspaceLayoutManager> workspace_layout_manager_; 128 std::unique_ptr<WorkspaceLayoutManager> workspace_layout_manager_;
128 129
129 bool started_ = false; 130 bool started_ = false;
130 131
131 DISALLOW_COPY_AND_ASSIGN(SimpleWM); 132 DISALLOW_COPY_AND_ASSIGN(SimpleWM);
132 }; 133 };
133 134
134 } // namespace simple_wm 135 } // namespace simple_wm
135 136
136 #endif // MASH_SIMPLE_WM_SIMPLE_WM_H_ 137 #endif // MASH_SIMPLE_WM_SIMPLE_WM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698