summaryrefslogtreecommitdiffstats
path: root/chrome/common/render_messages_internal.h
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-20 02:32:24 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-20 02:32:24 +0000
commitbdd7a12d4abc0b6456f679bb077045a0147c3dfc (patch)
treeb660235491e9e7e7b83ca4952243ffc3c44573c0 /chrome/common/render_messages_internal.h
parent935d561148669a26ece1535343a7be8bef3392ab (diff)
downloadchromium_src-bdd7a12d4abc0b6456f679bb077045a0147c3dfc.zip
chromium_src-bdd7a12d4abc0b6456f679bb077045a0147c3dfc.tar.gz
chromium_src-bdd7a12d4abc0b6456f679bb077045a0147c3dfc.tar.bz2
Revert 36589 - Still failing the reliability tests.
Another try at landing this. It caused several tests to fails previously. There was a crasher in some Windows code in the CLD that has been removed by the port of the CLD code to Linux and Mac. That should hopefully make everything work now. Enabling language detection on page load. A memory error has been fixed in the CLD library in the meantime. This should hopefully fixes the crashers in the reliability tests. Note that this version is actually simpler than the original review since the detection is now performed in the renderer. (So the CLD code runs sandboxed.) Original review: http://codereview.chromium.org/492024/show BUG=30662 TEST=Run the unittests. TBR=brettw Review URL: http://codereview.chromium.org/552049 TBR=jcampan@chromium.org Review URL: http://codereview.chromium.org/554015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36603 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages_internal.h')
-rw-r--r--chrome/common/render_messages_internal.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h
index d99914f..2129da5 100644
--- a/chrome/common/render_messages_internal.h
+++ b/chrome/common/render_messages_internal.h
@@ -256,6 +256,9 @@ IPC_BEGIN_MESSAGES(View)
string16 /* search_text */,
WebKit::WebFindOptions)
+ // Asks the renderer for the language of the current page.
+ IPC_MESSAGE_ROUTED0(ViewMsg_DeterminePageLanguage)
+
// Send from the renderer to the browser to return the script running result.
IPC_MESSAGE_ROUTED2(ViewMsg_ExecuteCodeFinished,
int, /* request id */
@@ -1144,11 +1147,10 @@ IPC_BEGIN_MESSAGES(ViewHost)
std::wstring /* out - prompt field */)
// Provides the contents for the given page that was loaded recently.
- IPC_MESSAGE_ROUTED4(ViewHostMsg_PageContents,
+ IPC_MESSAGE_ROUTED3(ViewHostMsg_PageContents,
GURL /* URL of the page */,
int32 /* page id */,
- std::wstring /* page contents */,
- std::string /* page ISO639_1 language code */)
+ std::wstring /* page contents */)
// Used to get the extension message bundle.
IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetExtensionMessageBundle,