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

Side by Side Diff: ash/display/resolution_notification_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef ASH_DISPLAY_RESOLUTION_NOTIFICATION_CONTROLLER_H_ 5 #ifndef ASH_DISPLAY_RESOLUTION_NOTIFICATION_CONTROLLER_H_
6 #define ASH_DISPLAY_RESOLUTION_NOTIFICATION_CONTROLLER_H_ 6 #define ASH_DISPLAY_RESOLUTION_NOTIFICATION_CONTROLLER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 void OnDisplayAdded(const gfx::Display& new_display) override; 92 void OnDisplayAdded(const gfx::Display& new_display) override;
93 void OnDisplayRemoved(const gfx::Display& old_display) override; 93 void OnDisplayRemoved(const gfx::Display& old_display) override;
94 void OnDisplayMetricsChanged(const gfx::Display& display, 94 void OnDisplayMetricsChanged(const gfx::Display& display,
95 uint32_t metrics) override; 95 uint32_t metrics) override;
96 96
97 // WindowTreeHostManager::Observer overrides: 97 // WindowTreeHostManager::Observer overrides:
98 void OnDisplayConfigurationChanged() override; 98 void OnDisplayConfigurationChanged() override;
99 99
100 static void SuppressTimerForTest(); 100 static void SuppressTimerForTest();
101 101
102 scoped_ptr<ResolutionChangeInfo> change_info_; 102 std::unique_ptr<ResolutionChangeInfo> change_info_;
103 103
104 DISALLOW_COPY_AND_ASSIGN(ResolutionNotificationController); 104 DISALLOW_COPY_AND_ASSIGN(ResolutionNotificationController);
105 }; 105 };
106 106
107 } // namespace ash 107 } // namespace ash
108 108
109 #endif // ASH_DISPLAY_RESOLUTION_NOTIFICATION_CONTROLLER_H_ 109 #endif // ASH_DISPLAY_RESOLUTION_NOTIFICATION_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698