Chromium Code Reviews| Index: chrome/browser/instant/instant_client.cc |
| diff --git a/chrome/browser/instant/instant_client.cc b/chrome/browser/instant/instant_client.cc |
| index eb045bc7e514b5860c439896fb8c7e0862b336d2..abad50361f946ce08cf78429182c3588b68e38f2 100644 |
| --- a/chrome/browser/instant/instant_client.cc |
| +++ b/chrome/browser/instant/instant_client.cc |
| @@ -97,6 +97,21 @@ bool InstantClient::OnMessageReceived(const IPC::Message& message) { |
| return handled; |
| } |
| +void InstantClient::DidCommitProvisionalLoadForFrame( |
| + int64 frame_id, |
| + bool is_main_frame, |
| + const GURL& url, |
| + content::PageTransition transition_type, |
| + content::RenderViewHost* render_view_host) { |
| + if (!is_main_frame) |
|
samarth
2012/12/07 01:14:34
nit: fix indent
Shishir
2012/12/07 21:01:25
Done.
|
| + return; |
| + delegate_->AboutToNavigateMainFrame(url); |
| +} |
| + |
| +void InstantClient::AboutToOpenURL(const GURL& url) { |
| + delegate_->AboutToNavigateMainFrame(url); |
| +} |
| + |
| void InstantClient::SetSuggestions( |
| int page_id, |
| const std::vector<InstantSuggestion>& suggestions) { |