Index: chrome/browser/automation/ui_controls.h |
diff --git a/chrome/browser/automation/ui_controls.h b/chrome/browser/automation/ui_controls.h |
index 19e215ad7cdeffa2d4c555cd2bc22ea18ca2e886..270e18d4b18bbc77cb67df5cd6a314ad92d447db 100644 |
--- a/chrome/browser/automation/ui_controls.h |
+++ b/chrome/browser/automation/ui_controls.h |
@@ -97,6 +97,11 @@ void MoveMouseToCenterAndPress( |
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_ |