| 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 "chrome/browser/chromeos/ui/accessibility_focus_ring_controller.h" | 5 #include "chrome/browser/chromeos/ui/accessibility_focus_ring_controller.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include "ash/display/window_tree_host_manager.h" | 9 #include "ash/display/window_tree_host_manager.h" |
| 8 #include "ash/shell.h" | 10 #include "ash/shell.h" |
| 9 #include "base/logging.h" | 11 #include "base/logging.h" |
| 10 #include "chrome/browser/chromeos/ui/focus_ring_layer.h" | 12 #include "chrome/browser/chromeos/ui/focus_ring_layer.h" |
| 11 #include "ui/gfx/screen.h" | 13 #include "ui/gfx/screen.h" |
| 12 | 14 |
| 13 namespace chromeos { | 15 namespace chromeos { |
| 14 | 16 |
| 15 namespace { | 17 namespace { |
| 16 | 18 |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 } | 326 } |
| 325 | 327 |
| 326 void AccessibilityFocusRingController::OnCompositingShuttingDown( | 328 void AccessibilityFocusRingController::OnCompositingShuttingDown( |
| 327 ui::Compositor* compositor) { | 329 ui::Compositor* compositor) { |
| 328 DCHECK_EQ(compositor_, compositor); | 330 DCHECK_EQ(compositor_, compositor); |
| 329 compositor_->RemoveAnimationObserver(this); | 331 compositor_->RemoveAnimationObserver(this); |
| 330 compositor_ = nullptr; | 332 compositor_ = nullptr; |
| 331 } | 333 } |
| 332 | 334 |
| 333 } // namespace chromeos | 335 } // namespace chromeos |
| OLD | NEW |