diff options
author | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-15 00:26:05 +0000 |
---|---|---|
committer | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-15 00:26:05 +0000 |
commit | 31d5649978518533ee904064a980668cdc05d8a6 (patch) | |
tree | 57e160806442cf981e29e12425db324322d9b150 /views/examples/examples_main.cc | |
parent | 2283d6e79454dd3b1cdc64f8dbfb1f7f2e417607 (diff) | |
download | chromium_src-31d5649978518533ee904064a980668cdc05d8a6.zip chromium_src-31d5649978518533ee904064a980668cdc05d8a6.tar.gz chromium_src-31d5649978518533ee904064a980668cdc05d8a6.tar.bz2 |
chromeos: Hide status icons when they shouldn't be shown.
(Relanding r92585, which was reverted by r92591 after breaking
CapsLockMenuButtonTest.InitialIndicatorTest.)
This makes us hide status area icons instead of clearing
their bitmaps and tooltips. StatusAreaView is notified about
visibility changes and uses that as a signal to re-layout.
BUG=chromium-os:17429,chromium-os:17370
TEST=manual: checked that status area is updated as expected when toggling caps lock and switching/enabling/disabling input methods; also saw the previously-failing test pass on linux_view and linux_chromeos trybots
Review URL: http://codereview.chromium.org/7379006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92628 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/examples/examples_main.cc')
0 files changed, 0 insertions, 0 deletions