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

Side by Side Diff: ui/views/mus/desktop_window_tree_host_mus.h

Issue 2764433003: mus-ws: Plumb FrameSinkId to Children (Closed)
Patch Set: Addressed Antoine's comment Created 3 years, 9 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 10
(...skipping 17 matching lines...) Expand all
28 : public DesktopWindowTreeHost, 28 : public DesktopWindowTreeHost,
29 public MusClientObserver, 29 public MusClientObserver,
30 public WidgetObserver, 30 public WidgetObserver,
31 public aura::WindowObserver, 31 public aura::WindowObserver,
32 public aura::WindowTreeHostMus, 32 public aura::WindowTreeHostMus,
33 public aura::EnvObserver { 33 public aura::EnvObserver {
34 public: 34 public:
35 DesktopWindowTreeHostMus( 35 DesktopWindowTreeHostMus(
36 internal::NativeWidgetDelegate* native_widget_delegate, 36 internal::NativeWidgetDelegate* native_widget_delegate,
37 DesktopNativeWidgetAura* desktop_native_widget_aura, 37 DesktopNativeWidgetAura* desktop_native_widget_aura,
38 const cc::FrameSinkId& frame_sink_id,
38 const std::map<std::string, std::vector<uint8_t>>* mus_properties); 39 const std::map<std::string, std::vector<uint8_t>>* mus_properties);
39 ~DesktopWindowTreeHostMus() override; 40 ~DesktopWindowTreeHostMus() override;
40 41
41 // Called when the window was deleted on the server. 42 // Called when the window was deleted on the server.
42 void ServerDestroyedWindow() { CloseNow(); } 43 void ServerDestroyedWindow() { CloseNow(); }
43 44
44 // Controls whether the client area is automatically updated as necessary. 45 // Controls whether the client area is automatically updated as necessary.
45 void set_auto_update_client_area(bool value) { 46 void set_auto_update_client_area(bool value) {
46 auto_update_client_area_ = value; 47 auto_update_client_area_ = value;
47 } 48 }
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 165
165 // Used so that Close() isn't immediate. 166 // Used so that Close() isn't immediate.
166 base::WeakPtrFactory<DesktopWindowTreeHostMus> close_widget_factory_; 167 base::WeakPtrFactory<DesktopWindowTreeHostMus> close_widget_factory_;
167 168
168 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostMus); 169 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostMus);
169 }; 170 };
170 171
171 } // namespace views 172 } // namespace views
172 173
173 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_ 174 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_MUS_H_
OLDNEW
« no previous file with comments | « ui/aura/test/mus/window_tree_client_private.cc ('k') | ui/views/mus/desktop_window_tree_host_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698