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

Unified Diff: chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h

Issue 2848883005: Test FindBar audible alerts. (Closed)
Patch Set: Address Scott's comment. Created 3 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/find_bar/find_bar_bridge.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h
diff --git a/chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h b/chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h
index de7358af41c53317633cea4bf15dba98d31f9289..c19c6d4badb8863a26b5dad1521444eb759ea96a 100644
--- a/chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h
+++ b/chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h
@@ -76,6 +76,7 @@ class FindBarBridge : public FindBar,
base::string16 GetFindSelectedText() override;
base::string16 GetMatchCountText() override;
int GetWidth() override;
+ size_t GetAudibleAlertCount() override;
// Used to disable find bar animations when testing.
static bool disable_animations_during_testing_;
@@ -88,6 +89,9 @@ class FindBarBridge : public FindBar,
// Pointer back to the owning controller.
FindBarController* find_bar_controller_; // weak, owns us
+ // Number of audible alerts generated, for testing.
+ size_t audible_alerts_;
+
DISALLOW_COPY_AND_ASSIGN(FindBarBridge);
};
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/find_bar/find_bar_bridge.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698