| 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 "base/string16.h" | 10 #include "base/string16.h" | 
| (...skipping 1368 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1379 | 1379 | 
| 1380 // External popup menus. | 1380 // External popup menus. | 
| 1381 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, | 1381 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, | 
| 1382                     int /* selected index, -1 means no selection */) | 1382                     int /* selected index, -1 means no selection */) | 
| 1383 #endif | 1383 #endif | 
| 1384 | 1384 | 
| 1385 // Sent by the browser as a reply to ViewHostMsg_SwapCompositorFrame. | 1385 // Sent by the browser as a reply to ViewHostMsg_SwapCompositorFrame. | 
| 1386 IPC_MESSAGE_ROUTED1(ViewMsg_SwapCompositorFrameAck, | 1386 IPC_MESSAGE_ROUTED1(ViewMsg_SwapCompositorFrameAck, | 
| 1387                     cc::CompositorFrameAck /* ack */) | 1387                     cc::CompositorFrameAck /* ack */) | 
| 1388 | 1388 | 
|  | 1389 // Sent from the browser to ask the renderer for a snapshot of the current view. | 
|  | 1390 // The renderer replies with whether the snapshot succeeded and the SkBitmap. | 
|  | 1391 IPC_MESSAGE_ROUTED1(ViewMsg_Snapshot, | 
|  | 1392                     gfx::Rect /* src_subrect */) | 
|  | 1393 IPC_MESSAGE_ROUTED2(ViewHostMsg_Snapshot, | 
|  | 1394                     bool, /* success */ | 
|  | 1395                     SkBitmap /* bitmap */) | 
|  | 1396 | 
| 1389 // ----------------------------------------------------------------------------- | 1397 // ----------------------------------------------------------------------------- | 
| 1390 // Messages sent from the renderer to the browser. | 1398 // Messages sent from the renderer to the browser. | 
| 1391 | 1399 | 
| 1392 // Sent by the renderer when it is creating a new window.  The browser creates | 1400 // Sent by the renderer when it is creating a new window.  The browser creates | 
| 1393 // a tab for it and responds with a ViewMsg_CreatingNew_ACK.  If route_id is | 1401 // a tab for it and responds with a ViewMsg_CreatingNew_ACK.  If route_id is | 
| 1394 // MSG_ROUTING_NONE, the view couldn't be created. | 1402 // MSG_ROUTING_NONE, the view couldn't be created. | 
| 1395 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_CreateWindow, | 1403 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_CreateWindow, | 
| 1396                             ViewHostMsg_CreateWindow_Params, | 1404                             ViewHostMsg_CreateWindow_Params, | 
| 1397                             int /* route_id */, | 1405                             int /* route_id */, | 
| 1398                             int32 /* surface_id */, | 1406                             int32 /* surface_id */, | 
| (...skipping 1019 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2418 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2426 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 
| 2419 // for details. | 2427 // for details. | 
| 2420 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2428 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 
| 2421                             LOGFONT /* font_data */, | 2429                             LOGFONT /* font_data */, | 
| 2422                             string16 /* characters */) | 2430                             string16 /* characters */) | 
| 2423 #endif | 2431 #endif | 
| 2424 | 2432 | 
| 2425 // Adding a new message? Stick to the sort order above: first platform | 2433 // Adding a new message? Stick to the sort order above: first platform | 
| 2426 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2434 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 
| 2427 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2435 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 
| OLD | NEW | 
|---|