| OLD | NEW |
| 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 #include <stddef.h> | 5 #include <stddef.h> |
| 6 #include <stdint.h> | 6 #include <stdint.h> |
| 7 | 7 |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 const gfx::Rect& new_bounds, | 314 const gfx::Rect& new_bounds, |
| 315 const base::Optional<cc::LocalSurfaceId>& local_surface_id) override { | 315 const base::Optional<cc::LocalSurfaceId>& local_surface_id) override { |
| 316 // The bounds of the root may change during startup on Android at random | 316 // The bounds of the root may change during startup on Android at random |
| 317 // times. As this doesn't matter, and shouldn't impact test exepctations, | 317 // times. As this doesn't matter, and shouldn't impact test exepctations, |
| 318 // it is ignored. | 318 // it is ignored. |
| 319 if (window_id == root_window_id_ && !track_root_bounds_changes_) | 319 if (window_id == root_window_id_ && !track_root_bounds_changes_) |
| 320 return; | 320 return; |
| 321 tracker()->OnWindowBoundsChanged(window_id, old_bounds, new_bounds, | 321 tracker()->OnWindowBoundsChanged(window_id, old_bounds, new_bounds, |
| 322 local_surface_id); | 322 local_surface_id); |
| 323 } | 323 } |
| 324 void OnSetWindowBoundsResponse( |
| 325 uint32_t change_id, |
| 326 const gfx::Rect& bounds, |
| 327 const cc::LocalSurfaceId& local_surface_id) override {} |
| 324 void OnClientAreaChanged( | 328 void OnClientAreaChanged( |
| 325 uint32_t window_id, | 329 uint32_t window_id, |
| 326 const gfx::Insets& new_client_area, | 330 const gfx::Insets& new_client_area, |
| 327 const std::vector<gfx::Rect>& new_additional_client_areas) override {} | 331 const std::vector<gfx::Rect>& new_additional_client_areas) override {} |
| 328 void OnTransientWindowAdded(uint32_t window_id, | 332 void OnTransientWindowAdded(uint32_t window_id, |
| 329 uint32_t transient_window_id) override { | 333 uint32_t transient_window_id) override { |
| 330 tracker()->OnTransientWindowAdded(window_id, transient_window_id); | 334 tracker()->OnTransientWindowAdded(window_id, transient_window_id); |
| 331 } | 335 } |
| 332 void OnTransientWindowRemoved(uint32_t window_id, | 336 void OnTransientWindowRemoved(uint32_t window_id, |
| 333 uint32_t transient_window_id) override { | 337 uint32_t transient_window_id) override { |
| (...skipping 1917 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2251 | 2255 |
| 2252 // TODO(sky): make sure coverage of what was | 2256 // TODO(sky): make sure coverage of what was |
| 2253 // WindowManagerTest.SecondEmbedRoot_InitService and | 2257 // WindowManagerTest.SecondEmbedRoot_InitService and |
| 2254 // WindowManagerTest.MultipleEmbedRootsBeforeWTHReady gets added to window | 2258 // WindowManagerTest.MultipleEmbedRootsBeforeWTHReady gets added to window |
| 2255 // manager | 2259 // manager |
| 2256 // tests. | 2260 // tests. |
| 2257 | 2261 |
| 2258 } // namespace test | 2262 } // namespace test |
| 2259 } // namespace ws | 2263 } // namespace ws |
| 2260 } // namespace ui | 2264 } // namespace ui |
| OLD | NEW |