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

Unified Diff: chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc

Issue 14307023: chrome: Use base::MessageLoop. (Part 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 7 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
« no previous file with comments | « chrome/browser/ui/gtk/menu_gtk.cc ('k') | chrome/browser/ui/gtk/one_click_signin_bubble_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc
diff --git a/chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc b/chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc
index 80da5f5c6e45b53bd112896cc888ff1648630991..541328ea64765a849123c5ad20371eb308f1cdc6 100644
--- a/chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc
+++ b/chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc
@@ -123,7 +123,7 @@ void BalloonViewImpl::Close(bool by_user) {
if (!by_user && menu_showing_) {
pending_close_ = true;
} else {
- MessageLoop::current()->PostTask(
+ base::MessageLoop::current()->PostTask(
FROM_HERE,
base::Bind(&BalloonViewImpl::DelayedClose,
weak_factory_.GetWeakPtr(),
@@ -467,11 +467,10 @@ void BalloonViewImpl::OnOptionsMenuButton(GtkWidget* widget,
void BalloonViewImpl::StoppedShowing() {
menu_showing_ = false;
if (pending_close_) {
- MessageLoop::current()->PostTask(
+ base::MessageLoop::current()->PostTask(
FROM_HERE,
- base::Bind(&BalloonViewImpl::DelayedClose,
- weak_factory_.GetWeakPtr(),
- false));
+ base::Bind(
+ &BalloonViewImpl::DelayedClose, weak_factory_.GetWeakPtr(), false));
}
}
« no previous file with comments | « chrome/browser/ui/gtk/menu_gtk.cc ('k') | chrome/browser/ui/gtk/one_click_signin_bubble_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698