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

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

Issue 2824103004: mus: Adds WindowManagerDelegate::OnWmConnected() (Closed)
Patch Set: 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
« 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 // WindowTreeClientDelegate: 90 // WindowTreeClientDelegate:
91 void OnEmbed(std::unique_ptr<WindowTreeHostMus> window_tree_host) override; 91 void OnEmbed(std::unique_ptr<WindowTreeHostMus> window_tree_host) override;
92 void OnUnembed(Window* root) override; 92 void OnUnembed(Window* root) override;
93 void OnEmbedRootDestroyed(WindowTreeHostMus* window_tree_host) override; 93 void OnEmbedRootDestroyed(WindowTreeHostMus* window_tree_host) override;
94 void OnLostConnection(WindowTreeClient* client) override; 94 void OnLostConnection(WindowTreeClient* client) override;
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 void OnWmConnected() override;
100 void OnWmSetBounds(Window* window, const gfx::Rect& bounds) override; 101 void OnWmSetBounds(Window* window, const gfx::Rect& bounds) override;
101 bool OnWmSetProperty( 102 bool OnWmSetProperty(
102 Window* window, 103 Window* window,
103 const std::string& name, 104 const std::string& name,
104 std::unique_ptr<std::vector<uint8_t>>* new_data) override; 105 std::unique_ptr<std::vector<uint8_t>>* new_data) override;
105 void OnWmSetModalType(Window* window, ui::ModalType type) override; 106 void OnWmSetModalType(Window* window, ui::ModalType type) override;
106 void OnWmSetCanFocus(Window* window, bool can_focus) override; 107 void OnWmSetCanFocus(Window* window, bool can_focus) override;
107 Window* OnWmCreateTopLevelWindow( 108 Window* OnWmCreateTopLevelWindow(
108 ui::mojom::WindowType window_type, 109 ui::mojom::WindowType window_type,
109 std::map<std::string, std::vector<uint8_t>>* properties) override; 110 std::map<std::string, std::vector<uint8_t>>* properties) override;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 void SetUp() override; 180 void SetUp() override;
180 181
181 private: 182 private:
182 DISALLOW_COPY_AND_ASSIGN(AuraTestBaseMus); 183 DISALLOW_COPY_AND_ASSIGN(AuraTestBaseMus);
183 }; 184 };
184 185
185 } // namespace test 186 } // namespace test
186 } // namespace aura 187 } // namespace aura
187 188
188 #endif // UI_AURA_TEST_AURA_TEST_BASE_H_ 189 #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