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_LOADER_H_ | 5 #ifndef CHROME_BROWSER_INSTANT_INSTANT_LOADER_H_ |
6 #define CHROME_BROWSER_INSTANT_INSTANT_LOADER_H_ | 6 #define CHROME_BROWSER_INSTANT_INSTANT_LOADER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
11 #include "base/string16.h" | 11 #include "base/string16.h" |
12 #include "base/timer.h" | 12 #include "base/timer.h" |
13 #include "chrome/browser/instant/instant_commit_type.h" | 13 #include "chrome/browser/instant/instant_commit_type.h" |
14 #include "chrome/browser/search_engines/template_url_id.h" | 14 #include "chrome/browser/search_engines/template_url_id.h" |
15 #include "chrome/common/instant_types.h" | 15 #include "chrome/common/instant_types.h" |
16 #include "chrome/common/page_transition_types.h" | |
17 #include "content/common/notification_observer.h" | 16 #include "content/common/notification_observer.h" |
18 #include "content/common/notification_registrar.h" | 17 #include "content/common/notification_registrar.h" |
| 18 #include "content/common/page_transition_types.h" |
19 #include "googleurl/src/gurl.h" | 19 #include "googleurl/src/gurl.h" |
20 #include "ui/gfx/rect.h" | 20 #include "ui/gfx/rect.h" |
21 | 21 |
22 class InstantLoaderDelegate; | 22 class InstantLoaderDelegate; |
23 class InstantLoaderManagerTest; | 23 class InstantLoaderManagerTest; |
24 class TabContents; | 24 class TabContents; |
25 class TabContentsWrapper; | 25 class TabContentsWrapper; |
26 class TemplateURL; | 26 class TemplateURL; |
27 | 27 |
28 // InstantLoader does the loading of a particular URL for InstantController. | 28 // InstantLoader does the loading of a particular URL for InstantController. |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 // Used to get notifications about renderers coming and going. | 187 // Used to get notifications about renderers coming and going. |
188 NotificationRegistrar registrar_; | 188 NotificationRegistrar registrar_; |
189 | 189 |
190 // Last value of verbatim passed to |Update|. | 190 // Last value of verbatim passed to |Update|. |
191 bool verbatim_; | 191 bool verbatim_; |
192 | 192 |
193 DISALLOW_COPY_AND_ASSIGN(InstantLoader); | 193 DISALLOW_COPY_AND_ASSIGN(InstantLoader); |
194 }; | 194 }; |
195 | 195 |
196 #endif // CHROME_BROWSER_INSTANT_INSTANT_LOADER_H_ | 196 #endif // CHROME_BROWSER_INSTANT_INSTANT_LOADER_H_ |
OLD | NEW |