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/instant/instant_ntp.h" | 5 #include "chrome/browser/ui/search/instant_ntp.h" |
6 | 6 |
7 #include "content/public/browser/navigation_entry.h" | 7 #include "content/public/browser/navigation_entry.h" |
8 #include "content/public/browser/web_contents.h" | 8 #include "content/public/browser/web_contents.h" |
9 | 9 |
10 InstantNTP::InstantNTP(InstantPage::Delegate* delegate, | 10 InstantNTP::InstantNTP(InstantPage::Delegate* delegate, |
11 const std::string& instant_url) | 11 const std::string& instant_url) |
12 : InstantPage(delegate), | 12 : InstantPage(delegate), |
13 loader_(ALLOW_THIS_IN_INITIALIZER_LIST(this)), | 13 loader_(ALLOW_THIS_IN_INITIALIZER_LIST(this)), |
14 instant_url_(instant_url) { | 14 instant_url_(instant_url) { |
15 } | 15 } |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 void InstantNTP::LoadCompletedMainFrame() { | 55 void InstantNTP::LoadCompletedMainFrame() { |
56 } | 56 } |
57 | 57 |
58 bool InstantNTP::ShouldProcessRenderViewCreated() { | 58 bool InstantNTP::ShouldProcessRenderViewCreated() { |
59 return true; | 59 return true; |
60 } | 60 } |
61 | 61 |
62 bool InstantNTP::ShouldProcessRenderViewGone() { | 62 bool InstantNTP::ShouldProcessRenderViewGone() { |
63 return true; | 63 return true; |
64 } | 64 } |
OLD | NEW |