OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/notification_observer.h" | 15 #include "chrome/common/notification_observer.h" |
16 #include "chrome/common/notification_registrar.h" | 16 #include "chrome/common/notification_registrar.h" |
17 #include "chrome/common/page_transition_types.h" | 17 #include "chrome/common/page_transition_types.h" |
18 #include "gfx/rect.h" | |
19 #include "googleurl/src/gurl.h" | 18 #include "googleurl/src/gurl.h" |
| 19 #include "ui/gfx/rect.h" |
20 | 20 |
21 class InstantLoaderDelegate; | 21 class InstantLoaderDelegate; |
22 class InstantLoaderManagerTest; | 22 class InstantLoaderManagerTest; |
23 class TabContents; | 23 class TabContents; |
24 class TabContentsWrapper; | 24 class TabContentsWrapper; |
25 class TemplateURL; | 25 class TemplateURL; |
26 | 26 |
27 // InstantLoader does the loading of a particular URL for InstantController. | 27 // InstantLoader does the loading of a particular URL for InstantController. |
28 // InstantLoader notifies its delegate, which is typically InstantController, of | 28 // InstantLoader notifies its delegate, which is typically InstantController, of |
29 // all interesting events. | 29 // all interesting events. |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 // Used to get notifications about renderers coming and going. | 184 // Used to get notifications about renderers coming and going. |
185 NotificationRegistrar registrar_; | 185 NotificationRegistrar registrar_; |
186 | 186 |
187 // Last value of verbatim passed to |Update|. | 187 // Last value of verbatim passed to |Update|. |
188 bool verbatim_; | 188 bool verbatim_; |
189 | 189 |
190 DISALLOW_COPY_AND_ASSIGN(InstantLoader); | 190 DISALLOW_COPY_AND_ASSIGN(InstantLoader); |
191 }; | 191 }; |
192 | 192 |
193 #endif // CHROME_BROWSER_INSTANT_INSTANT_LOADER_H_ | 193 #endif // CHROME_BROWSER_INSTANT_INSTANT_LOADER_H_ |
OLD | NEW |