summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_view.h
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-27 17:37:01 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-27 17:37:01 +0000
commit290838a9c769dad3f5d43babdd019cacc198aa81 (patch)
tree04b7ba90ab46b5aa6922b31be41ab41e36f3549c /chrome/renderer/render_view.h
parentd91ba37d590d050cfbe7a95053b314ebd446c71d (diff)
downloadchromium_src-290838a9c769dad3f5d43babdd019cacc198aa81.zip
chromium_src-290838a9c769dad3f5d43babdd019cacc198aa81.tar.gz
chromium_src-290838a9c769dad3f5d43babdd019cacc198aa81.tar.bz2
AutoFill: Notify the renderer when the page has finished translating. Extract
the forms once translation has occurred. This change also includes another variaton of the Name field, with tests. In addition, this change fixes parsing labels whose text element is not the first child of the label element. BUG=41694 TEST=FormManagerTest.LabelsWithSpans,NameFieldTest.FirstLast Review URL: http://codereview.chromium.org/1801002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45719 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_view.h')
-rw-r--r--chrome/renderer/render_view.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h
index d8bb27a..5d55af9 100644
--- a/chrome/renderer/render_view.h
+++ b/chrome/renderer/render_view.h
@@ -515,6 +515,10 @@ class RenderView : public RenderWidget,
bool ScheduleFileChooser(const ViewHostMsg_RunFileChooser_Params& params,
WebKit::WebFileChooserCompletion* completion);
+ // Called when the translate helper has finished translating the page. We use
+ // this signal to re-scan the page for forms.
+ void OnPageTranslated();
+
// The language code used when the page language is unknown.
static const char* const kUnknownLanguageCode;