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

Side by Side Diff: ash/display/cursor_window_controller.h

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 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 #ifndef ASH_DISPLAY_CURSOR_WINDOW_CONTROLLER_H_ 5 #ifndef ASH_DISPLAY_CURSOR_WINDOW_CONTROLLER_H_
6 #define ASH_DISPLAY_CURSOR_WINDOW_CONTROLLER_H_ 6 #define ASH_DISPLAY_CURSOR_WINDOW_CONTROLLER_H_
7 7
oshima 2016/04/08 07:09:39 include?
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "ui/aura/window.h" 10 #include "ui/aura/window.h"
11 #include "ui/base/cursor/cursor.h" 11 #include "ui/base/cursor/cursor.h"
12 #include "ui/gfx/display.h" 12 #include "ui/gfx/display.h"
13 13
14 namespace ash { 14 namespace ash {
15 namespace test { 15 namespace test {
16 class MirrorWindowTestApi; 16 class MirrorWindowTestApi;
17 } 17 }
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 // The last requested cursor visibility. 80 // The last requested cursor visibility.
81 bool visible_; 81 bool visible_;
82 82
83 ui::CursorSetType cursor_set_; 83 ui::CursorSetType cursor_set_;
84 gfx::Point hot_point_; 84 gfx::Point hot_point_;
85 85
86 // The display on which the cursor is drawn. 86 // The display on which the cursor is drawn.
87 // For mirroring mode, the display is always the primary display. 87 // For mirroring mode, the display is always the primary display.
88 gfx::Display display_; 88 gfx::Display display_;
89 89
90 scoped_ptr<aura::Window> cursor_window_; 90 std::unique_ptr<aura::Window> cursor_window_;
91 scoped_ptr<CursorWindowDelegate> delegate_; 91 std::unique_ptr<CursorWindowDelegate> delegate_;
92 92
93 DISALLOW_COPY_AND_ASSIGN(CursorWindowController); 93 DISALLOW_COPY_AND_ASSIGN(CursorWindowController);
94 }; 94 };
95 95
96 } // namespace ash 96 } // namespace ash
97 97
98 #endif // ASH_DISPLAY_CURSOR_WINDOW_CONTROLLER_H_ 98 #endif // ASH_DISPLAY_CURSOR_WINDOW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698