Commit 232f3511 authored by avi@chromium.org's avatar avi@chromium.org

Revert 253735 "Always broadcast one last "tab not blocked" notif..."

> Always broadcast one last "tab not blocked" notification before closing a tab.
> 
> BUG=336386
> TEST=as in bug
> 
> Review URL: https://codereview.chromium.org/132103005

TBR=avi@chromium.org

Review URL: https://codereview.chromium.org/192913002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255952 0039d316-1c4b-4281-b951-d872f2087c98
parent 4e985308
...@@ -1250,12 +1250,6 @@ bool TabStripModel::InternalCloseTabs(const std::vector<int>& indices, ...@@ -1250,12 +1250,6 @@ bool TabStripModel::InternalCloseTabs(const std::vector<int>& indices,
void TabStripModel::InternalCloseTab(WebContents* contents, void TabStripModel::InternalCloseTab(WebContents* contents,
int index, int index,
bool create_historical_tabs) { bool create_historical_tabs) {
// Reset the blocked state of the tab, and fire a notification if necessary.
// <http://crbug.com/336386#c4> . TODO(avi): Remove all the "blocked" code and
// the WebContentsModalDialogManager from TabStripModel, and move all that
// tracking code to the modal dialog code, where it belongs.
SetTabBlocked(index, false);
FOR_EACH_OBSERVER(TabStripModelObserver, observers_, FOR_EACH_OBSERVER(TabStripModelObserver, observers_,
TabClosingAt(this, contents, index)); TabClosingAt(this, contents, index));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment