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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/oobe_ui.cc

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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) 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/ui/webui/chromeos/login/oobe_ui.h" 5 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <memory>
10
9 #include "ash/shell_window_ids.h" 11 #include "ash/shell_window_ids.h"
10 #include "ash/wm/screen_dimmer.h" 12 #include "ash/wm/screen_dimmer.h"
11 #include "base/command_line.h" 13 #include "base/command_line.h"
12 #include "base/logging.h" 14 #include "base/logging.h"
13 #include "base/macros.h" 15 #include "base/macros.h"
14 #include "base/memory/scoped_ptr.h"
15 #include "base/strings/stringprintf.h" 16 #include "base/strings/stringprintf.h"
16 #include "base/values.h" 17 #include "base/values.h"
17 #include "chrome/browser/browser_process.h" 18 #include "chrome/browser/browser_process.h"
18 #include "chrome/browser/browser_process_platform_part.h" 19 #include "chrome/browser/browser_process_platform_part.h"
19 #include "chrome/browser/chromeos/login/enrollment/auto_enrollment_check_screen_ actor.h" 20 #include "chrome/browser/chromeos/login/enrollment/auto_enrollment_check_screen_ actor.h"
20 #include "chrome/browser/chromeos/login/enrollment/enrollment_screen_actor.h" 21 #include "chrome/browser/chromeos/login/enrollment/enrollment_screen_actor.h"
21 #include "chrome/browser/chromeos/login/screens/error_screen.h" 22 #include "chrome/browser/chromeos/login/screens/error_screen.h"
22 #include "chrome/browser/chromeos/login/startup_utils.h" 23 #include "chrome/browser/chromeos/login/startup_utils.h"
23 #include "chrome/browser/chromeos/login/ui/login_display_host.h" 24 #include "chrome/browser/chromeos/login/ui/login_display_host.h"
24 #include "chrome/browser/chromeos/login/wizard_controller.h" 25 #include "chrome/browser/chromeos/login/wizard_controller.h"
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 screen_dimmer->set_at_bottom(true); 568 screen_dimmer->set_at_bottom(true);
568 screen_dimmer->SetDimming(should_dim); 569 screen_dimmer->SetDimming(should_dim);
569 570
570 FOR_EACH_OBSERVER(Observer, 571 FOR_EACH_OBSERVER(Observer,
571 observer_list_, 572 observer_list_,
572 OnCurrentScreenChanged(current_screen_, new_screen)); 573 OnCurrentScreenChanged(current_screen_, new_screen));
573 current_screen_ = new_screen; 574 current_screen_ = new_screen;
574 } 575 }
575 576
576 } // namespace chromeos 577 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/oobe_ui.h ('k') | chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698