| Index: content/common/view_messages.h
|
| diff --git a/content/common/view_messages.h b/content/common/view_messages.h
|
| index f160752326f60f92e4d2b493c229d43c0655c40a..2721160514d04cc1b1f1b17b70d9720799e0f4e3 100644
|
| --- a/content/common/view_messages.h
|
| +++ b/content/common/view_messages.h
|
| @@ -1261,6 +1261,12 @@ IPC_MESSAGE_CONTROL1(ViewMsg_TempCrashWithData,
|
| IPC_MESSAGE_ROUTED1(ViewMsg_SetAccessibilityMode,
|
| AccessibilityMode)
|
|
|
| +// Request for the renderer to determine if the document contains any image
|
| +// elements. The id should be passed in the response message so the response
|
| +// can be associated with the request.
|
| +IPC_MESSAGE_ROUTED1(ViewMsg_DocumentHasImages,
|
| + int /* id */)
|
| +
|
| // -----------------------------------------------------------------------------
|
| // Messages sent from the renderer to the browser.
|
|
|
| @@ -1914,6 +1920,11 @@ IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateZoomLimits,
|
| IPC_MESSAGE_CONTROL1(ViewHostMsg_SuddenTerminationChanged,
|
| bool /* enabled */)
|
|
|
| +// Response to ViewMSg_DocumentHasImages request.
|
| +IPC_MESSAGE_ROUTED2(ViewHostMsg_DocumentHasImagesResponse,
|
| + int, /* id */
|
| + bool /* has_images */)
|
| +
|
| #if defined(OS_MACOSX)
|
| // On OSX, we cannot allocated shared memory from within the sandbox, so
|
| // this call exists for the renderer to ask the browser to allocate memory
|
|
|