OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_PUBLIC_TEST_TEST_NAVIGATION_OBSERVER_H_ | 5 #ifndef CONTENT_PUBLIC_TEST_TEST_NAVIGATION_OBSERVER_H_ |
6 #define CONTENT_PUBLIC_TEST_TEST_NAVIGATION_OBSERVER_H_ | 6 #define CONTENT_PUBLIC_TEST_TEST_NAVIGATION_OBSERVER_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/callback.h" | 8 #include "base/callback.h" |
10 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
11 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
12 #include "content/public/browser/notification_observer.h" | 11 #include "content/public/browser/notification_observer.h" |
13 #include "content/public/browser/notification_registrar.h" | 12 #include "content/public/browser/notification_registrar.h" |
14 | 13 |
15 namespace content { | 14 namespace content { |
16 | 15 |
17 class JsInjectionReadyObserver; | 16 class JsInjectionReadyObserver; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 // |rvho_send_js_| will hold a RenderViewHostObserver subclass to allow | 87 // |rvho_send_js_| will hold a RenderViewHostObserver subclass to allow |
89 // JavaScript injection at the appropriate time. | 88 // JavaScript injection at the appropriate time. |
90 scoped_ptr<RVHOSendJS> rvho_send_js_; | 89 scoped_ptr<RVHOSendJS> rvho_send_js_; |
91 | 90 |
92 DISALLOW_COPY_AND_ASSIGN(TestNavigationObserver); | 91 DISALLOW_COPY_AND_ASSIGN(TestNavigationObserver); |
93 }; | 92 }; |
94 | 93 |
95 } // namespace content | 94 } // namespace content |
96 | 95 |
97 #endif // CONTENT_PUBLIC_TEST_TEST_NAVIGATION_OBSERVER_H_ | 96 #endif // CONTENT_PUBLIC_TEST_TEST_NAVIGATION_OBSERVER_H_ |
OLD | NEW |