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

Side by Side Diff: ash/wm/screen_dimmer.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: address comments 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
« no previous file with comments | « ash/wm/root_window_layout_manager.h ('k') | ash/wm/screen_dimmer_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef ASH_WM_SCREEN_DIMMER_H_ 5 #ifndef ASH_WM_SCREEN_DIMMER_H_
6 #define ASH_WM_SCREEN_DIMMER_H_ 6 #define ASH_WM_SCREEN_DIMMER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/shell_observer.h" 9 #include "ash/shell_observer.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/scoped_ptr.h"
13 #include "ui/aura/window_observer.h" 12 #include "ui/aura/window_observer.h"
14 13
15 namespace ui { 14 namespace ui {
16 class Layer; 15 class Layer;
17 } 16 }
18 17
19 namespace ash { 18 namespace ash {
20 class DimWindow; 19 class DimWindow;
21 20
22 // ScreenDimmer displays a partially-opaque layer above everything 21 // ScreenDimmer displays a partially-opaque layer above everything
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // Are we currently dimming the screen? 65 // Are we currently dimming the screen?
67 bool is_dimming_; 66 bool is_dimming_;
68 bool at_bottom_; 67 bool at_bottom_;
69 68
70 DISALLOW_COPY_AND_ASSIGN(ScreenDimmer); 69 DISALLOW_COPY_AND_ASSIGN(ScreenDimmer);
71 }; 70 };
72 71
73 } // namespace ash 72 } // namespace ash
74 73
75 #endif // ASH_WM_SCREEN_DIMMER_H_ 74 #endif // ASH_WM_SCREEN_DIMMER_H_
OLDNEW
« no previous file with comments | « ash/wm/root_window_layout_manager.h ('k') | ash/wm/screen_dimmer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698