| Index: chrome/common/render_messages.h
|
| ===================================================================
|
| --- chrome/common/render_messages.h (revision 212906)
|
| +++ chrome/common/render_messages.h (working copy)
|
| @@ -27,6 +27,7 @@
|
| #include "chrome/common/translate/language_detection_details.h"
|
| #include "chrome/common/translate/translate_errors.h"
|
| #include "content/public/common/common_param_traits.h"
|
| +#include "content/public/common/referrer.h"
|
| #include "content/public/common/top_controls_state.h"
|
| #include "ipc/ipc_channel_handle.h"
|
| #include "ipc/ipc_message_macros.h"
|
| @@ -613,6 +614,15 @@
|
| // The currently displayed PDF has an unsupported feature.
|
| IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_PDFHasUnsupportedFeature)
|
|
|
| +// Brings up SaveAs... dialog to save specified URL.
|
| +IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_PDFSaveURLAs,
|
| + GURL /* url */,
|
| + content::Referrer /* referrer */)
|
| +
|
| +// Updates the content restrictions, i.e. to disable print/copy.
|
| +IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_PDFUpdateContentRestrictions,
|
| + int /* restrictions */)
|
| +
|
| // This message indicates the error appeared in the frame.
|
| IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_FrameLoadingError,
|
| int /* error */)
|
|
|