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 #ifndef CHROME_TEST_BASE_FIND_IN_PAGE_OBSERVER_H_ | 5 #ifndef CHROME_TEST_BASE_FIND_IN_PAGE_OBSERVER_H_ |
6 #define CHROME_TEST_BASE_FIND_IN_PAGE_OBSERVER_H_ | 6 #define CHROME_TEST_BASE_FIND_IN_PAGE_OBSERVER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
9 #include "content/public/browser/notification_observer.h" | 10 #include "content/public/browser/notification_observer.h" |
10 #include "content/public/browser/notification_registrar.h" | 11 #include "content/public/browser/notification_registrar.h" |
11 #include "ui/gfx/geometry/rect.h" | 12 #include "ui/gfx/geometry/rect.h" |
12 | 13 |
13 namespace content { | 14 namespace content { |
14 class MessageLoopRunner; | 15 class MessageLoopRunner; |
15 class WebContents; | 16 class WebContents; |
16 } | 17 } |
17 | 18 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 55 |
55 bool seen_; // true after transition to expected state has been seen | 56 bool seen_; // true after transition to expected state has been seen |
56 bool running_; // indicates whether message loop is running | 57 bool running_; // indicates whether message loop is running |
57 | 58 |
58 DISALLOW_COPY_AND_ASSIGN(FindInPageNotificationObserver); | 59 DISALLOW_COPY_AND_ASSIGN(FindInPageNotificationObserver); |
59 }; | 60 }; |
60 | 61 |
61 } // namespace ui_test_utils | 62 } // namespace ui_test_utils |
62 | 63 |
63 #endif // CHROME_TEST_BASE_FIND_IN_PAGE_OBSERVER_H_ | 64 #endif // CHROME_TEST_BASE_FIND_IN_PAGE_OBSERVER_H_ |
OLD | NEW |