| Index: chrome/browser/instant/instant_loader.cc
|
| diff --git a/chrome/browser/instant/instant_loader.cc b/chrome/browser/instant/instant_loader.cc
|
| index 4a474f7deca846bc56386e602e46218492b6a0c9..f6cd58ee840e67656ae0b04e4b57768c127bea63 100644
|
| --- a/chrome/browser/instant/instant_loader.cc
|
| +++ b/chrome/browser/instant/instant_loader.cc
|
| @@ -328,10 +328,18 @@ void InstantLoader::Update(const string16& user_text, bool verbatim) {
|
| verbatim, user_text.size(), user_text.size()));
|
| }
|
|
|
| +void InstantLoader::SetPopupBounds(const gfx::Rect& bounds) {
|
| + content::RenderViewHost* rvh =
|
| + preview_contents_->web_contents()->GetRenderViewHost();
|
| + rvh->Send(new ChromeViewMsg_SearchBoxPopupResize(rvh->GetRoutingID(),
|
| + bounds));
|
| +}
|
| +
|
| void InstantLoader::SetOmniboxBounds(const gfx::Rect& bounds) {
|
| content::RenderViewHost* rvh =
|
| preview_contents_->web_contents()->GetRenderViewHost();
|
| - rvh->Send(new ChromeViewMsg_SearchBoxResize(rvh->GetRoutingID(), bounds));
|
| + rvh->Send(new ChromeViewMsg_SearchBoxOmniboxResize(rvh->GetRoutingID(),
|
| + bounds));
|
| }
|
|
|
| void InstantLoader::SendAutocompleteResults(
|
|
|