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

Unified Diff: ash/test/test_shell_delegate.cc

Issue 254673004: Add LockLayoutManager responsible for lock container (login/lock). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix crash Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/test/test_shell_delegate.h ('k') | ash/wm/lock_layout_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_shell_delegate.cc
diff --git a/ash/test/test_shell_delegate.cc b/ash/test/test_shell_delegate.cc
index 2a6597d13022caae5cb3fba51f059f95dc0d3ddc..982cae47873e1705228507fb9d9d9dc3982e186b 100644
--- a/ash/test/test_shell_delegate.cc
+++ b/ash/test/test_shell_delegate.cc
@@ -123,14 +123,19 @@ keyboard::KeyboardControllerProxy*
}
void TestShellDelegate::VirtualKeyboardActivated(bool activated) {
+ FOR_EACH_OBSERVER(ash::VirtualKeyboardStateObserver,
+ keyboard_state_observer_list_,
+ OnVirtualKeyboardStateChanged(activated));
}
void TestShellDelegate::AddVirtualKeyboardStateObserver(
VirtualKeyboardStateObserver* observer) {
+ keyboard_state_observer_list_.AddObserver(observer);
}
void TestShellDelegate::RemoveVirtualKeyboardStateObserver(
VirtualKeyboardStateObserver* observer) {
+ keyboard_state_observer_list_.RemoveObserver(observer);
}
content::BrowserContext* TestShellDelegate::GetActiveBrowserContext() {
« no previous file with comments | « ash/test/test_shell_delegate.h ('k') | ash/wm/lock_layout_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698