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

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

Issue 1129883003: Pass Surface ID namespace to renderer compositors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Mac bug. Created 5 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
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 963 matching lines...) Expand 10 before | Expand all | Expand 10 after
974 IPC_MESSAGE_ROUTED2(ViewMsg_SwapCompositorFrameAck, 974 IPC_MESSAGE_ROUTED2(ViewMsg_SwapCompositorFrameAck,
975 uint32 /* output_surface_id */, 975 uint32 /* output_surface_id */,
976 cc::CompositorFrameAck /* ack */) 976 cc::CompositorFrameAck /* ack */)
977 977
978 // Sent by browser to tell renderer compositor that some resources that were 978 // Sent by browser to tell renderer compositor that some resources that were
979 // given to the browser in a swap are not being used anymore. 979 // given to the browser in a swap are not being used anymore.
980 IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources, 980 IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources,
981 uint32 /* output_surface_id */, 981 uint32 /* output_surface_id */,
982 cc::CompositorFrameAck /* ack */) 982 cc::CompositorFrameAck /* ack */)
983 983
984 // Sent by browser to give renderer compositor a new namespace ID for any
985 // SurfaceSequences it has to create.
986 IPC_MESSAGE_ROUTED1(ViewMsg_SetSurfaceIdNamespace,
987 uint32_t /* surface_id_namespace */)
988
984 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret) 989 IPC_MESSAGE_ROUTED0(ViewMsg_SelectWordAroundCaret)
985 990
986 // Sent by the browser to ask the renderer to redraw. 991 // Sent by the browser to ask the renderer to redraw.
987 // If |request_id| is not zero, it is added to the forced frame's latency info 992 // If |request_id| is not zero, it is added to the forced frame's latency info
988 // as ui::WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT. 993 // as ui::WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT.
989 IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw, 994 IPC_MESSAGE_ROUTED1(ViewMsg_ForceRedraw,
990 int /* request_id */) 995 int /* request_id */)
991 996
992 // Sent by the browser when the renderer should generate a new frame. 997 // Sent by the browser when the renderer should generate a new frame.
993 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, 998 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame,
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
1607 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 1612 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
1608 // for details. 1613 // for details.
1609 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 1614 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
1610 LOGFONT /* font_data */, 1615 LOGFONT /* font_data */,
1611 base::string16 /* characters */) 1616 base::string16 /* characters */)
1612 #endif 1617 #endif
1613 1618
1614 // Adding a new message? Stick to the sort order above: first platform 1619 // Adding a new message? Stick to the sort order above: first platform
1615 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1620 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1616 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1621 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698