Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4851)

Unified Diff: chrome/browser/views/frame/browser_view.cc

Issue 159202: add mole info to toolstrip definition and enable moles (Closed)
Patch Set: ready for review Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/views/frame/browser_view.cc
diff --git a/chrome/browser/views/frame/browser_view.cc b/chrome/browser/views/frame/browser_view.cc
index 24e29da6f3026bd2f71e65827e668e9d3279e8d5..6d59587cdf356dd52b2da7ce55f584100e18475d 100644
--- a/chrome/browser/views/frame/browser_view.cc
+++ b/chrome/browser/views/frame/browser_view.cc
@@ -602,12 +602,11 @@ void BrowserView::SetBounds(const gfx::Rect& bounds) {
}
void BrowserView::Close() {
- frame_->GetWindow()->Close();
-
BubbleSet::iterator bubble = browser_bubbles_.begin();
- for (; bubble != browser_bubbles_.end(); ++bubble) {
- (*bubble)->BrowserWindowClosed();
- }
+ for (; bubble != browser_bubbles_.end(); ++bubble)
+ (*bubble)->BrowserWindowClosing();
+
+ frame_->GetWindow()->Close();
}
void BrowserView::Activate() {

Powered by Google App Engine
This is Rietveld 408576698