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

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

Issue 274163004: Remove browser-side tracking of accelerated compositing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "base/process/process.h" 9 #include "base/process/process.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 1163 matching lines...) Expand 10 before | Expand all | Expand 10 after
1174 1174
1175 // Sent to update part of the view. In response to this message, the host 1175 // Sent to update part of the view. In response to this message, the host
1176 // generates a ViewMsg_UpdateRect_ACK message. 1176 // generates a ViewMsg_UpdateRect_ACK message.
1177 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, 1177 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect,
1178 ViewHostMsg_UpdateRect_Params) 1178 ViewHostMsg_UpdateRect_Params)
1179 1179
1180 // Sent to unblock the browser's UI thread if it is waiting on an UpdateRect, 1180 // Sent to unblock the browser's UI thread if it is waiting on an UpdateRect,
1181 // which may get delayed until the browser's UI unblocks. 1181 // which may get delayed until the browser's UI unblocks.
1182 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateIsDelayed) 1182 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateIsDelayed)
1183 1183
1184 // Sent by the renderer when accelerated compositing is enabled or disabled to
1185 // notify the browser whether or not is should do painting.
1186 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidActivateAcceleratedCompositing,
1187 bool /* true if the accelerated compositor is actve */)
1188
1189 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus) 1184 IPC_MESSAGE_ROUTED0(ViewHostMsg_Focus)
1190 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur) 1185 IPC_MESSAGE_ROUTED0(ViewHostMsg_Blur)
1191 1186
1192 // Message sent from renderer to the browser when focus changes inside the 1187 // Message sent from renderer to the browser when focus changes inside the
1193 // webpage. The parameter says whether the newly focused element needs 1188 // webpage. The parameter says whether the newly focused element needs
1194 // keyboard input (true for textfields, text areas and content editable divs). 1189 // keyboard input (true for textfields, text areas and content editable divs).
1195 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged, 1190 IPC_MESSAGE_ROUTED1(ViewHostMsg_FocusedNodeChanged,
1196 bool /* is_editable_node */) 1191 bool /* is_editable_node */)
1197 1192
1198 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor) 1193 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetCursor, content::WebCursor)
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
1780 // synchronously (see crbug.com/120597). This IPC message sends the character 1775 // synchronously (see crbug.com/120597). This IPC message sends the character
1781 // bounds after every composition change to always have correct bound info. 1776 // bounds after every composition change to always have correct bound info.
1782 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 1777 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1783 gfx::Range /* composition range */, 1778 gfx::Range /* composition range */,
1784 std::vector<gfx::Rect> /* character bounds */) 1779 std::vector<gfx::Rect> /* character bounds */)
1785 #endif 1780 #endif
1786 1781
1787 // Adding a new message? Stick to the sort order above: first platform 1782 // Adding a new message? Stick to the sort order above: first platform
1788 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1783 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1789 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1784 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698