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

Unified Diff: content/public/test/find_test_utils.h

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 | « content/public/browser/web_contents_delegate.h ('k') | content/public/test/find_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/find_test_utils.h
diff --git a/content/public/test/find_test_utils.h b/content/public/test/find_test_utils.h
index 2d2b16dabd34430d34c808223b3dd6a921ed0965..0742370e897596b5346d0705e0d5745a47a6c733 100644
--- a/content/public/test/find_test_utils.h
+++ b/content/public/test/find_test_utils.h
@@ -14,12 +14,14 @@ namespace content {
struct FindResults {
FindResults(int request_id,
int number_of_matches,
- int active_match_ordinal);
+ int active_match_ordinal,
+ bool was_frame_removal);
FindResults();
int request_id;
int number_of_matches;
int active_match_ordinal;
+ bool was_frame_removal;
};
// This test delegate is used during find-in-page tests, in order to directly
@@ -89,7 +91,8 @@ class FindTestWebContentsDelegate : public WebContentsDelegate {
int number_of_matches,
const gfx::Rect& selection_rect,
int active_match_ordinal,
- bool final_update) override;
+ bool final_update,
+ bool was_frame_removal) override;
// Uses |message_loop_runner_| to wait for various things.
void WaitFor(WaitingFor wait_for);
« no previous file with comments | « content/public/browser/web_contents_delegate.h ('k') | content/public/test/find_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698