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

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

Issue 603083002: Remove foreground tab idle handler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 6 years, 2 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 969 matching lines...) Expand 10 before | Expand all | Expand 10 after
980 980
981 // Asks the browser for a unique routing ID. 981 // Asks the browser for a unique routing ID.
982 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GenerateRoutingID, 982 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GenerateRoutingID,
983 int /* routing_id */) 983 int /* routing_id */)
984 984
985 // Asks the browser for the default audio hardware configuration. 985 // Asks the browser for the default audio hardware configuration.
986 IPC_SYNC_MESSAGE_CONTROL0_2(ViewHostMsg_GetAudioHardwareConfig, 986 IPC_SYNC_MESSAGE_CONTROL0_2(ViewHostMsg_GetAudioHardwareConfig,
987 media::AudioParameters /* input parameters */, 987 media::AudioParameters /* input parameters */,
988 media::AudioParameters /* output parameters */) 988 media::AudioParameters /* output parameters */)
989 989
990 // Asks the browser for CPU usage of the renderer process in percents.
991 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetCPUUsage,
992 int /* CPU usage in percents */)
993
994 // Asks the browser for the renderer process memory size stats. 990 // Asks the browser for the renderer process memory size stats.
995 IPC_SYNC_MESSAGE_CONTROL0_2(ViewHostMsg_GetProcessMemorySizes, 991 IPC_SYNC_MESSAGE_CONTROL0_2(ViewHostMsg_GetProcessMemorySizes,
996 size_t /* private_bytes */, 992 size_t /* private_bytes */,
997 size_t /* shared_bytes */) 993 size_t /* shared_bytes */)
998 994
999 // These three messages are sent to the parent RenderViewHost to display the 995 // These three messages are sent to the parent RenderViewHost to display the
1000 // page/widget that was created by 996 // page/widget that was created by
1001 // CreateWindow/CreateWidget/CreateFullscreenWidget. routing_id 997 // CreateWindow/CreateWidget/CreateFullscreenWidget. routing_id
1002 // refers to the id that was returned from the Create message above. 998 // refers to the id that was returned from the Create message above.
1003 // The initial_position parameter is a rectangle in screen coordinates. 999 // The initial_position parameter is a rectangle in screen coordinates.
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
1636 // Since the browser keeps handles to the allocated transport DIBs, this 1632 // Since the browser keeps handles to the allocated transport DIBs, this
1637 // message is sent to tell the browser that it may release them when the 1633 // message is sent to tell the browser that it may release them when the
1638 // renderer is finished with them. 1634 // renderer is finished with them.
1639 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, 1635 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB,
1640 TransportDIB::Id /* DIB id */) 1636 TransportDIB::Id /* DIB id */)
1641 #endif 1637 #endif
1642 1638
1643 // Adding a new message? Stick to the sort order above: first platform 1639 // Adding a new message? Stick to the sort order above: first platform
1644 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1640 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1645 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1641 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/renderer/render_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698