OLD | NEW |
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 "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 2023 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2034 | 2034 |
2035 // Puts the browser into "tab fullscreen" mode for the sending renderer. | 2035 // Puts the browser into "tab fullscreen" mode for the sending renderer. |
2036 // See the comment in chrome/browser/ui/browser.h for more details. | 2036 // See the comment in chrome/browser/ui/browser.h for more details. |
2037 IPC_MESSAGE_ROUTED1(ViewHostMsg_ToggleFullscreen, | 2037 IPC_MESSAGE_ROUTED1(ViewHostMsg_ToggleFullscreen, |
2038 bool /* enter_fullscreen */) | 2038 bool /* enter_fullscreen */) |
2039 | 2039 |
2040 // Send back a string to be recorded by UserMetrics. | 2040 // Send back a string to be recorded by UserMetrics. |
2041 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, | 2041 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, |
2042 std::string /* action */) | 2042 std::string /* action */) |
2043 | 2043 |
| 2044 // Send back the elapsed time for sync IPC to be recorded by histogram. |
| 2045 IPC_MESSAGE_CONTROL1(ViewHostMsg_SyncIPCElapsedTime, |
| 2046 base::TimeDelta /* millisecons */) |
| 2047 |
2044 // Notifies the browser that the page was or was not saved as MHTML. | 2048 // Notifies the browser that the page was or was not saved as MHTML. |
2045 IPC_MESSAGE_CONTROL2(ViewHostMsg_SavedPageAsMHTML, | 2049 IPC_MESSAGE_CONTROL2(ViewHostMsg_SavedPageAsMHTML, |
2046 int /* job_id */, | 2050 int /* job_id */, |
2047 int64 /* size of the MHTML file, -1 if error */) | 2051 int64 /* size of the MHTML file, -1 if error */) |
2048 | 2052 |
2049 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, | 2053 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, |
2050 std::vector<GURL> /* all savable resource links */, | 2054 std::vector<GURL> /* all savable resource links */, |
2051 std::vector<content::Referrer> /* all referrers */, | 2055 std::vector<content::Referrer> /* all referrers */, |
2052 std::vector<GURL> /* all frame links */) | 2056 std::vector<GURL> /* all frame links */) |
2053 | 2057 |
(...skipping 30 matching lines...) Expand all Loading... |
2084 // (according to the value of is_hung). The browser can give the user the | 2088 // (according to the value of is_hung). The browser can give the user the |
2085 // option of killing the plugin. | 2089 // option of killing the plugin. |
2086 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, | 2090 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, |
2087 int /* plugin_child_id */, | 2091 int /* plugin_child_id */, |
2088 FilePath /* path */, | 2092 FilePath /* path */, |
2089 bool /* is_hung */) | 2093 bool /* is_hung */) |
2090 | 2094 |
2091 // Screen was rotated. Dispatched to the onorientationchange javascript API. | 2095 // Screen was rotated. Dispatched to the onorientationchange javascript API. |
2092 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, | 2096 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, |
2093 int /* orientation */) | 2097 int /* orientation */) |
OLD | NEW |