Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6905)

Unified Diff: chrome/common/render_messages.h

Issue 9235004: [Garbled Text][Infobar] Adding infobar to suggest turning on encoding detection. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chrome/renderer/chrome_render_view_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index 4b4241d116fec3ff8ee75e5a5394b8f93ff8db37..7cd5f7b9b09862faf1e08cb27dcd3a252ff8708d 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -338,6 +338,13 @@ IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetClientSidePhishingDetection,
IPC_MESSAGE_ROUTED1(ChromeViewMsg_StartFrameSniffer,
string16 /* frame-name */)
+// Reload frame fully using cache.
+IPC_MESSAGE_ROUTED0(ChromeViewMsg_ReloadFromCache)
+
+// Reload frame fully using cache.
+IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetGarbledTextDetectionEnableState,
+ bool /* enabled */)
+
// JavaScript related messages -----------------------------------------------
// Notify the JavaScript engine in the render to change its parameters
@@ -631,3 +638,8 @@ IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies,
IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS,
int /* routing id */,
float /* frames per second */)
+
+// This message indicate character encoding mismatch. The browser process
+// should suggest the user to enable auto encoding detection.
+IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_GarbledTextDetected,
+ std::vector<GURL> /* garbled_url */)
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chrome/renderer/chrome_render_view_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698