OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 USE_BRLAPI | |
6 #error This test requires brlapi. | |
7 #endif | |
8 | |
9 #include <stddef.h> | 5 #include <stddef.h> |
10 | 6 |
11 #include <deque> | 7 #include <deque> |
12 | 8 |
13 #include "base/bind.h" | 9 #include "base/bind.h" |
14 #include "chrome/browser/chrome_notification_types.h" | 10 #include "chrome/browser/chrome_notification_types.h" |
15 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" | 11 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" |
16 #include "chrome/browser/chromeos/login/lock/screen_locker.h" | 12 #include "chrome/browser/chromeos/login/lock/screen_locker.h" |
17 #include "chrome/browser/chromeos/login/lock/screen_locker_tester.h" | 13 #include "chrome/browser/chromeos/login/lock/screen_locker_tester.h" |
18 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 14 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 DismissLockScreen(tester.get()); | 371 DismissLockScreen(tester.get()); |
376 signin_api.OnBrailleKeyEvent(key_event); | 372 signin_api.OnBrailleKeyEvent(key_event); |
377 user_api.OnBrailleKeyEvent(key_event); | 373 user_api.OnBrailleKeyEvent(key_event); |
378 EXPECT_EQ(1, signin_delegate->GetEventCount()); | 374 EXPECT_EQ(1, signin_delegate->GetEventCount()); |
379 EXPECT_EQ(2, user_delegate->GetEventCount()); | 375 EXPECT_EQ(2, user_delegate->GetEventCount()); |
380 } | 376 } |
381 | 377 |
382 } // namespace braille_display_private | 378 } // namespace braille_display_private |
383 } // namespace api | 379 } // namespace api |
384 } // namespace extensions | 380 } // namespace extensions |
OLD | NEW |