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

Unified Diff: chrome/browser/ui/browser.cc

Issue 2723253002: Fix beep when navigating/closing a page with find bar open
Patch Set: android Created 3 years, 10 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 | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/find_bar/find_bar_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index e27fd842fcc187a1bfefb787e1928bebd2449f75..1f30d943ffa8acfbe84068d458648a420266f705 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1867,16 +1867,15 @@ void Browser::FindReply(WebContents* web_contents,
int number_of_matches,
const gfx::Rect& selection_rect,
int active_match_ordinal,
- bool final_update) {
+ bool final_update,
+ bool was_frame_removal) {
FindTabHelper* find_tab_helper = FindTabHelper::FromWebContents(web_contents);
if (!find_tab_helper)
return;
- find_tab_helper->HandleFindReply(request_id,
- number_of_matches,
- selection_rect,
- active_match_ordinal,
- final_update);
+ find_tab_helper->HandleFindReply(request_id, number_of_matches,
+ selection_rect, active_match_ordinal,
+ final_update, was_frame_removal);
}
void Browser::RequestToLockMouse(WebContents* web_contents,
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/find_bar/find_bar_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698