| 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 // This message runs the MediaCodec for decoding audio for webaudio. | 2349 // This message runs the MediaCodec for decoding audio for webaudio. |
| 2359 IPC_MESSAGE_CONTROL2(ViewHostMsg_RunWebAudioMediaCodec, | 2350 IPC_MESSAGE_CONTROL2(ViewHostMsg_RunWebAudioMediaCodec, |
| 2360 base::SharedMemoryHandle /* encoded_data_handle */, | 2351 base::SharedMemoryHandle /* encoded_data_handle */, |
| 2361 base::FileDescriptor /* pcm_output */) | 2352 base::FileDescriptor /* pcm_output */) |
| 2362 | 2353 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2400 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2391 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 2401 // for details. | 2392 // for details. |
| 2402 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2393 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 2403 LOGFONT /* font_data */, | 2394 LOGFONT /* font_data */, |
| 2404 string16 /* characters */) | 2395 string16 /* characters */) |
| 2405 #endif | 2396 #endif |
| 2406 | 2397 |
| 2407 // Adding a new message? Stick to the sort order above: first platform | 2398 // Adding a new message? Stick to the sort order above: first platform |
| 2408 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2399 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2409 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2400 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |