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

Side by Side Diff: chrome/browser/chromeos/display/overscan_calibrator.cc

Issue 2430593002: mash: Use ash shell window container ids instead of ash::mojom::Container (Closed)
Patch Set: rebase 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 (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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698