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/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 1331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1342 IPC_MESSAGE_ROUTED0(ViewMsg_ShowImeIfNeeded) | 1342 IPC_MESSAGE_ROUTED0(ViewMsg_ShowImeIfNeeded) |
1343 | 1343 |
1344 // Sent by the browser when the renderer should generate a new frame. | 1344 // Sent by the browser when the renderer should generate a new frame. |
1345 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, | 1345 IPC_MESSAGE_ROUTED1(ViewMsg_BeginFrame, |
1346 cc::BeginFrameArgs /* args */) | 1346 cc::BeginFrameArgs /* args */) |
1347 | 1347 |
1348 // Sent by the browser when an IME update that requires acknowledgement has been | 1348 // Sent by the browser when an IME update that requires acknowledgement has been |
1349 // processed on the browser side. | 1349 // processed on the browser side. |
1350 IPC_MESSAGE_ROUTED0(ViewMsg_ImeEventAck) | 1350 IPC_MESSAGE_ROUTED0(ViewMsg_ImeEventAck) |
1351 | 1351 |
1352 // Sent by the browser when we should pause video playback. | 1352 // Sent by the browser when we should pause/resume video playback. |
qinmin
2013/12/06 00:10:13
pause is for all the videos, and resume is only fo
| |
1353 IPC_MESSAGE_ROUTED0(ViewMsg_PauseVideo); | 1353 IPC_MESSAGE_ROUTED0(ViewMsg_PauseVideo); |
1354 IPC_MESSAGE_ROUTED0(ViewMsg_ResumeVideo); | |
qinmin
2013/12/06 00:10:13
s/ResumeVideo/ResumeFullscreenVideo/
| |
1354 | 1355 |
1355 #elif defined(OS_MACOSX) | 1356 #elif defined(OS_MACOSX) |
1356 // Let the RenderView know its window has changed visibility. | 1357 // Let the RenderView know its window has changed visibility. |
1357 IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility, | 1358 IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility, |
1358 bool /* visibile */) | 1359 bool /* visibile */) |
1359 | 1360 |
1360 // Let the RenderView know its window's frame has changed. | 1361 // Let the RenderView know its window's frame has changed. |
1361 IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged, | 1362 IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged, |
1362 gfx::Rect /* window frame */, | 1363 gfx::Rect /* window frame */, |
1363 gfx::Rect /* content view frame */) | 1364 gfx::Rect /* content view frame */) |
(...skipping 992 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2356 // synchronously (see crbug.com/120597). This IPC message sends the character | 2357 // synchronously (see crbug.com/120597). This IPC message sends the character |
2357 // bounds after every composition change to always have correct bound info. | 2358 // bounds after every composition change to always have correct bound info. |
2358 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2359 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2359 gfx::Range /* composition range */, | 2360 gfx::Range /* composition range */, |
2360 std::vector<gfx::Rect> /* character bounds */) | 2361 std::vector<gfx::Rect> /* character bounds */) |
2361 #endif | 2362 #endif |
2362 | 2363 |
2363 // Adding a new message? Stick to the sort order above: first platform | 2364 // Adding a new message? Stick to the sort order above: first platform |
2364 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2365 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2365 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2366 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |