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

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

Issue 2747543002: ash: Start/stop observing KeyboardController via ShellObserver (Closed)
Patch Set: update LockLayoutManager to use similar logic Created 3 years, 9 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 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // Overridden from content::WebContentsObserver: 115 // Overridden from content::WebContentsObserver:
116 void RenderProcessGone(base::TerminationStatus status) override; 116 void RenderProcessGone(base::TerminationStatus status) override;
117 117
118 // Overridden from chromeos::SessionManagerClient::Observer: 118 // Overridden from chromeos::SessionManagerClient::Observer:
119 void EmitLoginPromptVisibleCalled() override; 119 void EmitLoginPromptVisibleCalled() override;
120 120
121 // Overridden from chromeos::CrasAudioHandler::AudioObserver: 121 // Overridden from chromeos::CrasAudioHandler::AudioObserver:
122 void OnActiveOutputNodeChanged() override; 122 void OnActiveOutputNodeChanged() override;
123 123
124 // ash::ShellObserver: 124 // ash::ShellObserver:
125 void OnVirtualKeyboardStateChanged(bool activated) override; 125 void OnVirtualKeyboardStateChanged(bool activated,
126 ash::WmWindow* root_window) override;
126 127
127 // Overridden from keyboard::KeyboardControllerObserver: 128 // Overridden from keyboard::KeyboardControllerObserver:
128 void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override; 129 void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override;
129 void OnKeyboardClosed() override; 130 void OnKeyboardClosed() override;
130 131
131 // Overridden from display::DisplayObserver: 132 // Overridden from display::DisplayObserver:
132 void OnDisplayAdded(const display::Display& new_display) override; 133 void OnDisplayAdded(const display::Display& new_display) override;
133 void OnDisplayRemoved(const display::Display& old_display) override; 134 void OnDisplayRemoved(const display::Display& old_display) override;
134 void OnDisplayMetricsChanged(const display::Display& display, 135 void OnDisplayMetricsChanged(const display::Display& display,
135 uint32_t changed_metrics) override; 136 uint32_t changed_metrics) override;
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 326
326 base::WeakPtrFactory<LoginDisplayHostImpl> pointer_factory_; 327 base::WeakPtrFactory<LoginDisplayHostImpl> pointer_factory_;
327 base::WeakPtrFactory<LoginDisplayHostImpl> animation_weak_ptr_factory_; 328 base::WeakPtrFactory<LoginDisplayHostImpl> animation_weak_ptr_factory_;
328 329
329 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl); 330 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl);
330 }; 331 };
331 332
332 } // namespace chromeos 333 } // namespace chromeos
333 334
334 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ 335 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/lock/webui_screen_locker.cc ('k') | 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