Chromium Code Reviews| Index: chrome/common/render_messages.h |
| diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h |
| index 2943ccbbd932faaf09189b99ecdf8ea3cd35c094..4ec73a6d49b464e6dd8eb7e9c145a060df43ad3c 100644 |
| --- a/chrome/common/render_messages.h |
| +++ b/chrome/common/render_messages.h |
| @@ -324,6 +324,11 @@ IPC_MESSAGE_ROUTED1(ChromeViewMsg_NetErrorInfo, |
| IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetCanShowNetworkDiagnosticsDialog, |
| bool /* can_show_network_diagnostics_dialog */) |
| +// Tells the renderer whether or not an offline page exists. This is used to |
|
Lei Zhang
2015/11/11 00:55:57
You need an IPC reviewer anyway, but I hope that p
jianli
2015/11/11 01:16:47
Done.
|
| +// decide if "show saved pages" button will be provided on certain error page. |
| +IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetHasOfflinePages, |
| + bool /* has_offline_pages */) |
| + |
| // Provides the information needed by the renderer process to contact a |
| // navigation correction service. Handled by the NetErrorHelper. |
| IPC_MESSAGE_ROUTED5(ChromeViewMsg_SetNavigationCorrectionInfo, |
| @@ -336,6 +341,10 @@ IPC_MESSAGE_ROUTED5(ChromeViewMsg_SetNavigationCorrectionInfo, |
| IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_RunNetworkDiagnostics, |
| GURL /* failed_url */) |
| +// Message sent from the renderer to the browser to show the UI for offline |
| +// pages. |
| +IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_ShowOfflinePages) |
| + |
| //----------------------------------------------------------------------------- |
| // Misc messages |
| // These are messages sent from the renderer to the browser process. |