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

Side by Side Diff: ash/mus/bridge/wm_window_mus.h

Issue 2387013003: Adds OnChildWindowVisibilityChanged to ui::WindowObserver (Closed)
Patch Set: fix test Created 4 years, 2 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 ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ 5 #ifndef ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_
6 #define ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ 6 #define ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/common/shell_window_ids.h" 10 #include "ash/common/shell_window_ids.h"
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 void OnWindowSharedPropertyChanged( 255 void OnWindowSharedPropertyChanged(
256 ui::Window* window, 256 ui::Window* window,
257 const std::string& name, 257 const std::string& name,
258 const std::vector<uint8_t>* old_data, 258 const std::vector<uint8_t>* old_data,
259 const std::vector<uint8_t>* new_data) override; 259 const std::vector<uint8_t>* new_data) override;
260 void OnWindowBoundsChanged(ui::Window* window, 260 void OnWindowBoundsChanged(ui::Window* window,
261 const gfx::Rect& old_bounds, 261 const gfx::Rect& old_bounds,
262 const gfx::Rect& new_bounds) override; 262 const gfx::Rect& new_bounds) override;
263 void OnWindowDestroying(ui::Window* window) override; 263 void OnWindowDestroying(ui::Window* window) override;
264 void OnWindowDestroyed(ui::Window* window) override; 264 void OnWindowDestroyed(ui::Window* window) override;
265 void OnWindowVisibilityChanging(ui::Window* window) override; 265 void OnWindowVisibilityChanging(ui::Window* window, bool visible) override;
266 void OnWindowVisibilityChanged(ui::Window* window) override; 266 void OnWindowVisibilityChanged(ui::Window* window, bool visible) override;
267 void OnTransientChildAdded(ui::Window* window, 267 void OnTransientChildAdded(ui::Window* window,
268 ui::Window* transient) override; 268 ui::Window* transient) override;
269 void OnTransientChildRemoved(ui::Window* window, 269 void OnTransientChildRemoved(ui::Window* window,
270 ui::Window* transient) override; 270 ui::Window* transient) override;
271 271
272 ui::Window* window_; 272 ui::Window* window_;
273 273
274 // The shell window id of this window. Shell window ids are defined in 274 // The shell window id of this window. Shell window ids are defined in
275 // ash/common/shell_window_ids.h. 275 // ash/common/shell_window_ids.h.
276 int shell_window_id_ = kShellWindowId_Invalid; 276 int shell_window_id_ = kShellWindowId_Invalid;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 309
310 bool locked_to_root_ = false; 310 bool locked_to_root_ = false;
311 311
312 DISALLOW_COPY_AND_ASSIGN(WmWindowMus); 312 DISALLOW_COPY_AND_ASSIGN(WmWindowMus);
313 }; 313 };
314 314
315 } // namespace mus 315 } // namespace mus
316 } // namespace ash 316 } // namespace ash
317 317
318 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ 318 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698