| Index: content/common/view_messages.h
|
| diff --git a/content/common/view_messages.h b/content/common/view_messages.h
|
| index 7d5c48e7d529242091c4c54f51ebd7918882c70c..99b830fd585defd5e3a46adb070bff1a86ba5613 100644
|
| --- a/content/common/view_messages.h
|
| +++ b/content/common/view_messages.h
|
| @@ -1250,6 +1250,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.
|
|
|
| @@ -1903,6 +1909,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
|
|
|