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 #include "chrome/browser/ui/search/instant_ntp.h" | 5 #include "chrome/browser/ui/search/instant_ntp.h" |
6 | 6 |
7 #include "base/metrics/histogram.h" | 7 #include "base/metrics/histogram.h" |
8 #include "chrome/browser/profiles/profile.h" | 8 #include "chrome/browser/profiles/profile.h" |
9 #include "chrome/browser/ui/search/instant_ntp_prerenderer.h" | 9 #include "chrome/browser/ui/search/instant_ntp_prerenderer.h" |
10 #include "chrome/browser/ui/search/search_tab_helper.h" | 10 #include "chrome/browser/ui/search/search_tab_helper.h" |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 52 |
53 void InstantNTP::OnSwappedContents() { | 53 void InstantNTP::OnSwappedContents() { |
54 SetContents(loader_.contents()); | 54 SetContents(loader_.contents()); |
55 } | 55 } |
56 | 56 |
57 content::WebContents* InstantNTP::OpenURLFromTab( | 57 content::WebContents* InstantNTP::OpenURLFromTab( |
58 content::WebContents* source, | 58 content::WebContents* source, |
59 const content::OpenURLParams& params) { | 59 const content::OpenURLParams& params) { |
60 return NULL; | 60 return NULL; |
61 } | 61 } |
OLD | NEW |