The file menu was enabled even when a browser window was obscured by a modal dialog. This fix disables these menu items while the dialog window is up.
BUG= http://crbug.com/23864
TEST= Open the "open file" file chooser window with cmd-o (or from the menu). Attempt to open a new tab, window, or file. Note that you cannot. Close the file chooser window, and note that these menu items are now enabled again.
Review URL: http://codereview.chromium.org/269035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28836 0039d316-1c4b-4281-b951-d872f2087c98
1 file changed