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

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 2145002: Mac: Fix renderer idle cpu usage regression. (Closed)
Patch Set: rebase Created 10 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 SkBitmap /* background */) 756 SkBitmap /* background */)
757 757
758 // Reply to ViewHostMsg_RequestMove, ViewHostMsg_ShowView, and 758 // Reply to ViewHostMsg_RequestMove, ViewHostMsg_ShowView, and
759 // ViewHostMsg_ShowWidget to inform the renderer that the browser has 759 // ViewHostMsg_ShowWidget to inform the renderer that the browser has
760 // processed the move. The browser may have ignored the move, but it finished 760 // processed the move. The browser may have ignored the move, but it finished
761 // processing. This is used because the renderer keeps a temporary cache of 761 // processing. This is used because the renderer keeps a temporary cache of
762 // the widget position while these asynchronous operations are in progress. 762 // the widget position while these asynchronous operations are in progress.
763 IPC_MESSAGE_ROUTED0(ViewMsg_Move_ACK) 763 IPC_MESSAGE_ROUTED0(ViewMsg_Move_ACK)
764 764
765 // Used to instruct the RenderView to send back updates to the preferred size. 765 // Used to instruct the RenderView to send back updates to the preferred size.
766 IPC_MESSAGE_ROUTED0(ViewMsg_EnablePreferredSizeChangedMode) 766 IPC_MESSAGE_ROUTED1(ViewMsg_EnablePreferredSizeChangedMode, int /*flags*/)
767 767
768 // Used to tell the renderer not to add scrollbars with height and 768 // Used to tell the renderer not to add scrollbars with height and
769 // width below a threshold. 769 // width below a threshold.
770 IPC_MESSAGE_ROUTED1(ViewMsg_DisableScrollbarsForSmallWindows, 770 IPC_MESSAGE_ROUTED1(ViewMsg_DisableScrollbarsForSmallWindows,
771 gfx::Size /* disable_scrollbar_size_limit */) 771 gfx::Size /* disable_scrollbar_size_limit */)
772 772
773 // Used to inform the renderer that the browser has displayed its 773 // Used to inform the renderer that the browser has displayed its
774 // requested notification. 774 // requested notification.
775 IPC_MESSAGE_ROUTED1(ViewMsg_PostDisplayToNotificationObject, 775 IPC_MESSAGE_ROUTED1(ViewMsg_PostDisplayToNotificationObject,
776 int /* notification_id */) 776 int /* notification_id */)
(...skipping 1599 matching lines...) Expand 10 before | Expand all | Expand 10 after
2376 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, 2376 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume,
2377 int /* render_view_id */, 2377 int /* render_view_id */,
2378 int /* bridge_id */) 2378 int /* bridge_id */)
2379 2379
2380 // Send the tree of accessibility data to the browser, where it's cached 2380 // Send the tree of accessibility data to the browser, where it's cached
2381 // in order to respond to OS accessibility queries immediately. 2381 // in order to respond to OS accessibility queries immediately.
2382 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityTree, 2382 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityTree,
2383 webkit_glue::WebAccessibility) 2383 webkit_glue::WebAccessibility)
2384 2384
2385 IPC_END_MESSAGES(ViewHost) 2385 IPC_END_MESSAGES(ViewHost)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698