| 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_NTP_H_ | 5 #ifndef CHROME_BROWSER_UI_SEARCH_INSTANT_NTP_H_ |
| 6 #define CHROME_BROWSER_UI_SEARCH_INSTANT_NTP_H_ | 6 #define CHROME_BROWSER_UI_SEARCH_INSTANT_NTP_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/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/process_util.h" | |
| 15 #include "chrome/browser/ui/search/instant_loader.h" | 14 #include "chrome/browser/ui/search/instant_loader.h" |
| 16 #include "chrome/browser/ui/search/instant_page.h" | 15 #include "chrome/browser/ui/search/instant_page.h" |
| 17 | 16 |
| 18 class InstantNTPPrerenderer; | 17 class InstantNTPPrerenderer; |
| 19 class Profile; | 18 class Profile; |
| 20 | 19 |
| 21 namespace content { | 20 namespace content { |
| 22 class RenderViewHost; | 21 class RenderViewHost; |
| 23 class WebContents; | 22 class WebContents; |
| 24 } | 23 } |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 content::WebContents* source, | 58 content::WebContents* source, |
| 60 const content::OpenURLParams& params) OVERRIDE; | 59 const content::OpenURLParams& params) OVERRIDE; |
| 61 | 60 |
| 62 InstantLoader loader_; | 61 InstantLoader loader_; |
| 63 InstantNTPPrerenderer* const ntp_prerenderer_; | 62 InstantNTPPrerenderer* const ntp_prerenderer_; |
| 64 | 63 |
| 65 DISALLOW_COPY_AND_ASSIGN(InstantNTP); | 64 DISALLOW_COPY_AND_ASSIGN(InstantNTP); |
| 66 }; | 65 }; |
| 67 | 66 |
| 68 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_NTP_H_ | 67 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_NTP_H_ |
| OLD | NEW |