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

Unified Diff: chrome/browser/automation/ui_controls_win.cc

Issue 8821012: Revert 113177 - process all ui events before posting closure because menu depends on ui events to... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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/automation/ui_controls_internal.h ('k') | chrome/test/base/view_event_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/ui_controls_win.cc
===================================================================
--- chrome/browser/automation/ui_controls_win.cc (revision 113182)
+++ chrome/browser/automation/ui_controls_win.cc (working copy)
@@ -5,7 +5,6 @@
#include "chrome/browser/automation/ui_controls.h"
#include "base/callback.h"
-#include "base/message_loop.h"
#include "chrome/browser/automation/ui_controls_internal.h"
#include "ui/gfx/point.h"
#include "ui/views/view.h"
@@ -66,9 +65,4 @@
SendMouseEventsNotifyWhenDone(button, state, task);
}
-void RunClosureAfterAllPendingUIEvents(const base::Closure& closure) {
- // On windows, posting UI events is synchronous so just post the closure.
- MessageLoopForUI::current()->PostTask(FROM_HERE, closure);
-}
-
} // ui_controls
« no previous file with comments | « chrome/browser/automation/ui_controls_internal.h ('k') | chrome/test/base/view_event_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698