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 1334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 video playback. |
1353 IPC_MESSAGE_ROUTED0(ViewMsg_PauseVideo); | 1353 IPC_MESSAGE_ROUTED0(ViewMsg_PauseVideo); |
1354 | 1354 |
| 1355 // Sent by the browser asking the renderer to make the video that |
| 1356 // exited fullscreen in result of ViewMsg_PauseVideo (if any) to reenter. |
| 1357 IPC_MESSAGE_ROUTED0(ViewMsg_ResumeFullscreenVideo); |
| 1358 |
1355 #elif defined(OS_MACOSX) | 1359 #elif defined(OS_MACOSX) |
1356 // Let the RenderView know its window has changed visibility. | 1360 // Let the RenderView know its window has changed visibility. |
1357 IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility, | 1361 IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility, |
1358 bool /* visibile */) | 1362 bool /* visibile */) |
1359 | 1363 |
1360 // Let the RenderView know its window's frame has changed. | 1364 // Let the RenderView know its window's frame has changed. |
1361 IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged, | 1365 IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged, |
1362 gfx::Rect /* window frame */, | 1366 gfx::Rect /* window frame */, |
1363 gfx::Rect /* content view frame */) | 1367 gfx::Rect /* content view frame */) |
1364 | 1368 |
(...skipping 991 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2356 // synchronously (see crbug.com/120597). This IPC message sends the character | 2360 // synchronously (see crbug.com/120597). This IPC message sends the character |
2357 // bounds after every composition change to always have correct bound info. | 2361 // bounds after every composition change to always have correct bound info. |
2358 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2362 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2359 gfx::Range /* composition range */, | 2363 gfx::Range /* composition range */, |
2360 std::vector<gfx::Rect> /* character bounds */) | 2364 std::vector<gfx::Rect> /* character bounds */) |
2361 #endif | 2365 #endif |
2362 | 2366 |
2363 // Adding a new message? Stick to the sort order above: first platform | 2367 // Adding a new message? Stick to the sort order above: first platform |
2364 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2368 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2365 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2369 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |