OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/display/overscan_calibrator.h" | 5 #include "chrome/browser/chromeos/display/overscan_calibrator.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <limits> | 9 #include <limits> |
10 | 10 |
11 #include "ash/common/shell_window_ids.h" | |
12 #include "ash/display/display_manager.h" | 11 #include "ash/display/display_manager.h" |
13 #include "ash/display/window_tree_host_manager.h" | 12 #include "ash/display/window_tree_host_manager.h" |
| 13 #include "ash/public/cpp/shell_window_ids.h" |
14 #include "ash/shell.h" | 14 #include "ash/shell.h" |
15 #include "third_party/skia/include/core/SkColor.h" | 15 #include "third_party/skia/include/core/SkColor.h" |
16 #include "third_party/skia/include/core/SkPaint.h" | 16 #include "third_party/skia/include/core/SkPaint.h" |
17 #include "third_party/skia/include/core/SkPath.h" | 17 #include "third_party/skia/include/core/SkPath.h" |
18 #include "ui/aura/window.h" | 18 #include "ui/aura/window.h" |
19 #include "ui/compositor/layer.h" | 19 #include "ui/compositor/layer.h" |
20 #include "ui/compositor/paint_recorder.h" | 20 #include "ui/compositor/paint_recorder.h" |
21 #include "ui/display/manager/managed_display_info.h" | 21 #include "ui/display/manager/managed_display_info.h" |
22 #include "ui/gfx/canvas.h" | 22 #include "ui/gfx/canvas.h" |
23 | 23 |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 const gfx::Rect& damage_rect_in_dip) { | 152 const gfx::Rect& damage_rect_in_dip) { |
153 } | 153 } |
154 | 154 |
155 void OverscanCalibrator::OnDeviceScaleFactorChanged( | 155 void OverscanCalibrator::OnDeviceScaleFactorChanged( |
156 float device_scale_factor) { | 156 float device_scale_factor) { |
157 // TODO(mukai): Cancel the overscan calibration when the device | 157 // TODO(mukai): Cancel the overscan calibration when the device |
158 // configuration has changed. | 158 // configuration has changed. |
159 } | 159 } |
160 | 160 |
161 } // namespace chromeos | 161 } // namespace chromeos |
OLD | NEW |