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

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 2337 matching lines...) Expand 10 before | Expand all | Expand 10 after
2348 float /* page_scale_factor */, 2348 float /* page_scale_factor */,
2349 float /* min_page_scale_factor */, 2349 float /* min_page_scale_factor */,
2350 float /* max_page_scale_factor */, 2350 float /* max_page_scale_factor */,
2351 gfx::Size /* content_size */) 2351 gfx::Size /* content_size */)
2352 2352
2353 // This message is an ACK that the batch state change has been received by 2353 // 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. 2354 // the renderer and all IME related messages should be processed accordingly.
2355 IPC_MESSAGE_ROUTED1(ViewHostMsg_ImeBatchStateChanged_ACK, 2355 IPC_MESSAGE_ROUTED1(ViewHostMsg_ImeBatchStateChanged_ACK,
2356 bool /* is_begin */) 2356 bool /* is_begin */)
2357 2357
2358 // This message runs the MediaCodec for decoding audio for webaudio.
2359 IPC_MESSAGE_CONTROL2(ViewHostMsg_RunWebAudioMediaCodec,
2360 base::SharedMemoryHandle /* encoded_data_handle */,
2361 base::FileDescriptor /* pcm_output */)
2362
2358 #elif defined(OS_MACOSX) 2363 #elif defined(OS_MACOSX)
2359 // Request that the browser load a font into shared memory for us. 2364 // Request that the browser load a font into shared memory for us.
2360 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont, 2365 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont,
2361 FontDescriptor /* font to load */, 2366 FontDescriptor /* font to load */,
2362 uint32 /* buffer size */, 2367 uint32 /* buffer size */,
2363 base::SharedMemoryHandle /* font data */, 2368 base::SharedMemoryHandle /* font data */,
2364 uint32 /* font id */) 2369 uint32 /* font id */)
2365 2370
2366 // On OSX, we cannot allocated shared memory from within the sandbox, so 2371 // On OSX, we cannot allocated shared memory from within the sandbox, so
2367 // this call exists for the renderer to ask the browser to allocate memory 2372 // this call exists for the renderer to ask the browser to allocate memory
(...skipping 27 matching lines...) Expand all
2395 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 2400 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
2396 // for details. 2401 // for details.
2397 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 2402 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
2398 LOGFONT /* font_data */, 2403 LOGFONT /* font_data */,
2399 string16 /* characters */) 2404 string16 /* characters */)
2400 #endif 2405 #endif
2401 2406
2402 // Adding a new message? Stick to the sort order above: first platform 2407 // Adding a new message? Stick to the sort order above: first platform
2403 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2408 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2404 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2409 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/common/webkitplatformsupport_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698