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

Side by Side Diff: ui/aura/test/aura_test_base.h

Issue 2650833002: Set focusibility correctly when initializing a window in mus+ash. (Closed)
Patch Set: addressed feedback. Created 3 years, 10 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 | « ui/aura/mus/window_tree_client.cc ('k') | ui/aura/test/aura_test_base.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 (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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 void OnPointerEventObserved(const ui::PointerEvent& event, 95 void OnPointerEventObserved(const ui::PointerEvent& event,
96 Window* target) override; 96 Window* target) override;
97 97
98 // WindowManagerDelegate: 98 // WindowManagerDelegate:
99 void SetWindowManagerClient(WindowManagerClient* client) override; 99 void SetWindowManagerClient(WindowManagerClient* client) override;
100 bool OnWmSetBounds(Window* window, gfx::Rect* bounds) override; 100 bool OnWmSetBounds(Window* window, gfx::Rect* bounds) override;
101 bool OnWmSetProperty( 101 bool OnWmSetProperty(
102 Window* window, 102 Window* window,
103 const std::string& name, 103 const std::string& name,
104 std::unique_ptr<std::vector<uint8_t>>* new_data) override; 104 std::unique_ptr<std::vector<uint8_t>>* new_data) override;
105 void OnWmSetCanFocus(Window* window, bool can_focus) override;
105 Window* OnWmCreateTopLevelWindow( 106 Window* OnWmCreateTopLevelWindow(
106 ui::mojom::WindowType window_type, 107 ui::mojom::WindowType window_type,
107 std::map<std::string, std::vector<uint8_t>>* properties) override; 108 std::map<std::string, std::vector<uint8_t>>* properties) override;
108 void OnWmClientJankinessChanged(const std::set<Window*>& client_windows, 109 void OnWmClientJankinessChanged(const std::set<Window*>& client_windows,
109 bool janky) override; 110 bool janky) override;
110 void OnWmWillCreateDisplay(const display::Display& display) override; 111 void OnWmWillCreateDisplay(const display::Display& display) override;
111 void OnWmNewDisplay(std::unique_ptr<WindowTreeHostMus> window_tree_host, 112 void OnWmNewDisplay(std::unique_ptr<WindowTreeHostMus> window_tree_host,
112 const display::Display& display) override; 113 const display::Display& display) override;
113 void OnWmDisplayRemoved(WindowTreeHostMus* window_tree_host) override; 114 void OnWmDisplayRemoved(WindowTreeHostMus* window_tree_host) override;
114 void OnWmDisplayModified(const display::Display& display) override; 115 void OnWmDisplayModified(const display::Display& display) override;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 private: 158 private:
158 bool setup_called_ = false; 159 bool setup_called_ = false;
159 160
160 DISALLOW_COPY_AND_ASSIGN(AuraTestBaseWithType); 161 DISALLOW_COPY_AND_ASSIGN(AuraTestBaseWithType);
161 }; 162 };
162 163
163 } // namespace test 164 } // namespace test
164 } // namespace aura 165 } // namespace aura
165 166
166 #endif // UI_AURA_TEST_AURA_TEST_BASE_H_ 167 #endif // UI_AURA_TEST_AURA_TEST_BASE_H_
OLDNEW
« no previous file with comments | « ui/aura/mus/window_tree_client.cc ('k') | ui/aura/test/aura_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698