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

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

Issue 370513002: Mac ÜC: Make resize smooth (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@enable_uc_for_reals
Patch Set: Add comments 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
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1424 matching lines...) Expand 10 before | Expand all | Expand 10 after
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) 1444 IPC_STRUCT_BEGIN(ViewHostMsg_CompositorSurfaceBuffersSwapped_Params)
1445 IPC_STRUCT_MEMBER(bool, use_native_widget)
1445 IPC_STRUCT_MEMBER(int32, surface_id) 1446 IPC_STRUCT_MEMBER(int32, surface_id)
1446 IPC_STRUCT_MEMBER(uint64, surface_handle) 1447 IPC_STRUCT_MEMBER(uint64, surface_handle)
1447 IPC_STRUCT_MEMBER(int32, route_id) 1448 IPC_STRUCT_MEMBER(int32, route_id)
1448 IPC_STRUCT_MEMBER(gfx::Size, size) 1449 IPC_STRUCT_MEMBER(gfx::Size, size)
1449 IPC_STRUCT_MEMBER(float, scale_factor) 1450 IPC_STRUCT_MEMBER(float, scale_factor)
1450 IPC_STRUCT_MEMBER(int32, gpu_process_host_id) 1451 IPC_STRUCT_MEMBER(int32, gpu_process_host_id)
1451 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info) 1452 IPC_STRUCT_MEMBER(std::vector<ui::LatencyInfo>, latency_info)
1452 IPC_STRUCT_END() 1453 IPC_STRUCT_END()
1453 1454
1454 // This message is synthesized by GpuProcessHost to pass through a swap message 1455 // This message is synthesized by GpuProcessHost to pass through a swap message
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
1697 // Since the browser keeps handles to the allocated transport DIBs, this 1698 // Since the browser keeps handles to the allocated transport DIBs, this
1698 // message is sent to tell the browser that it may release them when the 1699 // message is sent to tell the browser that it may release them when the
1699 // renderer is finished with them. 1700 // renderer is finished with them.
1700 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, 1701 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB,
1701 TransportDIB::Id /* DIB id */) 1702 TransportDIB::Id /* DIB id */)
1702 #endif 1703 #endif
1703 1704
1704 // Adding a new message? Stick to the sort order above: first platform 1705 // Adding a new message? Stick to the sort order above: first platform
1705 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1706 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1706 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1707 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698