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

Unified Diff: chrome/browser/ui/find_bar/find_tab_helper.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/find_bar/find_tab_helper.h ('k') | components/guest_view/browser/guest_view_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/find_bar/find_tab_helper.cc
diff --git a/chrome/browser/ui/find_bar/find_tab_helper.cc b/chrome/browser/ui/find_bar/find_tab_helper.cc
index 4f089762b2bd65707484cf40bdfe44f32019080d..7f3bd499bd6447670a7f3b5246f2089d40ef607c 100644
--- a/chrome/browser/ui/find_bar/find_tab_helper.cc
+++ b/chrome/browser/ui/find_bar/find_tab_helper.cc
@@ -158,7 +158,8 @@ void FindTabHelper::HandleFindReply(int request_id,
int number_of_matches,
const gfx::Rect& selection_rect,
int active_match_ordinal,
- bool final_update) {
+ bool final_update,
+ bool was_frame_removal) {
// Ignore responses for requests that have been aborted.
// Ignore responses for requests from previous sessions. That way we won't act
// on stale results when the user has already typed in another query.
@@ -178,7 +179,7 @@ void FindTabHelper::HandleFindReply(int request_id,
// found.
last_search_result_ = FindNotificationDetails(
request_id, number_of_matches, selection, active_match_ordinal,
- final_update);
+ final_update, was_frame_removal);
content::NotificationService::current()->Notify(
chrome::NOTIFICATION_FIND_RESULT_AVAILABLE,
content::Source<WebContents>(web_contents()),
« no previous file with comments | « chrome/browser/ui/find_bar/find_tab_helper.h ('k') | components/guest_view/browser/guest_view_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698