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

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, 9 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,
2340 base::SharedMemoryHandle /* encoded audio mem */,
2341 base::FileDescriptor /* FD where pcm data is sent */)
2342
bulach 2013/03/28 13:39:25 nit: extra \n
2343
2338 #elif defined(OS_MACOSX) 2344 #elif defined(OS_MACOSX)
2339 // Request that the browser load a font into shared memory for us. 2345 // Request that the browser load a font into shared memory for us.
2340 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont, 2346 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont,
2341 FontDescriptor /* font to load */, 2347 FontDescriptor /* font to load */,
2342 uint32 /* buffer size */, 2348 uint32 /* buffer size */,
2343 base::SharedMemoryHandle /* font data */, 2349 base::SharedMemoryHandle /* font data */,
2344 uint32 /* font id */) 2350 uint32 /* font id */)
2345 2351
2346 // On OSX, we cannot allocated shared memory from within the sandbox, so 2352 // 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 2353 // 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 2381 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
2376 // for details. 2382 // for details.
2377 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 2383 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
2378 LOGFONT /* font_data */, 2384 LOGFONT /* font_data */,
2379 string16 /* characters */) 2385 string16 /* characters */)
2380 #endif 2386 #endif
2381 2387
2382 // Adding a new message? Stick to the sort order above: first platform 2388 // Adding a new message? Stick to the sort order above: first platform
2383 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2389 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2384 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2390 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698