| Index: content/common/view_messages.h
|
| ===================================================================
|
| --- content/common/view_messages.h (revision 81920)
|
| +++ content/common/view_messages.h (working copy)
|
| @@ -65,6 +65,15 @@
|
| };
|
| };
|
|
|
| +// Values that may be OR'd together to form the 'flags' parameter of the
|
| +// ViewMsg_EnablePreferredSizeChangedMode message.
|
| +enum ViewHostMsg_EnablePreferredSizeChangedMode_Flags {
|
| + kPreferredSizeNothing,
|
| + kPreferredSizeWidth = 1 << 0,
|
| + // Requesting the height currently requires a polling loop in render_view.cc.
|
| + kPreferredSizeHeightThisIsSlow = 1 << 1,
|
| +};
|
| +
|
| struct ViewHostMsg_RunFileChooser_Mode {
|
| public:
|
| enum Value {
|
| @@ -1160,7 +1169,19 @@
|
| IPC_MESSAGE_CONTROL1(ViewMsg_PurgePluginListCache,
|
| bool /* reload_pages */)
|
|
|
| +// Install the first missing pluign.
|
| +IPC_MESSAGE_ROUTED0(ViewMsg_InstallMissingPlugin)
|
|
|
| +// Sent to the renderer when a popup window should no longer count against
|
| +// the current popup count (either because it's not a popup or because it was
|
| +// a generated by a user action or because a constrained popup got turned
|
| +// into a full window).
|
| +IPC_MESSAGE_ROUTED0(ViewMsg_DisassociateFromPopupCount)
|
| +
|
| +// Tells the render view a prerendered page is about to be displayed.
|
| +IPC_MESSAGE_ROUTED0(ViewMsg_DisplayPrerenderedPage)
|
| +
|
| +
|
| // Messages sent from the renderer to the browser.
|
|
|
| // Sent by the renderer when it is creating a new window. The browser creates
|
| @@ -1907,3 +1928,37 @@
|
| GURL /* url */,
|
| double /* expected_response_time */,
|
| std::vector<char> /* data */)
|
| +
|
| +// Updates the content restrictions, i.e. to disable print/copy.
|
| +IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions,
|
| + int /* restrictions */)
|
| +
|
| +// The currently displayed PDF has an unsupported feature.
|
| +IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature)
|
| +
|
| +// Brings up SaveAs... dialog (similar to the wrench->SaveAs...).
|
| +IPC_MESSAGE_ROUTED0(ViewHostMsg_SaveAs)
|
| +
|
| +// Notifies when default plugin updates status of the missing plugin.
|
| +IPC_MESSAGE_ROUTED1(ViewHostMsg_MissingPluginStatus,
|
| + int /* status */)
|
| +
|
| +// Displays a JavaScript out-of-memory message in the infobar.
|
| +IPC_MESSAGE_ROUTED0(ViewHostMsg_JSOutOfMemory)
|
| +
|
| +// Register a new handler for URL requests with the given scheme.
|
| +IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler,
|
| + std::string /* scheme */,
|
| + GURL /* url */,
|
| + string16 /* title */)
|
| +
|
| +// Stores new inspector setting in the profile.
|
| +// TODO(jam): this should be in the chrome module
|
| +IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting,
|
| + std::string, /* key */
|
| + std::string /* value */)
|
| +
|
| +// Message sent from the renderer to the browser to notify it of events which
|
| +// may lead to the cancellation of a prerender. The message is sent only when
|
| +// the renderer is in prerender mode.
|
| +IPC_MESSAGE_ROUTED0(ViewHostMsg_MaybeCancelPrerenderForHTML5Media)
|
|
|