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

Unified Diff: chrome/browser/automation/ui_controls.h

Issue 8820010: Revert 113183 - Revert 113177 - process all ui events before posting closure because menu depends... (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 | « no previous file | chrome/browser/automation/ui_controls_aurawin.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/ui_controls.h
===================================================================
--- chrome/browser/automation/ui_controls.h (revision 113187)
+++ chrome/browser/automation/ui_controls.h (working copy)
@@ -97,6 +97,11 @@
int state,
const base::Closure& task);
+#if defined(TOOLKIT_VIEWS)
+// Runs |closure| after processing all pending ui events.
+void RunClosureAfterAllPendingUIEvents(const base::Closure& closure);
+#endif
+
} // ui_controls
#endif // CHROME_BROWSER_AUTOMATION_UI_CONTROLS_H_
« no previous file with comments | « no previous file | chrome/browser/automation/ui_controls_aurawin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698