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

Side by Side Diff: chrome/browser/chromeos/login/ui/login_display_host_impl.h

Issue 2690283002: mash: Fix content_browser shutdown crash if ash exits at the login screen (Closed)
Patch Set: typo Created 3 years, 10 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 | « no previous file | chrome/browser/chromeos/login/ui/login_display_host_impl.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 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 CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 void OnDisplayMetricsChanged(const display::Display& display, 133 void OnDisplayMetricsChanged(const display::Display& display,
134 uint32_t changed_metrics) override; 134 uint32_t changed_metrics) override;
135 135
136 // Overriden from views::WidgetRemovalsObserver: 136 // Overriden from views::WidgetRemovalsObserver:
137 void OnWillRemoveView(views::Widget* widget, views::View* view) override; 137 void OnWillRemoveView(views::Widget* widget, views::View* view) override;
138 138
139 // Overriden from chrome::MultiUserWindowManager::Observer: 139 // Overriden from chrome::MultiUserWindowManager::Observer:
140 void OnUserSwitchAnimationFinished() override; 140 void OnUserSwitchAnimationFinished() override;
141 141
142 private: 142 private:
143 class LoginWidgetDelegate;
144
143 // Way to restore if renderer have crashed. 145 // Way to restore if renderer have crashed.
144 enum RestorePath { 146 enum RestorePath {
145 RESTORE_UNKNOWN, 147 RESTORE_UNKNOWN,
146 RESTORE_WIZARD, 148 RESTORE_WIZARD,
147 RESTORE_SIGN_IN, 149 RESTORE_SIGN_IN,
148 RESTORE_ADD_USER_INTO_SESSION, 150 RESTORE_ADD_USER_INTO_SESSION,
149 }; 151 };
150 152
151 // Type of animations to run after the login screen. 153 // Type of animations to run after the login screen.
152 enum FinalizeAnimationType { 154 enum FinalizeAnimationType {
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 321
320 base::WeakPtrFactory<LoginDisplayHostImpl> pointer_factory_; 322 base::WeakPtrFactory<LoginDisplayHostImpl> pointer_factory_;
321 base::WeakPtrFactory<LoginDisplayHostImpl> animation_weak_ptr_factory_; 323 base::WeakPtrFactory<LoginDisplayHostImpl> animation_weak_ptr_factory_;
322 324
323 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl); 325 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl);
324 }; 326 };
325 327
326 } // namespace chromeos 328 } // namespace chromeos
327 329
328 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ 330 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/ui/login_display_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698