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

Unified Diff: chrome/browser/ui/views/find_bar_host.h

Issue 2848883005: Test FindBar audible alerts. (Closed)
Patch Set: Fix copy/pasted comment and speling[sic]. Created 3 years, 8 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/browser/ui/views/find_bar_host.h
diff --git a/chrome/browser/ui/views/find_bar_host.h b/chrome/browser/ui/views/find_bar_host.h
index 57800c50276f58fcd8b8ffec9a900a3f4dda5d17..191eb577f7a004ed86e85cc6c3e4d2616be3e41e 100644
--- a/chrome/browser/ui/views/find_bar_host.h
+++ b/chrome/browser/ui/views/find_bar_host.h
@@ -77,6 +77,7 @@ class FindBarHost : public DropdownBarHost,
base::string16 GetFindSelectedText() override;
base::string16 GetMatchCountText() override;
int GetWidth() override;
+ size_t GetAudibleAlertCount() override;
// Overridden from DropdownBarHost:
// Returns the rectangle representing where to position the find bar. It uses
@@ -130,6 +131,9 @@ class FindBarHost : public DropdownBarHost,
// A pointer back to the owning controller.
FindBarController* find_bar_controller_;
+ // The number of audible alerts issued.
+ size_t audible_alerts_;
+
DISALLOW_COPY_AND_ASSIGN(FindBarHost);
};

Powered by Google App Engine
This is Rietveld 408576698