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

Side by Side Diff: chrome/browser/ui/find_bar/find_bar.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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // This is an interface for the platform specific FindBar. It is responsible 5 // This is an interface for the platform specific FindBar. It is responsible
6 // for drawing the FindBar bar on the platform and is owned by the 6 // for drawing the FindBar bar on the platform and is owned by the
7 // FindBarController. 7 // FindBarController.
8 8
9 #ifndef CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_H_ 9 #ifndef CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_H_
10 #define CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_H_ 10 #define CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_H_
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 bool* fully_visible) = 0; 104 bool* fully_visible) = 0;
105 105
106 // Gets the search string currently selected in the Find box. 106 // Gets the search string currently selected in the Find box.
107 virtual base::string16 GetFindSelectedText() = 0; 107 virtual base::string16 GetFindSelectedText() = 0;
108 108
109 // Gets the match count text (ie. 1 of 3) visible in the Find box. 109 // Gets the match count text (ie. 1 of 3) visible in the Find box.
110 virtual base::string16 GetMatchCountText() = 0; 110 virtual base::string16 GetMatchCountText() = 0;
111 111
112 // Gets the pixel width of the FindBar. 112 // Gets the pixel width of the FindBar.
113 virtual int GetWidth() = 0; 113 virtual int GetWidth() = 0;
114
115 // Gets the number of audible alerts that have been issued by this bar.
116 virtual size_t GetAudibleAlertCount() = 0;
114 }; 117 };
115 118
116 #endif // CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_H_ 119 #endif // CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/find_bar/find_bar_bridge.mm ('k') | chrome/browser/ui/find_bar/find_bar_host_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698