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_overlay.h" | 5 #include "chrome/browser/ui/search/instant_overlay.h" |
6 | 6 |
7 #include "base/auto_reset.h" | 7 #include "base/auto_reset.h" |
8 #include "base/supports_user_data.h" | 8 #include "base/supports_user_data.h" |
9 #include "chrome/browser/instant/search.h" | 9 #include "chrome/browser/instant/search.h" |
10 #include "chrome/common/url_constants.h" | 10 #include "chrome/common/url_constants.h" |
11 #include "content/public/browser/web_contents.h" | 11 #include "content/public/browser/web_contents.h" |
12 | 12 |
13 namespace { | 13 namespace { |
14 | 14 |
15 int kUserDataKey; | 15 int kUserDataKey; |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 } | 167 } |
168 | 168 |
169 void InstantOverlay::LoadCompletedMainFrame() { | 169 void InstantOverlay::LoadCompletedMainFrame() { |
170 instant_controller()->OverlayLoadCompletedMainFrame(); | 170 instant_controller()->OverlayLoadCompletedMainFrame(); |
171 } | 171 } |
172 | 172 |
173 void InstantOverlay::HandleStalePage() { | 173 void InstantOverlay::HandleStalePage() { |
174 is_stale_ = true; | 174 is_stale_ = true; |
175 instant_controller()->ReloadOverlayIfStale(); | 175 instant_controller()->ReloadOverlayIfStale(); |
176 } | 176 } |
OLD | NEW |