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

Side by Side Diff: chrome/browser/extensions/api/braille_display_private/braille_display_private_apitest.cc

Issue 2497653002: Move use_brlapi build flag to chrome. (Closed)
Patch Set: Created 4 years, 1 month 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 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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698