Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(829)

Side by Side Diff: content/common/view_messages.h

Issue 6998002: Send live resize messages to renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fixed comment Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // IPC messages for page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "content/common/common_param_traits.h" 10 #include "content/common/common_param_traits.h"
(...skipping 1107 matching lines...) Expand 10 before | Expand all | Expand 10 after
1118 #if defined(OS_MACOSX) 1118 #if defined(OS_MACOSX)
1119 // Let the RenderView know its window has changed visibility. 1119 // Let the RenderView know its window has changed visibility.
1120 IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility, 1120 IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility,
1121 bool /* visibile */) 1121 bool /* visibile */)
1122 1122
1123 // Let the RenderView know its window's frame has changed. 1123 // Let the RenderView know its window's frame has changed.
1124 IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged, 1124 IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged,
1125 gfx::Rect /* window frame */, 1125 gfx::Rect /* window frame */,
1126 gfx::Rect /* content view frame */) 1126 gfx::Rect /* content view frame */)
1127 1127
1128 // Message sent from the browser to the renderer when the user starts or stops
1129 // resizing the view.
1130 IPC_MESSAGE_ROUTED1(ViewMsg_SetInLiveResize,
1131 bool /* enable */)
1132
1128 // Tell the renderer that plugin IME has completed. 1133 // Tell the renderer that plugin IME has completed.
1129 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionCompleted, 1134 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionCompleted,
1130 string16 /* text */, 1135 string16 /* text */,
1131 int /* plugin_id */) 1136 int /* plugin_id */)
1132 #endif 1137 #endif
1133 1138
1134 // Response message to ViewHostMsg_CreateShared/DedicatedWorker. 1139 // Response message to ViewHostMsg_CreateShared/DedicatedWorker.
1135 // Sent when the worker has started. 1140 // Sent when the worker has started.
1136 IPC_MESSAGE_ROUTED0(ViewMsg_WorkerCreated) 1141 IPC_MESSAGE_ROUTED0(ViewMsg_WorkerCreated)
1137 1142
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
1176 1181
1177 // Install the first missing pluign. 1182 // Install the first missing pluign.
1178 IPC_MESSAGE_ROUTED0(ViewMsg_InstallMissingPlugin) 1183 IPC_MESSAGE_ROUTED0(ViewMsg_InstallMissingPlugin)
1179 1184
1180 // Sent to the renderer when a popup window should no longer count against 1185 // Sent to the renderer when a popup window should no longer count against
1181 // the current popup count (either because it's not a popup or because it was 1186 // the current popup count (either because it's not a popup or because it was
1182 // a generated by a user action or because a constrained popup got turned 1187 // a generated by a user action or because a constrained popup got turned
1183 // into a full window). 1188 // into a full window).
1184 IPC_MESSAGE_ROUTED0(ViewMsg_DisassociateFromPopupCount) 1189 IPC_MESSAGE_ROUTED0(ViewMsg_DisassociateFromPopupCount)
1185 1190
1186
1187 // Messages sent from the renderer to the browser. 1191 // Messages sent from the renderer to the browser.
1188 1192
1189 // Sent by the renderer when it is creating a new window. The browser creates 1193 // Sent by the renderer when it is creating a new window. The browser creates
1190 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is 1194 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is
1191 // MSG_ROUTING_NONE, the view couldn't be created. 1195 // MSG_ROUTING_NONE, the view couldn't be created.
1192 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateWindow, 1196 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateWindow,
1193 ViewHostMsg_CreateWindow_Params, 1197 ViewHostMsg_CreateWindow_Params,
1194 int /* route_id */, 1198 int /* route_id */,
1195 int64 /* cloned_session_storage_namespace_id */) 1199 int64 /* cloned_session_storage_namespace_id */)
1196 1200
(...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after
1954 1958
1955 // Stores new inspector setting in the profile. 1959 // Stores new inspector setting in the profile.
1956 // TODO(jam): this should be in the chrome module 1960 // TODO(jam): this should be in the chrome module
1957 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, 1961 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting,
1958 std::string, /* key */ 1962 std::string, /* key */
1959 std::string /* value */) 1963 std::string /* value */)
1960 1964
1961 // Send back a string to be recorded by UserMetrics. 1965 // Send back a string to be recorded by UserMetrics.
1962 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, 1966 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction,
1963 std::string /* action */) 1967 std::string /* action */)
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view_mac.mm ('k') | content/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698