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

Unified Diff: chrome/test/base/ui_test_utils.h

Issue 2300323003: Adding performance tests for HQP that represent importance of optimising HistoryItemsForTerms method (Closed)
Patch Set: Created 4 years, 3 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
Index: chrome/test/base/ui_test_utils.h
diff --git a/chrome/test/base/ui_test_utils.h b/chrome/test/base/ui_test_utils.h
index 38ac0db71686916b457c353bb064adc34845b63f..e317b18a430512fc03ea14a4388ab651d757a6dc 100644
--- a/chrome/test/base/ui_test_utils.h
+++ b/chrome/test/base/ui_test_utils.h
@@ -26,6 +26,7 @@
#include "ui/gfx/native_widget_types.h"
#include "url/gurl.h"
+class AutocompleteController;
class Browser;
class LocationBar;
class Profile;
@@ -131,6 +132,11 @@ bool GetRelativeBuildDirectory(base::FilePath* build_dir);
// Blocks until an application modal dialog is showns and returns it.
app_modal::AppModalDialog* WaitForAppModalDialog();
+// Waits for |autocomplete_controller| to stop, i.e. waits
+// NOTIFICATION_AUTOCOMPLETE_CONTROLLER_RESULT_READY.
+void WaitForAutocompleteController(
+ const AutocompleteController& autocomplete_controller);
+
// Performs a find in the page of the specified tab. Returns the number of
// matches found. |ordinal| is an optional parameter which is set to the index
// of the current match. |selection_rect| is an optional parameter which is set

Powered by Google App Engine
This is Rietveld 408576698