diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-23 17:45:50 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-23 17:45:50 +0000 |
commit | 175d82b7675c9ca4e45efda7393fc636bc722299 (patch) | |
tree | 711078621f4d09349717ded9c91039d1651b7ecb /base/sha2_unittest.cc | |
parent | c8b152d7db2db01cf545e0c5483d24ba95da7a21 (diff) | |
download | chromium_src-175d82b7675c9ca4e45efda7393fc636bc722299.zip chromium_src-175d82b7675c9ca4e45efda7393fc636bc722299.tar.gz chromium_src-175d82b7675c9ca4e45efda7393fc636bc722299.tar.bz2 |
A few minor changes to WidgetWin:
* Add a Show() method to match Hide(), and use it in existing code. This abstracts the specifics of this a bit and will be convenient for fullscreen UI.
* Safe Hide() (and, for speed, Close()) behind IsWindow() checks just like CloseNow(), which I'll need for some tricky window-closing code in the fullscreen UI. (Right now, Hide() will eventually fail an assertion if you call it when the widget is no longer a window, which seems unnecessarily harsh.)
Review URL: http://codereview.chromium.org/27017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10190 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/sha2_unittest.cc')
0 files changed, 0 insertions, 0 deletions