| 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 2323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2334 gfx::RectF /* active_rect */) | 2334 gfx::RectF /* active_rect */) |
| 2335 | 2335 |
| 2336 // Start an android intent with the given URI. | 2336 // Start an android intent with the given URI. |
| 2337 IPC_MESSAGE_ROUTED1(ViewHostMsg_StartContentIntent, | 2337 IPC_MESSAGE_ROUTED1(ViewHostMsg_StartContentIntent, |
| 2338 GURL /* content_url */) | 2338 GURL /* content_url */) |
| 2339 | 2339 |
| 2340 // Message sent when the renderer changed the background color for the view. | 2340 // Message sent when the renderer changed the background color for the view. |
| 2341 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeBodyBackgroundColor, | 2341 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeBodyBackgroundColor, |
| 2342 uint32 /* bg_color */) | 2342 uint32 /* bg_color */) |
| 2343 | 2343 |
| 2344 // Information about current document scroll, scale and size. Sent on a | |
| 2345 // best-effort basis. | |
| 2346 IPC_MESSAGE_ROUTED5(ViewHostMsg_UpdateFrameInfo, | |
| 2347 gfx::Vector2d /* scroll_offset */, | |
| 2348 float /* page_scale_factor */, | |
| 2349 float /* min_page_scale_factor */, | |
| 2350 float /* max_page_scale_factor */, | |
| 2351 gfx::Size /* content_size */) | |
| 2352 | |
| 2353 // This message is an ACK that the batch state change has been received by | 2344 // This message is an ACK that the batch state change has been received by |
| 2354 // the renderer and all IME related messages should be processed accordingly. | 2345 // the renderer and all IME related messages should be processed accordingly. |
| 2355 IPC_MESSAGE_ROUTED1(ViewHostMsg_ImeBatchStateChanged_ACK, | 2346 IPC_MESSAGE_ROUTED1(ViewHostMsg_ImeBatchStateChanged_ACK, |
| 2356 bool /* is_begin */) | 2347 bool /* is_begin */) |
| 2357 | 2348 |
| 2358 #elif defined(OS_MACOSX) | 2349 #elif defined(OS_MACOSX) |
| 2359 // Request that the browser load a font into shared memory for us. | 2350 // Request that the browser load a font into shared memory for us. |
| 2360 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont, | 2351 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont, |
| 2361 FontDescriptor /* font to load */, | 2352 FontDescriptor /* font to load */, |
| 2362 uint32 /* buffer size */, | 2353 uint32 /* buffer size */, |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2395 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2386 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 2396 // for details. | 2387 // for details. |
| 2397 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2388 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 2398 LOGFONT /* font_data */, | 2389 LOGFONT /* font_data */, |
| 2399 string16 /* characters */) | 2390 string16 /* characters */) |
| 2400 #endif | 2391 #endif |
| 2401 | 2392 |
| 2402 // Adding a new message? Stick to the sort order above: first platform | 2393 // Adding a new message? Stick to the sort order above: first platform |
| 2403 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2394 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2404 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2395 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |