| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_INSTANT_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_INSTANT_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_BROWSER_INSTANT_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_INSTANT_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/prefs/public/pref_change_registrar.h" |
| 11 #include "base/string16.h" | 12 #include "base/string16.h" |
| 12 #include "chrome/browser/api/prefs/pref_change_registrar.h" | |
| 13 #include "chrome/browser/instant/instant_controller_delegate.h" | 13 #include "chrome/browser/instant/instant_controller_delegate.h" |
| 14 #include "chrome/browser/instant/instant_unload_handler.h" | 14 #include "chrome/browser/instant/instant_unload_handler.h" |
| 15 #include "chrome/browser/ui/search/search_model_observer.h" | 15 #include "chrome/browser/ui/search/search_model_observer.h" |
| 16 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" | 16 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" |
| 17 #include "chrome/common/instant_types.h" | 17 #include "chrome/common/instant_types.h" |
| 18 #include "content/public/browser/notification_observer.h" | 18 #include "content/public/browser/notification_observer.h" |
| 19 #include "webkit/glue/window_open_disposition.h" | 19 #include "webkit/glue/window_open_disposition.h" |
| 20 | 20 |
| 21 class Browser; | 21 class Browser; |
| 22 class InstantController; | 22 class InstantController; |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 InstantUnloadHandler instant_unload_handler_; | 81 InstantUnloadHandler instant_unload_handler_; |
| 82 | 82 |
| 83 PrefChangeRegistrar profile_pref_registrar_; | 83 PrefChangeRegistrar profile_pref_registrar_; |
| 84 | 84 |
| 85 DISALLOW_IMPLICIT_CONSTRUCTORS(BrowserInstantController); | 85 DISALLOW_IMPLICIT_CONSTRUCTORS(BrowserInstantController); |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 } // namespace chrome | 88 } // namespace chrome |
| 89 | 89 |
| 90 #endif // CHROME_BROWSER_UI_BROWSER_INSTANT_CONTROLLER_H_ | 90 #endif // CHROME_BROWSER_UI_BROWSER_INSTANT_CONTROLLER_H_ |
| OLD | NEW |