Index: chrome/common/render_messages.h |
=================================================================== |
--- chrome/common/render_messages.h (revision 81920) |
+++ chrome/common/render_messages.h (working copy) |
@@ -21,7 +21,6 @@ |
#include "chrome/common/icon_messages.h" |
#include "chrome/common/instant_types.h" |
#include "chrome/common/nacl_types.h" |
-#include "chrome/common/prerender_constants.h" |
#include "chrome/common/search_provider.h" |
#include "chrome/common/thumbnail_score.h" |
#include "chrome/common/translate_errors.h" |
@@ -37,15 +36,6 @@ |
#ifndef CHROME_COMMON_RENDER_MESSAGES_H_ |
#define CHROME_COMMON_RENDER_MESSAGES_H_ |
-// 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, |
-}; |
- |
// Command values for the cmd parameter of the |
// ViewHost_JavaScriptStressTestControl message. For each command the parameter |
// passed has a different meaning: |
@@ -100,7 +90,6 @@ |
#define IPC_MESSAGE_START ChromeMsgStart |
IPC_ENUM_TRAITS(InstantCompleteBehavior) |
-IPC_ENUM_TRAITS(prerender::PrerenderCancellationReason) |
IPC_ENUM_TRAITS(search_provider::OSDDType) |
IPC_ENUM_TRAITS(search_provider::InstallState) |
IPC_ENUM_TRAITS(TranslateErrors::Type) |
@@ -187,15 +176,9 @@ |
GURL /* url */, |
ContentSettings /* content_settings */) |
-// Install the first missing pluign. |
-IPC_MESSAGE_ROUTED0(ViewMsg_InstallMissingPlugin) |
- |
// Tells the render view to load all blocked plugins. |
IPC_MESSAGE_ROUTED0(ViewMsg_LoadBlockedPlugins) |
-// Tells the render view a prerendered page is about to be displayed. |
-IPC_MESSAGE_ROUTED0(ViewMsg_DisplayPrerenderedPage) |
- |
// Used to instruct the RenderView to go into "view source" mode. |
IPC_MESSAGE_ROUTED0(ViewMsg_EnableViewSourceMode) |
@@ -242,18 +225,6 @@ |
std::string /* The origin */, |
std::string /* The target*/) |
-// 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) |
- |
-// Sent by the Browser process to alert a window about whether a it should |
-// allow a scripted window.close(). The renderer assumes every new window is a |
-// blocked popup until notified otherwise. |
-IPC_MESSAGE_ROUTED1(ViewMsg_AllowScriptToClose, |
- bool /* script_can_close */) |
- |
IPC_MESSAGE_ROUTED4(ViewMsg_SearchBoxChange, |
string16 /* value */, |
bool /* verbatim */, |
@@ -379,11 +350,6 @@ |
GURL /* inquiry url */, |
search_provider::InstallState /* install */) |
-// Stores new inspector setting in the profile. |
-IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, |
- std::string, /* key */ |
- std::string /* value */) |
- |
// Send back a string to be recorded by UserMetrics. |
IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, |
std::string /* action */) |
@@ -410,10 +376,6 @@ |
IPC_MESSAGE_CONTROL1(ViewHostMsg_DnsPrefetch, |
std::vector<std::string> /* hostnames */) |
-// Notifies when default plugin updates status of the missing plugin. |
-IPC_MESSAGE_ROUTED1(ViewHostMsg_MissingPluginStatus, |
- int /* status */) |
- |
// Requests the outdated plugins policy. |
// |policy| is one of ALLOW, BLOCK or ASK. Anything else is an error. |
// ALLOW means that outdated plugins are allowed, and BLOCK that they should |
@@ -427,9 +389,6 @@ |
string16, /* name */ |
GURL /* update_url */) |
-// Displays a JavaScript out-of-memory message in the infobar. |
-IPC_MESSAGE_ROUTED0(ViewHostMsg_JSOutOfMemory) |
- |
IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, |
std::vector<GURL> /* all savable resource links */, |
std::vector<GURL> /* all referrers of resource links */, |
@@ -472,12 +431,6 @@ |
std::string /* the translated language */, |
TranslateErrors::Type /* the error type if available */) |
-// 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_ROUTED1(ViewHostMsg_MaybeCancelPrerender, |
- prerender::PrerenderCancellationReason) |
- |
// Suggest results ----------------------------------------------------------- |
IPC_MESSAGE_ROUTED3(ViewHostMsg_SetSuggestions, |
@@ -489,16 +442,6 @@ |
int32 /* page_id */, |
bool /* result */) |
-// 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) |
- |
// JavaScript related messages ----------------------------------------------- |
// Notify the JavaScript engine in the render to change its parameters |
@@ -506,9 +449,3 @@ |
IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
int /* cmd */, |
int /* param */) |
- |
-// Register a new handler for URL requests with the given scheme. |
-IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, |
- std::string /* scheme */, |
- GURL /* url */, |
- string16 /* title */) |