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

Side by Side Diff: services/ui/public/cpp/window_tree_client.h

Issue 2092343002: Touch HUD app for mustash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change window manager connection unittest to original Created 4 years, 5 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 | « services/ui/public/cpp/window.h ('k') | services/ui/public/interfaces/window_tree.mojom » ('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 SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ 5 #ifndef SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_
6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ 6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 // Windows are initially hidden, use SetVisible(true) to show. 185 // Windows are initially hidden, use SetVisible(true) to show.
186 Window* NewWindow() { return NewWindow(nullptr); } 186 Window* NewWindow() { return NewWindow(nullptr); }
187 Window* NewWindow( 187 Window* NewWindow(
188 const std::map<std::string, std::vector<uint8_t>>* properties); 188 const std::map<std::string, std::vector<uint8_t>>* properties);
189 Window* NewTopLevelWindow( 189 Window* NewTopLevelWindow(
190 const std::map<std::string, std::vector<uint8_t>>* properties); 190 const std::map<std::string, std::vector<uint8_t>>* properties);
191 191
192 void AddObserver(WindowTreeClientObserver* observer); 192 void AddObserver(WindowTreeClientObserver* observer);
193 void RemoveObserver(WindowTreeClientObserver* observer); 193 void RemoveObserver(WindowTreeClientObserver* observer);
194 194
195 void SetAcceptEvents(Id window_id, bool accept_events);
196
195 #if !defined(NDEBUG) 197 #if !defined(NDEBUG)
196 std::string GetDebugWindowHierarchy() const; 198 std::string GetDebugWindowHierarchy() const;
197 void BuildDebugInfo(const std::string& depth, 199 void BuildDebugInfo(const std::string& depth,
198 Window* window, 200 Window* window,
199 std::string* result) const; 201 std::string* result) const;
200 #endif 202 #endif
201 203
202 private: 204 private:
203 friend class WindowTreeClientPrivate; 205 friend class WindowTreeClientPrivate;
204 206
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 uint32_t event_observer_id_ = 0u; 399 uint32_t event_observer_id_ = 0u;
398 400
399 base::WeakPtrFactory<WindowTreeClient> weak_factory_; 401 base::WeakPtrFactory<WindowTreeClient> weak_factory_;
400 402
401 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); 403 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient);
402 }; 404 };
403 405
404 } // namespace ui 406 } // namespace ui
405 407
406 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ 408 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_
OLDNEW
« no previous file with comments | « services/ui/public/cpp/window.h ('k') | services/ui/public/interfaces/window_tree.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698