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

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

Issue 10941015: [Android] Upstream the WebView find-in-page API implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit fixes. Created 8 years, 3 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 | Annotate | Revision Log
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 "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetMonitorColorProfile, 860 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetMonitorColorProfile,
861 std::vector<char> /* profile */) 861 std::vector<char> /* profile */)
862 862
863 // Tells the renderer to create a new view. 863 // Tells the renderer to create a new view.
864 // This message is slightly different, the view it takes (via 864 // This message is slightly different, the view it takes (via
865 // ViewMsg_New_Params) is the view to create, the message itself is sent as a 865 // ViewMsg_New_Params) is the view to create, the message itself is sent as a
866 // non-view control message. 866 // non-view control message.
867 IPC_MESSAGE_CONTROL1(ViewMsg_New, 867 IPC_MESSAGE_CONTROL1(ViewMsg_New,
868 ViewMsg_New_Params) 868 ViewMsg_New_Params)
869 869
870 #if defined(OS_ANDROID)
871 // Sent when the user clicks on the find result bar to activate a find result.
872 // The point (x,y) is in fractions of the content document's width and height.
873 IPC_MESSAGE_ROUTED3(ViewMsg_ActivateNearestFindResult,
874 int /* request_id */,
875 float /* x */,
876 float /* y */)
877
878 // Sent when the browser wants the bounding boxes of the current find matches.
879 //
880 // If match rects are already cached on the browser side, |current_version|
881 // should be the version number from the ViewHostMsg_FindMatchRects_Reply
882 // they came in, so the renderer can tell if it needs to send updated rects.
883 // Otherwise just pass -1 to always receive the list of rects.
884 //
885 // There must be an active search string (it is probably most useful to call
886 // this immediately after a ViewHostMsg_Find_Reply message arrives with
887 // final_update set to true).
888 IPC_MESSAGE_ROUTED1(ViewMsg_FindMatchRects,
889 int /* current_version */)
890 #endif
891
892 // Reply in response to ViewHostMsg_ShowView or ViewHostMsg_ShowWidget. 870 // Reply in response to ViewHostMsg_ShowView or ViewHostMsg_ShowWidget.
893 // similar to the new command, but used when the renderer created a view 871 // similar to the new command, but used when the renderer created a view
894 // first, and we need to update it. 872 // first, and we need to update it.
895 IPC_MESSAGE_ROUTED1(ViewMsg_CreatingNew_ACK, 873 IPC_MESSAGE_ROUTED1(ViewMsg_CreatingNew_ACK,
896 gfx::NativeViewId /* parent_hwnd */) 874 gfx::NativeViewId /* parent_hwnd */)
897 875
898 // Sends updated preferences to the renderer. 876 // Sends updated preferences to the renderer.
899 IPC_MESSAGE_ROUTED1(ViewMsg_SetRendererPrefs, 877 IPC_MESSAGE_ROUTED1(ViewMsg_SetRendererPrefs,
900 content::RendererPreferences) 878 content::RendererPreferences)
901 879
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
1127 int, /* route_id of the active renderer */ 1105 int, /* route_id of the active renderer */
1128 std::string /* json encoded frame tree */) 1106 std::string /* json encoded frame tree */)
1129 1107
1130 // Request for the renderer to evaluate an xpath to a frame and insert css 1108 // Request for the renderer to evaluate an xpath to a frame and insert css
1131 // into that frame's document. See ViewMsg_ScriptEvalRequest for details on 1109 // into that frame's document. See ViewMsg_ScriptEvalRequest for details on
1132 // allowed xpath expressions. 1110 // allowed xpath expressions.
1133 IPC_MESSAGE_ROUTED2(ViewMsg_CSSInsertRequest, 1111 IPC_MESSAGE_ROUTED2(ViewMsg_CSSInsertRequest,
1134 string16, /* frame_xpath */ 1112 string16, /* frame_xpath */
1135 std::string /* css string */) 1113 std::string /* css string */)
1136 1114
1137 // External popup menus.
1138 #if defined(OS_MACOSX)
1139 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem,
1140 int /* selected index, -1 means no selection */)
1141 #elif defined(OS_ANDROID)
1142 IPC_MESSAGE_ROUTED2(ViewMsg_SelectPopupMenuItems,
1143 bool /* user canceled the popup */,
1144 std::vector<int> /* selected indices */)
1145 #endif
1146
1147 // Change the zoom level for the current main frame. If the level actually 1115 // Change the zoom level for the current main frame. If the level actually
1148 // changes, a ViewHostMsg_DidZoomURL message will be sent back to the browser 1116 // changes, a ViewHostMsg_DidZoomURL message will be sent back to the browser
1149 // telling it what url got zoomed and what its current zoom level is. 1117 // telling it what url got zoomed and what its current zoom level is.
1150 IPC_MESSAGE_ROUTED1(ViewMsg_Zoom, 1118 IPC_MESSAGE_ROUTED1(ViewMsg_Zoom,
1151 content::PageZoom /* function */) 1119 content::PageZoom /* function */)
1152 1120
1153 // Set the zoom level for the current main frame. If the level actually 1121 // Set the zoom level for the current main frame. If the level actually
1154 // changes, a ViewHostMsg_DidZoomURL message will be sent back to the browser 1122 // changes, a ViewHostMsg_DidZoomURL message will be sent back to the browser
1155 // telling it what url got zoomed and what its current zoom level is. 1123 // telling it what url got zoomed and what its current zoom level is.
1156 IPC_MESSAGE_ROUTED1(ViewMsg_SetZoomLevel, 1124 IPC_MESSAGE_ROUTED1(ViewMsg_SetZoomLevel,
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
1344 gfx::Size /* disable_scrollbar_size_limit */) 1312 gfx::Size /* disable_scrollbar_size_limit */)
1345 1313
1346 // Activate/deactivate the RenderView (i.e., set its controls' tint 1314 // Activate/deactivate the RenderView (i.e., set its controls' tint
1347 // accordingly, etc.). 1315 // accordingly, etc.).
1348 IPC_MESSAGE_ROUTED1(ViewMsg_SetActive, 1316 IPC_MESSAGE_ROUTED1(ViewMsg_SetActive,
1349 bool /* active */) 1317 bool /* active */)
1350 1318
1351 IPC_MESSAGE_ROUTED1(ViewMsg_SetNavigationStartTime, 1319 IPC_MESSAGE_ROUTED1(ViewMsg_SetNavigationStartTime,
1352 base::TimeTicks /* browser_navigation_start */) 1320 base::TimeTicks /* browser_navigation_start */)
1353 1321
1354 #if defined(OS_MACOSX)
1355 // Let the RenderView know its window has changed visibility.
1356 IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility,
1357 bool /* visibile */)
1358
1359 // Let the RenderView know its window's frame has changed.
1360 IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged,
1361 gfx::Rect /* window frame */,
1362 gfx::Rect /* content view frame */)
1363
1364 // Message sent from the browser to the renderer when the user starts or stops
1365 // resizing the view.
1366 IPC_MESSAGE_ROUTED1(ViewMsg_SetInLiveResize,
1367 bool /* enable */)
1368
1369 // Tell the renderer that plugin IME has completed.
1370 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionCompleted,
1371 string16 /* text */,
1372 int /* plugin_id */)
1373 #endif
1374
1375 // Response message to ViewHostMsg_CreateShared/DedicatedWorker. 1322 // Response message to ViewHostMsg_CreateShared/DedicatedWorker.
1376 // Sent when the worker has started. 1323 // Sent when the worker has started.
1377 IPC_MESSAGE_ROUTED0(ViewMsg_WorkerCreated) 1324 IPC_MESSAGE_ROUTED0(ViewMsg_WorkerCreated)
1378 1325
1379 // The response to ViewHostMsg_AsyncOpenFile. 1326 // The response to ViewHostMsg_AsyncOpenFile.
1380 IPC_MESSAGE_ROUTED3(ViewMsg_AsyncOpenFile_ACK, 1327 IPC_MESSAGE_ROUTED3(ViewMsg_AsyncOpenFile_ACK,
1381 base::PlatformFileError /* error_code */, 1328 base::PlatformFileError /* error_code */,
1382 IPC::PlatformFileForTransit /* file descriptor */, 1329 IPC::PlatformFileForTransit /* file descriptor */,
1383 int /* message_id */) 1330 int /* message_id */)
1384 1331
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1419 IPC::PlatformFileForTransit /* file handle */) 1366 IPC::PlatformFileForTransit /* file handle */)
1420 1367
1421 // Temporary message to diagnose an unexpected condition in WebContentsImpl. 1368 // Temporary message to diagnose an unexpected condition in WebContentsImpl.
1422 IPC_MESSAGE_CONTROL1(ViewMsg_TempCrashWithData, 1369 IPC_MESSAGE_CONTROL1(ViewMsg_TempCrashWithData,
1423 GURL /* data */) 1370 GURL /* data */)
1424 1371
1425 // Change the accessibility mode in the renderer process. 1372 // Change the accessibility mode in the renderer process.
1426 IPC_MESSAGE_ROUTED1(ViewMsg_SetAccessibilityMode, 1373 IPC_MESSAGE_ROUTED1(ViewMsg_SetAccessibilityMode,
1427 AccessibilityMode) 1374 AccessibilityMode)
1428 1375
1376 #if defined(OS_ANDROID)
1377 // Sent when the user clicks on the find result bar to activate a find result.
1378 // The point (x,y) is in fractions of the content document's width and height.
1379 IPC_MESSAGE_ROUTED3(ViewMsg_ActivateNearestFindResult,
1380 int /* request_id */,
1381 float /* x */,
1382 float /* y */)
1383
1384 // Sent when the browser wants the bounding boxes of the current find matches.
1385 //
1386 // If match rects are already cached on the browser side, |current_version|
1387 // should be the version number from the ViewHostMsg_FindMatchRects_Reply
1388 // they came in, so the renderer can tell if it needs to send updated rects.
1389 // Otherwise just pass -1 to always receive the list of rects.
1390 //
1391 // There must be an active search string (it is probably most useful to call
1392 // this immediately after a ViewHostMsg_Find_Reply message arrives with
1393 // final_update set to true).
1394 IPC_MESSAGE_ROUTED1(ViewMsg_FindMatchRects,
1395 int /* current_version */)
1396
1397 // Sent when the user wants to search for all occurrences of a word or find
1398 // the next result in a synchronous way. This method forces the UI thread in
1399 // the browser to wait for the renderer to reply, therefore blocking the UI.
1400 //
1401 // This functionality is required for compatibility with the legacy Android
1402 // WebView API. As this goes strongly against the Chromium design guidelines,
1403 // don't use this as inspiration.
1404 //
1405 IPC_SYNC_MESSAGE_ROUTED3_2(ViewMsg_SynchronousFind,
1406 int /* request_id */,
1407 string16 /* search_string */,
1408 WebKit::WebFindOptions /* options */,
1409 int /* match_count */,
1410 int /* active_ordinal */)
1411
1412 // External popup menus.
1413 IPC_MESSAGE_ROUTED2(ViewMsg_SelectPopupMenuItems,
1414 bool /* user canceled the popup */,
1415 std::vector<int> /* selected indices */)
1416
1417 #elif defined(OS_MACOSX)
1418 // Let the RenderView know its window has changed visibility.
1419 IPC_MESSAGE_ROUTED1(ViewMsg_SetWindowVisibility,
1420 bool /* visibile */)
1421
1422 // Let the RenderView know its window's frame has changed.
1423 IPC_MESSAGE_ROUTED2(ViewMsg_WindowFrameChanged,
1424 gfx::Rect /* window frame */,
1425 gfx::Rect /* content view frame */)
1426
1427 // Message sent from the browser to the renderer when the user starts or stops
1428 // resizing the view.
1429 IPC_MESSAGE_ROUTED1(ViewMsg_SetInLiveResize,
1430 bool /* enable */)
1431
1432 // Tell the renderer that plugin IME has completed.
1433 IPC_MESSAGE_ROUTED2(ViewMsg_PluginImeCompositionCompleted,
1434 string16 /* text */,
1435 int /* plugin_id */)
1436
1437 // External popup menus.
1438 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem,
1439 int /* selected index, -1 means no selection */)
1440 #endif
1441
1429 // ----------------------------------------------------------------------------- 1442 // -----------------------------------------------------------------------------
1430 // Messages sent from the renderer to the browser. 1443 // Messages sent from the renderer to the browser.
1431 1444
1432 // Sent by the renderer when it is creating a new window. The browser creates 1445 // Sent by the renderer when it is creating a new window. The browser creates
1433 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is 1446 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is
1434 // MSG_ROUTING_NONE, the view couldn't be created. 1447 // MSG_ROUTING_NONE, the view couldn't be created.
1435 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_CreateWindow, 1448 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_CreateWindow,
1436 ViewHostMsg_CreateWindow_Params, 1449 ViewHostMsg_CreateWindow_Params,
1437 int /* route_id */, 1450 int /* route_id */,
1438 int32 /* surface_id */, 1451 int32 /* surface_id */,
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
1977 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_CreatePluginContainer, 1990 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_CreatePluginContainer,
1978 gfx::PluginWindowHandle /* id */) 1991 gfx::PluginWindowHandle /* id */)
1979 1992
1980 // Destroy a plugin container previously created using CreatePluginContainer. 1993 // Destroy a plugin container previously created using CreatePluginContainer.
1981 // id is the XID of the plugin window corresponding to the container that is 1994 // id is the XID of the plugin window corresponding to the container that is
1982 // to be destroyed. 1995 // to be destroyed.
1983 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_DestroyPluginContainer, 1996 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_DestroyPluginContainer,
1984 gfx::PluginWindowHandle /* id */) 1997 gfx::PluginWindowHandle /* id */)
1985 #endif 1998 #endif
1986 1999
1987 #if defined(OS_MACOSX)
1988 // Request that the browser load a font into shared memory for us.
1989 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont,
1990 FontDescriptor /* font to load */,
1991 uint32 /* buffer size */,
1992 base::SharedMemoryHandle /* font data */,
1993 uint32 /* font id */)
1994 #endif
1995
1996 // Send the tooltip text for the current mouse position to the browser. 2000 // Send the tooltip text for the current mouse position to the browser.
1997 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, 2001 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText,
1998 string16 /* tooltip text string */, 2002 string16 /* tooltip text string */,
1999 WebKit::WebTextDirection /* text direction hint */) 2003 WebKit::WebTextDirection /* text direction hint */)
2000 2004
2001 IPC_MESSAGE_ROUTED0(ViewHostMsg_SelectRange_ACK) 2005 IPC_MESSAGE_ROUTED0(ViewHostMsg_SelectRange_ACK)
2002 2006
2003 // Notification that the text selection has changed. 2007 // Notification that the text selection has changed.
2004 // Note: The secound parameter is the character based offset of the string16 2008 // Note: The secound parameter is the character based offset of the string16
2005 // text in the document. 2009 // text in the document.
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
2117 int /* minimum_percent */, 2121 int /* minimum_percent */,
2118 int /* maximum_percent */, 2122 int /* maximum_percent */,
2119 bool /* remember */) 2123 bool /* remember */)
2120 2124
2121 // Notify the browser that this render process can or can't be suddenly 2125 // Notify the browser that this render process can or can't be suddenly
2122 // terminated. 2126 // terminated.
2123 IPC_MESSAGE_CONTROL1(ViewHostMsg_SuddenTerminationChanged, 2127 IPC_MESSAGE_CONTROL1(ViewHostMsg_SuddenTerminationChanged,
2124 bool /* enabled */) 2128 bool /* enabled */)
2125 2129
2126 #if defined(OS_MACOSX) 2130 #if defined(OS_MACOSX)
2131 // Request that the browser load a font into shared memory for us.
2132 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont,
2133 FontDescriptor /* font to load */,
2134 uint32 /* buffer size */,
2135 base::SharedMemoryHandle /* font data */,
2136 uint32 /* font id */)
2137
2127 // On OSX, we cannot allocated shared memory from within the sandbox, so 2138 // On OSX, we cannot allocated shared memory from within the sandbox, so
2128 // this call exists for the renderer to ask the browser to allocate memory 2139 // this call exists for the renderer to ask the browser to allocate memory
2129 // on its behalf. We return a file descriptor to the POSIX shared memory. 2140 // on its behalf. We return a file descriptor to the POSIX shared memory.
2130 // If the |cache_in_browser| flag is |true|, then a copy of the shmem is kept 2141 // If the |cache_in_browser| flag is |true|, then a copy of the shmem is kept
2131 // by the browser, and it is the caller's repsonsibility to send a 2142 // by the browser, and it is the caller's repsonsibility to send a
2132 // ViewHostMsg_FreeTransportDIB message in order to release the cached shmem. 2143 // ViewHostMsg_FreeTransportDIB message in order to release the cached shmem.
2133 // In all cases, the caller is responsible for deleting the resulting 2144 // In all cases, the caller is responsible for deleting the resulting
2134 // TransportDIB. 2145 // TransportDIB.
2135 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_AllocTransportDIB, 2146 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_AllocTransportDIB,
2136 size_t, /* bytes requested */ 2147 size_t, /* bytes requested */
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
2285 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, 2296 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks,
2286 std::vector<GURL> /* all savable resource links */, 2297 std::vector<GURL> /* all savable resource links */,
2287 std::vector<content::Referrer> /* all referrers */, 2298 std::vector<content::Referrer> /* all referrers */,
2288 std::vector<GURL> /* all frame links */) 2299 std::vector<GURL> /* all frame links */)
2289 2300
2290 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData, 2301 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData,
2291 GURL /* frame's url */, 2302 GURL /* frame's url */,
2292 std::string /* data buffer */, 2303 std::string /* data buffer */,
2293 int32 /* complete status */) 2304 int32 /* complete status */)
2294 2305
2295 #if defined(OS_ANDROID)
2296 // Start an android intent with the given URI.
2297 IPC_MESSAGE_ROUTED1(ViewHostMsg_StartContentIntent,
2298 GURL /* content_url */)
2299 #endif
2300
2301 // Notifies the browser of an event occurring in the media pipeline. 2306 // Notifies the browser of an event occurring in the media pipeline.
2302 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent, 2307 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent,
2303 media::MediaLogEvent /* event */) 2308 media::MediaLogEvent /* event */)
2304 2309
2305 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message 2310 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message
2306 // being sent back. 2311 // being sent back.
2307 // |privileged| is used by Pepper Flash. If this flag is set to true, we won't 2312 // |privileged| is used by Pepper Flash. If this flag is set to true, we won't
2308 // pop up a bubble to ask for user permission or take mouse lock content into 2313 // pop up a bubble to ask for user permission or take mouse lock content into
2309 // account. 2314 // account.
2310 IPC_MESSAGE_ROUTED3(ViewHostMsg_LockMouse, 2315 IPC_MESSAGE_ROUTED3(ViewHostMsg_LockMouse,
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
2384 // custom normalized fractions of the document size. The rects will be sorted by 2389 // custom normalized fractions of the document size. The rects will be sorted by
2385 // frame traversal order starting in the main frame, then by dom order. 2390 // frame traversal order starting in the main frame, then by dom order.
2386 // 2391 //
2387 // |active_rect| will contain the bounding box of the active find-in-page match 2392 // |active_rect| will contain the bounding box of the active find-in-page match
2388 // marker, in similarly normalized coords (or an empty rect if there isn't one). 2393 // marker, in similarly normalized coords (or an empty rect if there isn't one).
2389 IPC_MESSAGE_ROUTED3(ViewHostMsg_FindMatchRects_Reply, 2394 IPC_MESSAGE_ROUTED3(ViewHostMsg_FindMatchRects_Reply,
2390 int /* version */, 2395 int /* version */,
2391 std::vector<gfx::RectF> /* rects */, 2396 std::vector<gfx::RectF> /* rects */,
2392 gfx::RectF /* active_rect */) 2397 gfx::RectF /* active_rect */)
2393 2398
2399 // Start an android intent with the given URI.
2400 IPC_MESSAGE_ROUTED1(ViewHostMsg_StartContentIntent,
2401 GURL /* content_url */)
2402
2394 // Messages for notifying the render process of media playback status ------- 2403 // Messages for notifying the render process of media playback status -------
2395 2404
2396 // Media buffering has updated. 2405 // Media buffering has updated.
2397 IPC_MESSAGE_ROUTED2(ViewMsg_MediaBufferingUpdate, 2406 IPC_MESSAGE_ROUTED2(ViewMsg_MediaBufferingUpdate,
2398 int /* player_id */, 2407 int /* player_id */,
2399 int /* percent */) 2408 int /* percent */)
2400 2409
2401 // A media playback error has occured. 2410 // A media playback error has occured.
2402 IPC_MESSAGE_ROUTED2(ViewMsg_MediaError, 2411 IPC_MESSAGE_ROUTED2(ViewMsg_MediaError,
2403 int /* player_id */, 2412 int /* player_id */,
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
2457 2466
2458 // Perform a seek. 2467 // Perform a seek.
2459 IPC_MESSAGE_ROUTED2(ViewHostMsg_MediaPlayerSeek, 2468 IPC_MESSAGE_ROUTED2(ViewHostMsg_MediaPlayerSeek,
2460 int /* player_id */, 2469 int /* player_id */,
2461 base::TimeDelta /* time */) 2470 base::TimeDelta /* time */)
2462 2471
2463 // Start the player for playback. 2472 // Start the player for playback.
2464 IPC_MESSAGE_ROUTED1(ViewHostMsg_MediaPlayerStart, 2473 IPC_MESSAGE_ROUTED1(ViewHostMsg_MediaPlayerStart,
2465 int /* player_id */) 2474 int /* player_id */)
2466 #endif 2475 #endif
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/public/browser/render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698