| 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 CHROME_BROWSER_INSTANT_INSTANT_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_INSTANT_INSTANT_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_INSTANT_INSTANT_CONTROLLER_H_ | 6 #define CHROME_BROWSER_INSTANT_INSTANT_CONTROLLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
| 14 #include "base/scoped_vector.h" | 14 #include "base/scoped_vector.h" |
| 15 #include "base/string16.h" | 15 #include "base/string16.h" |
| 16 #include "base/task.h" | 16 #include "base/task.h" |
| 17 #include "base/timer.h" | 17 #include "base/timer.h" |
| 18 #include "chrome/browser/instant/instant_commit_type.h" | 18 #include "chrome/browser/instant/instant_commit_type.h" |
| 19 #include "chrome/browser/instant/instant_loader_delegate.h" | 19 #include "chrome/browser/instant/instant_loader_delegate.h" |
| 20 #include "chrome/browser/search_engines/template_url_id.h" | 20 #include "chrome/browser/search_engines/template_url_id.h" |
| 21 #include "chrome/common/page_transition_types.h" | 21 #include "chrome/common/page_transition_types.h" |
| 22 #include "gfx/native_widget_types.h" | |
| 23 #include "gfx/rect.h" | |
| 24 #include "googleurl/src/gurl.h" | 22 #include "googleurl/src/gurl.h" |
| 23 #include "ui/gfx/native_widget_types.h" |
| 24 #include "ui/gfx/rect.h" |
| 25 | 25 |
| 26 struct AutocompleteMatch; | 26 struct AutocompleteMatch; |
| 27 class InstantDelegate; | 27 class InstantDelegate; |
| 28 class InstantLoader; | 28 class InstantLoader; |
| 29 class InstantLoaderManager; | 29 class InstantLoaderManager; |
| 30 class InstantTest; | 30 class InstantTest; |
| 31 class PrefService; | 31 class PrefService; |
| 32 class Profile; | 32 class Profile; |
| 33 class TabContents; | 33 class TabContents; |
| 34 class TabContentsWrapper; | 34 class TabContentsWrapper; |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 ScopedVector<InstantLoader> loaders_to_destroy_; | 274 ScopedVector<InstantLoader> loaders_to_destroy_; |
| 275 | 275 |
| 276 // The set of hosts that we don't use instant with. This is shared across all | 276 // The set of hosts that we don't use instant with. This is shared across all |
| 277 // instances and only maintained for the current session. | 277 // instances and only maintained for the current session. |
| 278 static HostBlacklist* host_blacklist_; | 278 static HostBlacklist* host_blacklist_; |
| 279 | 279 |
| 280 DISALLOW_COPY_AND_ASSIGN(InstantController); | 280 DISALLOW_COPY_AND_ASSIGN(InstantController); |
| 281 }; | 281 }; |
| 282 | 282 |
| 283 #endif // CHROME_BROWSER_INSTANT_INSTANT_CONTROLLER_H_ | 283 #endif // CHROME_BROWSER_INSTANT_INSTANT_CONTROLLER_H_ |
| OLD | NEW |