diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-16 22:41:42 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-16 22:41:42 +0000 |
commit | b6ad1cab92ed9e9c1734d1801482cfa8ffd3b4b1 (patch) | |
tree | 0d1a8598536ed29830e4e8a4cdbcd90b5f0dbd87 /chrome/browser/browser_list.cc | |
parent | 16f3bd95e3f2bd39f6d64f91326bb3cdf894cedc (diff) | |
download | chromium_src-b6ad1cab92ed9e9c1734d1801482cfa8ffd3b4b1.zip chromium_src-b6ad1cab92ed9e9c1734d1801482cfa8ffd3b4b1.tar.gz chromium_src-b6ad1cab92ed9e9c1734d1801482cfa8ffd3b4b1.tar.bz2 |
Pull app modal dialog handling out of the BrowserList to remove the ChromeViews dependency. (Required for porting).
TEST=Open two browser windows. In one, enter "javascript:alert('Foo');" into the address bar and hit enter. Click on the other window. The modal dialog should be focused and the window it was opened over should flash in the taskbar,
Review URL: http://codereview.chromium.org/18179
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8234 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_list.cc')
-rw-r--r-- | chrome/browser/browser_list.cc | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/chrome/browser/browser_list.cc b/chrome/browser/browser_list.cc index ea64570..90ccb56 100644 --- a/chrome/browser/browser_list.cc +++ b/chrome/browser/browser_list.cc @@ -159,26 +159,6 @@ bool BrowserList::HasBrowserWithProfile(Profile* profile) { } // static -views::AppModalDialogDelegate* BrowserList::app_modal_dialog_ = NULL; - -// static -void BrowserList::SetShowingAppModalDialog( - views::AppModalDialogDelegate* dialog) { - DCHECK(!(app_modal_dialog_ && dialog)); - app_modal_dialog_ = dialog; -} - -// static -views::AppModalDialogDelegate* BrowserList::GetShowingAppModalDialog() { - return app_modal_dialog_; -} - -// static -bool BrowserList::IsShowingAppModalDialog() { - return app_modal_dialog_ != NULL; -} - -// static BrowserList::list_type BrowserList::last_active_browsers_; // static |