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

Side by Side Diff: ui/aura/test/aura_test_base.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 (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_AURA_TEST_AURA_TEST_BASE_H_ 5 #ifndef UI_AURA_TEST_AURA_TEST_BASE_H_
6 #define UI_AURA_TEST_AURA_TEST_BASE_H_ 6 #define UI_AURA_TEST_AURA_TEST_BASE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 const ui::Event& event) override; 116 const ui::Event& event) override;
117 void OnWmPerformMoveLoop(Window* window, 117 void OnWmPerformMoveLoop(Window* window,
118 ui::mojom::MoveLoopSource source, 118 ui::mojom::MoveLoopSource source,
119 const gfx::Point& cursor_location, 119 const gfx::Point& cursor_location,
120 const base::Callback<void(bool)>& on_done) override; 120 const base::Callback<void(bool)>& on_done) override;
121 void OnWmCancelMoveLoop(Window* window) override; 121 void OnWmCancelMoveLoop(Window* window) override;
122 void OnWmSetClientArea( 122 void OnWmSetClientArea(
123 Window* window, 123 Window* window,
124 const gfx::Insets& insets, 124 const gfx::Insets& insets,
125 const std::vector<gfx::Rect>& additional_client_areas) override; 125 const std::vector<gfx::Rect>& additional_client_areas) override;
126 void OnWmDeactivateWindow(Window* window) override;
126 client::CaptureClient* GetCaptureClient() override; 127 client::CaptureClient* GetCaptureClient() override;
127 PropertyConverter* GetPropertyConverter() override; 128 PropertyConverter* GetPropertyConverter() override;
128 129
129 private: 130 private:
130 // Only used for mus. Both are are initialized to this, but may be reset. 131 // Only used for mus. Both are are initialized to this, but may be reset.
131 WindowManagerDelegate* window_manager_delegate_; 132 WindowManagerDelegate* window_manager_delegate_;
132 WindowTreeClientDelegate* window_tree_client_delegate_; 133 WindowTreeClientDelegate* window_tree_client_delegate_;
133 134
134 bool use_mus_ = false; 135 bool use_mus_ = false;
135 bool setup_called_ = false; 136 bool setup_called_ = false;
(...skipping 19 matching lines...) Expand all
155 private: 156 private:
156 bool setup_called_ = false; 157 bool setup_called_ = false;
157 158
158 DISALLOW_COPY_AND_ASSIGN(AuraTestBaseWithType); 159 DISALLOW_COPY_AND_ASSIGN(AuraTestBaseWithType);
159 }; 160 };
160 161
161 } // namespace test 162 } // namespace test
162 } // namespace aura 163 } // namespace aura
163 164
164 #endif // UI_AURA_TEST_AURA_TEST_BASE_H_ 165 #endif // UI_AURA_TEST_AURA_TEST_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698