OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "chrome/test/base/find_in_page_observer.h" | 5 #include "chrome/test/base/find_in_page_observer.h" |
6 | 6 |
| 7 #include "chrome/browser/chrome_notification_types.h" |
7 #include "chrome/browser/ui/find_bar/find_tab_helper.h" | 8 #include "chrome/browser/ui/find_bar/find_tab_helper.h" |
8 #include "chrome/common/chrome_notification_types.h" | |
9 #include "content/public/test/test_utils.h" | 9 #include "content/public/test/test_utils.h" |
10 | 10 |
11 namespace ui_test_utils { | 11 namespace ui_test_utils { |
12 | 12 |
13 FindInPageNotificationObserver::FindInPageNotificationObserver( | 13 FindInPageNotificationObserver::FindInPageNotificationObserver( |
14 content::WebContents* parent_tab) | 14 content::WebContents* parent_tab) |
15 : active_match_ordinal_(-1), | 15 : active_match_ordinal_(-1), |
16 number_of_matches_(0), | 16 number_of_matches_(0), |
17 current_find_request_id_(0), | 17 current_find_request_id_(0), |
18 seen_(false), | 18 seen_(false), |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 DVLOG(1) << "Ignoring, since we only care about the final message"; | 58 DVLOG(1) << "Ignoring, since we only care about the final message"; |
59 } | 59 } |
60 } | 60 } |
61 } else { | 61 } else { |
62 NOTREACHED(); | 62 NOTREACHED(); |
63 } | 63 } |
64 } | 64 } |
65 | 65 |
66 } // namespace ui_test_utils | 66 } // namespace ui_test_utils |
67 | 67 |
OLD | NEW |