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

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

Issue 15682010: Support plumbing LatencyInfo through the old software path. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 // request messages. 561 // request messages.
562 IPC_STRUCT_MEMBER(int, flags) 562 IPC_STRUCT_MEMBER(int, flags)
563 563
564 // Whether or not the renderer expects a ViewMsg_UpdateRect_ACK for this 564 // Whether or not the renderer expects a ViewMsg_UpdateRect_ACK for this
565 // update. True for 2D painting, but false for accelerated compositing. 565 // update. True for 2D painting, but false for accelerated compositing.
566 IPC_STRUCT_MEMBER(bool, needs_ack) 566 IPC_STRUCT_MEMBER(bool, needs_ack)
567 567
568 // All the above coordinates are in DIP. This is the scale factor needed 568 // All the above coordinates are in DIP. This is the scale factor needed
569 // to convert them to pixels. 569 // to convert them to pixels.
570 IPC_STRUCT_MEMBER(float, scale_factor) 570 IPC_STRUCT_MEMBER(float, scale_factor)
571
572 // The latency information for the frame. Only valid when accelerated
573 // compositing is disabled.
574 IPC_STRUCT_MEMBER(ui::LatencyInfo, latency_info)
571 IPC_STRUCT_END() 575 IPC_STRUCT_END()
572 576
573 IPC_STRUCT_BEGIN(ViewMsg_Navigate_Params) 577 IPC_STRUCT_BEGIN(ViewMsg_Navigate_Params)
574 // The page_id for this navigation, or -1 if it is a new navigation. Back, 578 // The page_id for this navigation, or -1 if it is a new navigation. Back,
575 // Forward, and Reload navigations should have a valid page_id. If the load 579 // Forward, and Reload navigations should have a valid page_id. If the load
576 // succeeds, then this page_id will be reflected in the resultant 580 // succeeds, then this page_id will be reflected in the resultant
577 // ViewHostMsg_FrameNavigate message. 581 // ViewHostMsg_FrameNavigate message.
578 IPC_STRUCT_MEMBER(int32, page_id) 582 IPC_STRUCT_MEMBER(int32, page_id)
579 583
580 // If page_id is -1, then pending_history_list_offset will also be -1. 584 // If page_id is -1, then pending_history_list_offset will also be -1.
(...skipping 1752 matching lines...) Expand 10 before | Expand all | Expand 10 after
2333 // Since the browser keeps handles to the allocated transport DIBs, this 2337 // Since the browser keeps handles to the allocated transport DIBs, this
2334 // message is sent to tell the browser that it may release them when the 2338 // message is sent to tell the browser that it may release them when the
2335 // renderer is finished with them. 2339 // renderer is finished with them.
2336 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, 2340 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB,
2337 TransportDIB::Id /* DIB id */) 2341 TransportDIB::Id /* DIB id */)
2338 #endif 2342 #endif
2339 2343
2340 // Adding a new message? Stick to the sort order above: first platform 2344 // Adding a new message? Stick to the sort order above: first platform
2341 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2345 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2342 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2346 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698