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

Side by Side Diff: ash/display/root_window_transformers.cc

Issue 1867223004: Convert //ash from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "ash/display/root_window_transformers.h" 5 #include "ash/display/root_window_transformers.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 #include <memory>
oshima 2016/04/08 07:09:40 not necessary?
8 9
9 #include "ash/ash_switches.h" 10 #include "ash/ash_switches.h"
10 #include "ash/display/display_info.h" 11 #include "ash/display/display_info.h"
11 #include "ash/display/display_manager.h" 12 #include "ash/display/display_manager.h"
12 #include "ash/host/root_window_transformer.h" 13 #include "ash/host/root_window_transformer.h"
13 #include "ash/magnifier/magnification_controller.h" 14 #include "ash/magnifier/magnification_controller.h"
14 #include "ash/shell.h" 15 #include "ash/shell.h"
15 #include "base/command_line.h" 16 #include "base/command_line.h"
16 #include "base/memory/scoped_ptr.h"
17 #include "third_party/skia/include/utils/SkMatrix44.h" 17 #include "third_party/skia/include/utils/SkMatrix44.h"
18 #include "ui/aura/window_event_dispatcher.h" 18 #include "ui/aura/window_event_dispatcher.h"
19 #include "ui/aura/window_property.h" 19 #include "ui/aura/window_property.h"
20 #include "ui/compositor/dip_util.h" 20 #include "ui/compositor/dip_util.h"
21 #include "ui/gfx/display.h" 21 #include "ui/gfx/display.h"
22 #include "ui/gfx/geometry/insets.h" 22 #include "ui/gfx/geometry/insets.h"
23 #include "ui/gfx/geometry/size_conversions.h" 23 #include "ui/gfx/geometry/size_conversions.h"
24 #include "ui/gfx/screen.h" 24 #include "ui/gfx/screen.h"
25 #include "ui/gfx/transform.h" 25 #include "ui/gfx/transform.h"
26 #include "ui/gfx/transform.h" 26 #include "ui/gfx/transform.h"
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 mirror_display_info); 326 mirror_display_info);
327 } 327 }
328 328
329 RootWindowTransformer* CreateRootWindowTransformerForUnifiedDesktop( 329 RootWindowTransformer* CreateRootWindowTransformerForUnifiedDesktop(
330 const gfx::Rect& screen_bounds, 330 const gfx::Rect& screen_bounds,
331 const gfx::Display& display) { 331 const gfx::Display& display) {
332 return new PartialBoundsRootWindowTransformer(screen_bounds, display); 332 return new PartialBoundsRootWindowTransformer(screen_bounds, display);
333 } 333 }
334 334
335 } // namespace ash 335 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698