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

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: '' 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 that the view has started or
1129 // ended.
Avi (use Gerrit) 2011/05/10 23:22:56 that the view has started or ended what?
sail 2011/05/13 22:14:54 Done.
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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // Tells the render view a prerendered page is about to be displayed. 1191 // Tells the render view a prerendered page is about to be displayed.
1187 IPC_MESSAGE_ROUTED0(ViewMsg_DisplayPrerenderedPage) 1192 IPC_MESSAGE_ROUTED0(ViewMsg_DisplayPrerenderedPage)
1188 1193
1189
1190 // Messages sent from the renderer to the browser. 1194 // Messages sent from the renderer to the browser.
1191 1195
1192 // Sent by the renderer when it is creating a new window. The browser creates 1196 // Sent by the renderer when it is creating a new window. The browser creates
1193 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is 1197 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is
1194 // MSG_ROUTING_NONE, the view couldn't be created. 1198 // MSG_ROUTING_NONE, the view couldn't be created.
1195 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateWindow, 1199 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateWindow,
1196 ViewHostMsg_CreateWindow_Params, 1200 ViewHostMsg_CreateWindow_Params,
1197 int /* route_id */, 1201 int /* route_id */,
1198 int64 /* cloned_session_storage_namespace_id */) 1202 int64 /* cloned_session_storage_namespace_id */)
1199 1203
(...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after
1965 std::string /* value */) 1969 std::string /* value */)
1966 1970
1967 // Message sent from the renderer to the browser to notify it of events which 1971 // Message sent from the renderer to the browser to notify it of events which
1968 // may lead to the cancellation of a prerender. The message is sent only when 1972 // may lead to the cancellation of a prerender. The message is sent only when
1969 // the renderer is in prerender mode. 1973 // the renderer is in prerender mode.
1970 IPC_MESSAGE_ROUTED0(ViewHostMsg_MaybeCancelPrerenderForHTML5Media) 1974 IPC_MESSAGE_ROUTED0(ViewHostMsg_MaybeCancelPrerenderForHTML5Media)
1971 1975
1972 // Send back a string to be recorded by UserMetrics. 1976 // Send back a string to be recorded by UserMetrics.
1973 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, 1977 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction,
1974 std::string /* action */) 1978 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