diff options
author | sschmitz@chromium.org <sschmitz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-13 20:16:06 +0000 |
---|---|---|
committer | sschmitz@chromium.org <sschmitz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-13 20:16:06 +0000 |
commit | 650529630633df0f6296adc18647a615b38371fc (patch) | |
tree | 7821746eea4cc941f512ca816cf9756a1276a9b3 /ui/views | |
parent | b739734e9d1ec8a32a6fce3711a3439329b9eb5a (diff) | |
download | chromium_src-650529630633df0f6296adc18647a615b38371fc.zip chromium_src-650529630633df0f6296adc18647a615b38371fc.tar.gz chromium_src-650529630633df0f6296adc18647a615b38371fc.tar.bz2 |
Implemented notifying of visibility change up & down window hierarchy.
Problem: A parent window of the window with focus was set invisible and did not notify the FocusController because it did not have focus.
BUG=178293
R=ben@chromimum.org
TEST=manual
Ctrl Shift I (devtools)
Ctrl t (new tab)
Observe focus is on new tab; keystrokes are received
Review URL: https://chromiumcodereview.appspot.com/12601008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187927 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views')
-rw-r--r-- | ui/views/corewm/focus_controller_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/views/corewm/focus_controller_unittest.cc b/ui/views/corewm/focus_controller_unittest.cc index 5f67f5e..10172f5 100644 --- a/ui/views/corewm/focus_controller_unittest.cc +++ b/ui/views/corewm/focus_controller_unittest.cc @@ -849,10 +849,10 @@ class FocusControllerParentRemovalTest : public FocusControllerRemovalTest { // Runs implicit focus change tests for disposition changes to target's parent // hierarchy. #define IMPLICIT_FOCUS_CHANGE_PARENT_TESTS(TESTNAME) \ - /* TODO(beng): parent hide and destruction tests are not supported at - present due to workspace manager issues. - FOCUS_CONTROLLER_TEST(FocusControllerParentHideTest, TESTNAME) \ + /* TODO(beng): parent destruction tests are not supported at + present due to workspace manager issues. \ FOCUS_CONTROLLER_TEST(FocusControllerParentDestructionTest, TESTNAME) */ \ + FOCUS_CONTROLLER_TEST(FocusControllerParentHideTest, TESTNAME) \ FOCUS_CONTROLLER_TEST(FocusControllerParentRemovalTest, TESTNAME) // Runs all implicit focus change tests (changes to the target and target's |