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