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

Unified Diff: chrome/browser/automation/ui_controls_aurawin.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.h ('k') | chrome/browser/automation/ui_controls_aurax11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/ui_controls_aurawin.cc
===================================================================
--- chrome/browser/automation/ui_controls_aurawin.cc (revision 113182)
+++ chrome/browser/automation/ui_controls_aurawin.cc (working copy)
@@ -5,7 +5,6 @@
#include "chrome/browser/automation/ui_controls.h"
#include "base/logging.h"
-#include "base/message_loop.h"
#include "chrome/browser/automation/ui_controls_internal.h"
#include "ui/aura/desktop.h"
#include "ui/views/view.h"
@@ -70,9 +69,4 @@
SendMouseEventsNotifyWhenDone(button, state, task);
}
-void RunClosureAfterAllPendingUIEvents(const base::Closure& task) {
- // On windows, posting UI events is synchronous so just post the closure.
- MessageLoopForUI::current()->PostTask(FROM_HERE, task);
-}
-
} // namespace ui_controls
« no previous file with comments | « chrome/browser/automation/ui_controls.h ('k') | chrome/browser/automation/ui_controls_aurax11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698