diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-30 00:40:58 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-30 00:40:58 +0000 |
commit | 4c408fdba489ac7d42c0bf0128a6df832eec307d (patch) | |
tree | 6888c0213b9db8cadcfd2529beafd54b2bc8e942 /chrome/common/render_messages_internal.h | |
parent | 0b6e0a2ba1c90550d2dc4e33e2d0d282e09ebfdb (diff) | |
download | chromium_src-4c408fdba489ac7d42c0bf0128a6df832eec307d.zip chromium_src-4c408fdba489ac7d42c0bf0128a6df832eec307d.tar.gz chromium_src-4c408fdba489ac7d42c0bf0128a6df832eec307d.tar.bz2 |
Implemented the undo translation in the renderer.
This reverts the page's text to its original (pre-translation) value.
BUG=None
TEST=None
Review http://codereview.chromium.org/554104/show
Review URL: http://codereview.chromium.org/555175
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37583 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages_internal.h')
-rw-r--r-- | chrome/common/render_messages_internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h index e51f867..c4f89200 100644 --- a/chrome/common/render_messages_internal.h +++ b/chrome/common/render_messages_internal.h @@ -852,6 +852,10 @@ IPC_BEGIN_MESSAGES(View) std::string /* BCP 47/RFC 5646 language code to translate to */) + // Tells the render to revert the translation of the page. + IPC_MESSAGE_ROUTED1(ViewMsg_UndoTranslate, + int /* page id */) + // Reply to the ViewHostMsg_TranslateText message with the actual translated // text chunks. IPC_MESSAGE_ROUTED3(ViewMsg_TranslateTextReponse, |