| 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_BROWSER_UI_SEARCH_INSTANT_TEST_UTILS_H_ | 5 #ifndef CHROME_BROWSER_UI_SEARCH_INSTANT_TEST_UTILS_H_ |
| 6 #define CHROME_BROWSER_UI_SEARCH_INSTANT_TEST_UTILS_H_ | 6 #define CHROME_BROWSER_UI_SEARCH_INSTANT_TEST_UTILS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/run_loop.h" | 12 #include "base/run_loop.h" |
| 13 #include "base/string16.h" | 13 #include "base/string16.h" |
| 14 #include "chrome/browser/ui/browser.h" | 14 #include "chrome/browser/ui/browser.h" |
| 15 #include "chrome/browser/ui/browser_instant_controller.h" | 15 #include "chrome/browser/ui/browser_instant_controller.h" |
| 16 #include "chrome/browser/ui/browser_window.h" | 16 #include "chrome/browser/ui/browser_window.h" |
| 17 #include "chrome/browser/ui/omnibox/location_bar.h" | 17 #include "chrome/browser/ui/omnibox/location_bar.h" |
| 18 #include "chrome/browser/ui/search/instant_controller.h" | 18 #include "chrome/browser/ui/search/instant_controller.h" |
| 19 #include "chrome/browser/ui/search/instant_overlay_model_observer.h" | 19 #include "chrome/browser/ui/search/instant_overlay_model_observer.h" |
| 20 #include "chrome/common/search_types.h" | 20 #include "chrome/common/search_types.h" |
| 21 #include "googleurl/src/gurl.h" | 21 #include "googleurl/src/gurl.h" |
| 22 #include "net/test/spawned_test_server.h" | 22 #include "net/test/spawned_test_server/spawned_test_server.h" |
| 23 | 23 |
| 24 class InstantController; | 24 class InstantController; |
| 25 class InstantModel; | 25 class InstantModel; |
| 26 class OmniboxView; | 26 class OmniboxView; |
| 27 | 27 |
| 28 namespace content { | 28 namespace content { |
| 29 class WebContents; | 29 class WebContents; |
| 30 }; | 30 }; |
| 31 | 31 |
| 32 class InstantTestModelObserver : public InstantOverlayModelObserver { | 32 class InstantTestModelObserver : public InstantOverlayModelObserver { |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 | 128 |
| 129 Browser* browser_; | 129 Browser* browser_; |
| 130 | 130 |
| 131 // HTTPS Testing server, started on demand. | 131 // HTTPS Testing server, started on demand. |
| 132 net::SpawnedTestServer https_test_server_; | 132 net::SpawnedTestServer https_test_server_; |
| 133 | 133 |
| 134 DISALLOW_COPY_AND_ASSIGN(InstantTestBase); | 134 DISALLOW_COPY_AND_ASSIGN(InstantTestBase); |
| 135 }; | 135 }; |
| 136 | 136 |
| 137 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_TEST_UTILS_H_ | 137 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_TEST_UTILS_H_ |
| OLD | NEW |