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

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

Issue 1565623002: Replace WebAudio MediaCodec usage with FFmpeg. A ~4x improvement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Delete expectations. Created 4 years, 11 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
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/content_renderer.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 1371 matching lines...) Expand 10 before | Expand all | Expand 10 after
1382 IPC_MESSAGE_ROUTED3(ViewHostMsg_FindMatchRects_Reply, 1382 IPC_MESSAGE_ROUTED3(ViewHostMsg_FindMatchRects_Reply,
1383 int /* version */, 1383 int /* version */,
1384 std::vector<gfx::RectF> /* rects */, 1384 std::vector<gfx::RectF> /* rects */,
1385 gfx::RectF /* active_rect */) 1385 gfx::RectF /* active_rect */)
1386 1386
1387 // Start an android intent with the given URI. 1387 // Start an android intent with the given URI.
1388 IPC_MESSAGE_ROUTED2(ViewHostMsg_StartContentIntent, 1388 IPC_MESSAGE_ROUTED2(ViewHostMsg_StartContentIntent,
1389 GURL /* content_url */, 1389 GURL /* content_url */,
1390 bool /* is_main_frame */) 1390 bool /* is_main_frame */)
1391 1391
1392 // This message runs the MediaCodec for decoding audio for webaudio.
1393 IPC_MESSAGE_CONTROL3(ViewHostMsg_RunWebAudioMediaCodec,
1394 base::SharedMemoryHandle /* encoded_data_handle */,
1395 base::FileDescriptor /* pcm_output */,
1396 uint32_t /* data_size*/)
1397
1398 // Reply to the ViewMsg_ExtractSmartClipData message. 1392 // Reply to the ViewMsg_ExtractSmartClipData message.
1399 IPC_MESSAGE_ROUTED3(ViewHostMsg_SmartClipDataExtracted, 1393 IPC_MESSAGE_ROUTED3(ViewHostMsg_SmartClipDataExtracted,
1400 base::string16 /* text */, 1394 base::string16 /* text */,
1401 base::string16 /* html */, 1395 base::string16 /* html */,
1402 gfx::Rect /* rect */) 1396 gfx::Rect /* rect */)
1403 1397
1404 // Notifies that an unhandled tap has occurred at the specified x,y position 1398 // Notifies that an unhandled tap has occurred at the specified x,y position
1405 // and that the UI may need to be triggered. 1399 // and that the UI may need to be triggered.
1406 IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowUnhandledTapUIIfNeeded, 1400 IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowUnhandledTapUIIfNeeded,
1407 int /* x */, 1401 int /* x */,
1408 int /* y */) 1402 int /* y */)
1409 1403
1410 #elif defined(OS_MACOSX) 1404 #elif defined(OS_MACOSX)
1411 // Informs the browser that a plugin has gained or lost focus. 1405 // Informs the browser that a plugin has gained or lost focus.
1412 IPC_MESSAGE_ROUTED2(ViewHostMsg_PluginFocusChanged, 1406 IPC_MESSAGE_ROUTED2(ViewHostMsg_PluginFocusChanged,
1413 bool, /* focused */ 1407 bool, /* focused */
1414 int /* plugin_id */) 1408 int /* plugin_id */)
1415 1409
1416 // Instructs the browser to start plugin IME. 1410 // Instructs the browser to start plugin IME.
1417 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) 1411 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme)
1418 1412
1419 // Receives content of a web page as plain text. 1413 // Receives content of a web page as plain text.
1420 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) 1414 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
1421 #endif 1415 #endif
1422 1416
1423 // Adding a new message? Stick to the sort order above: first platform 1417 // Adding a new message? Stick to the sort order above: first platform
1424 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1418 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1425 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1419 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/content_renderer.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698