diff options
Diffstat (limited to 'chrome/browser/chromeos/notifications')
-rw-r--r-- | chrome/browser/chromeos/notifications/balloon_collection_impl.cc | 4 | ||||
-rw-r--r-- | chrome/browser/chromeos/notifications/notification_panel.cc | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/chromeos/notifications/balloon_collection_impl.cc b/chrome/browser/chromeos/notifications/balloon_collection_impl.cc index 1cc3740..56a3d1c 100644 --- a/chrome/browser/chromeos/notifications/balloon_collection_impl.cc +++ b/chrome/browser/chromeos/notifications/balloon_collection_impl.cc @@ -160,7 +160,7 @@ void BalloonCollectionImpl::Observe(NotificationType type, // BalloonViewImpl before IO thread gets deleted in the // BrowserProcessImpl's destructor. See http://crbug.com/40810 // for details. - if(app_closing) + if (app_closing) Shutdown(); } @@ -168,7 +168,7 @@ void BalloonCollectionImpl::Shutdown() { // We need to remove the panel first because deleting // views that are not owned by parent will not remove // themselves from the parent. - DLOG(INFO) << "Shutting down notification UI"; + DVLOG(1) << "Shutting down notification UI"; notification_ui_.reset(); STLDeleteElements(&balloons_); } diff --git a/chrome/browser/chromeos/notifications/notification_panel.cc b/chrome/browser/chromeos/notifications/notification_panel.cc index 2b48256..1ff6014 100644 --- a/chrome/browser/chromeos/notifications/notification_panel.cc +++ b/chrome/browser/chromeos/notifications/notification_panel.cc @@ -271,7 +271,7 @@ namespace chromeos { class BalloonContainer : public views::View { public: - BalloonContainer(int margin) + explicit BalloonContainer(int margin) : margin_(margin), sticky_container_(new BalloonSubContainer(margin)), non_sticky_container_(new BalloonSubContainer(margin)) { @@ -700,7 +700,7 @@ void NotificationPanel::ScrollBalloonToVisible(Balloon* balloon) { void NotificationPanel::UpdatePanel(bool update_container_size) { if (update_container_size) UpdateContainerBounds(); - switch(state_) { + switch (state_) { case KEEP_SIZE: { gfx::Rect min_bounds = GetPreferredBounds(); gfx::Rect panel_bounds; @@ -806,8 +806,8 @@ void NotificationPanel::OnStale(BalloonViewImpl* view) { void NotificationPanel::SetState(State new_state, const char* name) { #if !defined(NDEBUG) - DLOG(INFO) << "state transition " << ToStr(state_) << " >> " - << ToStr(new_state) << " in " << name; + DVLOG(1) << "state transition " << ToStr(state_) << " >> " << ToStr(new_state) + << " in " << name; #endif state_ = new_state; } |