Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(524)

Side by Side Diff: content/common/view_messages.h

Issue 12457043: Android implementation of WebAudio audio file decoder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 2317 matching lines...) Expand 10 before | Expand all | Expand 10 after
2328 float /* page_scale_factor */, 2328 float /* page_scale_factor */,
2329 float /* min_page_scale_factor */, 2329 float /* min_page_scale_factor */,
2330 float /* max_page_scale_factor */, 2330 float /* max_page_scale_factor */,
2331 gfx::Size /* content_size */) 2331 gfx::Size /* content_size */)
2332 2332
2333 // This message is an ACK that the batch state change has been received by 2333 // This message is an ACK that the batch state change has been received by
2334 // the renderer and all IME related messages should be processed accordingly. 2334 // the renderer and all IME related messages should be processed accordingly.
2335 IPC_MESSAGE_ROUTED1(ViewHostMsg_ImeBatchStateChanged_ACK, 2335 IPC_MESSAGE_ROUTED1(ViewHostMsg_ImeBatchStateChanged_ACK,
2336 bool /* is_begin */) 2336 bool /* is_begin */)
2337 2337
2338 // This message runs the MediaCodec for decoding audio for webaudio.
2339 IPC_MESSAGE_CONTROL2(ViewHostMsg_WebAudioMediaCodec,
bulach 2013/04/02 11:05:11 nit: I think the message name should contain a ver
2340 base::SharedMemoryHandle /* encoded audio mem */,
palmer 2013/04/02 18:01:08 Usually, these comments use descriptive, real vari
2341 base::FileDescriptor /* FD where pcm data is sent */)
2342
2338 #elif defined(OS_MACOSX) 2343 #elif defined(OS_MACOSX)
2339 // Request that the browser load a font into shared memory for us. 2344 // Request that the browser load a font into shared memory for us.
2340 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont, 2345 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont,
2341 FontDescriptor /* font to load */, 2346 FontDescriptor /* font to load */,
2342 uint32 /* buffer size */, 2347 uint32 /* buffer size */,
2343 base::SharedMemoryHandle /* font data */, 2348 base::SharedMemoryHandle /* font data */,
2344 uint32 /* font id */) 2349 uint32 /* font id */)
2345 2350
2346 // On OSX, we cannot allocated shared memory from within the sandbox, so 2351 // On OSX, we cannot allocated shared memory from within the sandbox, so
2347 // this call exists for the renderer to ask the browser to allocate memory 2352 // this call exists for the renderer to ask the browser to allocate memory
(...skipping 27 matching lines...) Expand all
2375 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 2380 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
2376 // for details. 2381 // for details.
2377 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 2382 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
2378 LOGFONT /* font_data */, 2383 LOGFONT /* font_data */,
2379 string16 /* characters */) 2384 string16 /* characters */)
2380 #endif 2385 #endif
2381 2386
2382 // Adding a new message? Stick to the sort order above: first platform 2387 // Adding a new message? Stick to the sort order above: first platform
2383 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2388 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2384 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2389 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698