diff options
author | jackhou <jackhou@chromium.org> | 2015-08-06 22:17:21 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-07 05:18:11 +0000 |
commit | 24869918ffc61b2a29e7a8b23d9120e13c3404fd (patch) | |
tree | ce0dc5be1640cac5034ab132bae1592439fe31e7 /chrome/chrome_tests.gypi | |
parent | e07acee850f48a5565c875e8806aaa126d35d22e (diff) | |
download | chromium_src-24869918ffc61b2a29e7a8b23d9120e13c3404fd.zip chromium_src-24869918ffc61b2a29e7a8b23d9120e13c3404fd.tar.gz chromium_src-24869918ffc61b2a29e7a8b23d9120e13c3404fd.tar.bz2 |
[MacViews] Fix AccessiblePaneViewTest.SetPaneFocusAndRestore.
Fake out key status to make Widget::Activate/IsActive work in the unit test.
If-def out the part that requires Widget::Deactivate as it's not supported on
Mac.
The test was also failing because Mac checks WidgetDelegate::CanActivate()
when activating whereas NativeWidgetAura defers this to `ShouldActivate`
which is only checked by wm::BaseFocusRules.
Also improve c/b/ui/test/scoped_fake_nswindow_main_status to handle
key status as well and move it to ui/base/test/.
BUG=378134
Review URL: https://codereview.chromium.org/1268293002
Cr-Commit-Position: refs/heads/master@{#342289}
Diffstat (limited to 'chrome/chrome_tests.gypi')
-rw-r--r-- | chrome/chrome_tests.gypi | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi index 9262d92..041ef6c 100644 --- a/chrome/chrome_tests.gypi +++ b/chrome/chrome_tests.gypi @@ -515,8 +515,6 @@ 'browser/ui/sync/profile_signin_confirmation_helper_browsertest.cc', 'browser/ui/tab_modal_confirm_dialog_browsertest.cc', 'browser/ui/tab_modal_confirm_dialog_browsertest.h', - 'browser/ui/test/scoped_fake_nswindow_main_status.h', - 'browser/ui/test/scoped_fake_nswindow_main_status.mm', 'browser/ui/toolbar/browser_actions_bar_browsertest.cc', 'browser/ui/toolbar/browser_actions_bar_browsertest.h', 'browser/ui/toolbar/component_toolbar_actions_browsertest.cc', |