Index: chrome/renderer/render_view.cc |
diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc |
index 0c2eb5a73dfd7289b84bf4a361753179386b4972..652059dcf315ceff05069445fc276d557d028f9b 100644 |
--- a/chrome/renderer/render_view.cc |
+++ b/chrome/renderer/render_view.cc |
@@ -4056,6 +4056,11 @@ WebFrame* RenderView::GetChildFrame(const std::wstring& xpath) const { |
return frame; |
} |
+void RenderView::SetSuggestResult(const std::string& suggest) { |
+ if (!suggest.empty()) |
+ Send(new ViewHostMsg_SetSuggestResult(routing_id_, page_id_, suggest)); |
+} |
+ |
void RenderView::EvaluateScript(const std::wstring& frame_xpath, |
const std::wstring& script) { |
WebFrame* web_frame = GetChildFrame(frame_xpath); |