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

Side by Side Diff: services/ui/ws/server_window_observer.h

Issue 2349003002: Makes WindowTree::DeleteWindow() unembed for roots (Closed)
Patch Set: comment Created 4 years, 3 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/ws/server_window.cc ('k') | services/ui/ws/window_server.h » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_WS_SERVER_WINDOW_OBSERVER_H_ 5 #ifndef SERVICES_UI_WS_SERVER_WINDOW_OBSERVER_H_
6 #define SERVICES_UI_WS_SERVER_WINDOW_OBSERVER_H_ 6 #define SERVICES_UI_WS_SERVER_WINDOW_OBSERVER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 int32_t cursor_id) {} 71 int32_t cursor_id) {}
72 72
73 virtual void OnWindowTextInputStateChanged(ServerWindow* window, 73 virtual void OnWindowTextInputStateChanged(ServerWindow* window,
74 const ui::TextInputState& state) {} 74 const ui::TextInputState& state) {}
75 75
76 virtual void OnWindowSharedPropertyChanged( 76 virtual void OnWindowSharedPropertyChanged(
77 ServerWindow* window, 77 ServerWindow* window,
78 const std::string& name, 78 const std::string& name,
79 const std::vector<uint8_t>* new_data) {} 79 const std::vector<uint8_t>* new_data) {}
80 80
81 // Called when the window is no longer an embed root.
82 virtual void OnWindowEmbeddedAppDisconnected(ServerWindow* window) {}
83
81 // Called when a transient child is added to |window|. 84 // Called when a transient child is added to |window|.
82 virtual void OnTransientWindowAdded(ServerWindow* window, 85 virtual void OnTransientWindowAdded(ServerWindow* window,
83 ServerWindow* transient_child) {} 86 ServerWindow* transient_child) {}
84 87
85 // Called when a transient child is removed from |window|. 88 // Called when a transient child is removed from |window|.
86 virtual void OnTransientWindowRemoved(ServerWindow* window, 89 virtual void OnTransientWindowRemoved(ServerWindow* window,
87 ServerWindow* transient_child) {} 90 ServerWindow* transient_child) {}
88 91
89 protected: 92 protected:
90 virtual ~ServerWindowObserver() {} 93 virtual ~ServerWindowObserver() {}
91 }; 94 };
92 95
93 } // namespace ws 96 } // namespace ws
94 97
95 } // namespace ui 98 } // namespace ui
96 99
97 #endif // SERVICES_UI_WS_SERVER_WINDOW_OBSERVER_H_ 100 #endif // SERVICES_UI_WS_SERVER_WINDOW_OBSERVER_H_
OLDNEW
« no previous file with comments | « services/ui/ws/server_window.cc ('k') | services/ui/ws/window_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698