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

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

Issue 2885153004: React to primary display change instead of removal (Closed)
Patch Set: Minor fixes and documentation changes Created 3 years, 7 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 void RenderProcessGone(base::TerminationStatus status) override; 110 void RenderProcessGone(base::TerminationStatus status) override;
111 111
112 // Overridden from chromeos::SessionManagerClient::Observer: 112 // Overridden from chromeos::SessionManagerClient::Observer:
113 void EmitLoginPromptVisibleCalled() override; 113 void EmitLoginPromptVisibleCalled() override;
114 114
115 // Overridden from chromeos::CrasAudioHandler::AudioObserver: 115 // Overridden from chromeos::CrasAudioHandler::AudioObserver:
116 void OnActiveOutputNodeChanged() override; 116 void OnActiveOutputNodeChanged() override;
117 117
118 // Overridden from display::DisplayObserver: 118 // Overridden from display::DisplayObserver:
119 void OnDisplayAdded(const display::Display& new_display) override; 119 void OnDisplayAdded(const display::Display& new_display) override;
120 void OnDisplayRemoved(const display::Display& old_display) override;
121 void OnDisplayMetricsChanged(const display::Display& display, 120 void OnDisplayMetricsChanged(const display::Display& display,
122 uint32_t changed_metrics) override; 121 uint32_t changed_metrics) override;
123 122
124 // Overriden from views::WidgetRemovalsObserver: 123 // Overriden from views::WidgetRemovalsObserver:
125 void OnWillRemoveView(views::Widget* widget, views::View* view) override; 124 void OnWillRemoveView(views::Widget* widget, views::View* view) override;
126 125
127 // Overriden from chrome::MultiUserWindowManager::Observer: 126 // Overriden from chrome::MultiUserWindowManager::Observer:
128 void OnUserSwitchAnimationFinished() override; 127 void OnUserSwitchAnimationFinished() override;
129 128
130 private: 129 private:
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 305
307 base::WeakPtrFactory<LoginDisplayHostImpl> pointer_factory_; 306 base::WeakPtrFactory<LoginDisplayHostImpl> pointer_factory_;
308 base::WeakPtrFactory<LoginDisplayHostImpl> animation_weak_ptr_factory_; 307 base::WeakPtrFactory<LoginDisplayHostImpl> animation_weak_ptr_factory_;
309 308
310 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl); 309 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl);
311 }; 310 };
312 311
313 } // namespace chromeos 312 } // namespace chromeos
314 313
315 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ 314 #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