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

Side by Side Diff: components/mus/public/cpp/lib/window_tree_client_impl.h

Issue 1862853002: Makes WindowTree::SetFocus(null) work (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar cleanup Created 4 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 | « no previous file | components/mus/public/cpp/lib/window_tree_client_impl.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_
6 #define COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ 6 #define COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 void OnEmbedImpl(mojom::WindowTree* window_tree, 156 void OnEmbedImpl(mojom::WindowTree* window_tree,
157 ConnectionSpecificId connection_id, 157 ConnectionSpecificId connection_id,
158 mojom::WindowDataPtr root_data, 158 mojom::WindowDataPtr root_data,
159 Id focused_window_id); 159 Id focused_window_id);
160 160
161 // Overridden from WindowTreeConnection: 161 // Overridden from WindowTreeConnection:
162 void SetDeleteOnNoRoots(bool value) override; 162 void SetDeleteOnNoRoots(bool value) override;
163 const std::set<Window*>& GetRoots() override; 163 const std::set<Window*>& GetRoots() override;
164 Window* GetWindowById(Id id) override; 164 Window* GetWindowById(Id id) override;
165 Window* GetFocusedWindow() override; 165 Window* GetFocusedWindow() override;
166 void ClearFocus() override;
166 Window* NewWindow(const Window::SharedProperties* properties) override; 167 Window* NewWindow(const Window::SharedProperties* properties) override;
167 Window* NewTopLevelWindow( 168 Window* NewTopLevelWindow(
168 const Window::SharedProperties* properties) override; 169 const Window::SharedProperties* properties) override;
169 ConnectionSpecificId GetConnectionId() override; 170 ConnectionSpecificId GetConnectionId() override;
170 void AddObserver(WindowTreeConnectionObserver* observer) override; 171 void AddObserver(WindowTreeConnectionObserver* observer) override;
171 void RemoveObserver(WindowTreeConnectionObserver* observer) override; 172 void RemoveObserver(WindowTreeConnectionObserver* observer) override;
172 173
173 // Overridden from WindowTreeClient: 174 // Overridden from WindowTreeClient:
174 void OnEmbed(ConnectionSpecificId connection_id, 175 void OnEmbed(ConnectionSpecificId connection_id,
175 mojom::WindowDataPtr root, 176 mojom::WindowDataPtr root,
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 scoped_ptr<mojo::AssociatedBinding<mojom::WindowManager>> 287 scoped_ptr<mojo::AssociatedBinding<mojom::WindowManager>>
287 window_manager_internal_; 288 window_manager_internal_;
288 mojom::WindowManagerClientAssociatedPtr window_manager_internal_client_; 289 mojom::WindowManagerClientAssociatedPtr window_manager_internal_client_;
289 290
290 DISALLOW_COPY_AND_ASSIGN(WindowTreeClientImpl); 291 DISALLOW_COPY_AND_ASSIGN(WindowTreeClientImpl);
291 }; 292 };
292 293
293 } // namespace mus 294 } // namespace mus
294 295
295 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ 296 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | components/mus/public/cpp/lib/window_tree_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698