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

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

Issue 396483003: Separate ResizeHelper from RenderWidgetHelper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make dtor order more robust Created 6 years, 5 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 1423 matching lines...) Expand 10 before | Expand all | Expand 10 after
1434 // tab. 1434 // tab.
1435 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateZoomLimits, 1435 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateZoomLimits,
1436 int /* minimum_percent */, 1436 int /* minimum_percent */,
1437 int /* maximum_percent */) 1437 int /* maximum_percent */)
1438 1438
1439 // Notify the browser that this render process can or can't be suddenly 1439 // Notify the browser that this render process can or can't be suddenly
1440 // terminated. 1440 // terminated.
1441 IPC_MESSAGE_CONTROL1(ViewHostMsg_SuddenTerminationChanged, 1441 IPC_MESSAGE_CONTROL1(ViewHostMsg_SuddenTerminationChanged,
1442 bool /* enabled */) 1442 bool /* enabled */)
1443 1443
1444 IPC_STRUCT_BEGIN(ViewHostMsg_CompositorSurfaceBuffersSwapped_Params)
1445 IPC_STRUCT_MEMBER(int32, surface_id)
1446 IPC_STRUCT_MEMBER(uint64, surface_handle)
1447 IPC_STRUCT_MEMBER(int32, route_id)
1448 IPC_STRUCT_MEMBER(gfx::Size, size)
1449 IPC_STRUCT_MEMBER(float, scale_factor)
1450 IPC_STRUCT_MEMBER(int32, gpu_process_host_id)
1451 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info)
1452 IPC_STRUCT_END()
1453
1454 // This message is synthesized by GpuProcessHost to pass through a swap message
1455 // to the RenderWidgetHelper. This allows GetBackingStore to block for either a
1456 // software or GPU frame.
1457 IPC_MESSAGE_ROUTED1(
1458 ViewHostMsg_CompositorSurfaceBuffersSwapped,
1459 ViewHostMsg_CompositorSurfaceBuffersSwapped_Params /* params */)
1460
1461 IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame, 1444 IPC_MESSAGE_ROUTED2(ViewHostMsg_SwapCompositorFrame,
1462 uint32 /* output_surface_id */, 1445 uint32 /* output_surface_id */,
1463 cc::CompositorFrame /* frame */) 1446 cc::CompositorFrame /* frame */)
1464 1447
1465 // Sent by the compositor when a flinging animation is stopped. 1448 // Sent by the compositor when a flinging animation is stopped.
1466 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidStopFlinging) 1449 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidStopFlinging)
1467 1450
1468 //--------------------------------------------------------------------------- 1451 //---------------------------------------------------------------------------
1469 // Request for cryptographic operation messages: 1452 // Request for cryptographic operation messages:
1470 // These are messages from the renderer to the browser to perform a 1453 // These are messages from the renderer to the browser to perform a
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
1704 // Since the browser keeps handles to the allocated transport DIBs, this 1687 // Since the browser keeps handles to the allocated transport DIBs, this
1705 // message is sent to tell the browser that it may release them when the 1688 // message is sent to tell the browser that it may release them when the
1706 // renderer is finished with them. 1689 // renderer is finished with them.
1707 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, 1690 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB,
1708 TransportDIB::Id /* DIB id */) 1691 TransportDIB::Id /* DIB id */)
1709 #endif 1692 #endif
1710 1693
1711 // Adding a new message? Stick to the sort order above: first platform 1694 // Adding a new message? Stick to the sort order above: first platform
1712 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1695 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1713 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1696 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_resize_helper.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698