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

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

Issue 1308113008: OOPIFs: Transitioning Get/Send...SavableResourceLinks away from RenderViewHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@page-serialization-test
Patch Set: Fixed savable_resources_browsertest.cc to use RenderFrame rather than RenderView. Created 5 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
« no previous file with comments | « content/common/frame_messages.h ('k') | content/renderer/render_frame_impl.h » ('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 "base/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "base/process/process.h" 9 #include "base/process/process.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 #if defined(OS_ANDROID) 552 #if defined(OS_ANDROID)
553 // Tells the renderer to cancel an opened date/time dialog. 553 // Tells the renderer to cancel an opened date/time dialog.
554 IPC_MESSAGE_ROUTED0(ViewMsg_CancelDateTimeDialog) 554 IPC_MESSAGE_ROUTED0(ViewMsg_CancelDateTimeDialog)
555 555
556 // Replaces a date time input field. 556 // Replaces a date time input field.
557 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, 557 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime,
558 double /* dialog_value */) 558 double /* dialog_value */)
559 559
560 #endif 560 #endif
561 561
562 // Get all savable resource links from current webpage, include main
563 // frame and sub-frame.
564 IPC_MESSAGE_ROUTED1(ViewMsg_GetAllSavableResourceLinksForCurrentPage,
565 GURL /* url of page which is needed to save */)
566
567 // Get html data by serializing all frames of current page with lists 562 // Get html data by serializing all frames of current page with lists
568 // which contain all resource links that have local copy. 563 // which contain all resource links that have local copy.
569 IPC_MESSAGE_ROUTED3(ViewMsg_GetSerializedHtmlDataForCurrentPageWithLocalLinks, 564 IPC_MESSAGE_ROUTED3(ViewMsg_GetSerializedHtmlDataForCurrentPageWithLocalLinks,
570 std::vector<GURL> /* urls that have local copy */, 565 std::vector<GURL> /* urls that have local copy */,
571 std::vector<base::FilePath> /* paths of local copy */, 566 std::vector<base::FilePath> /* paths of local copy */,
572 base::FilePath /* local directory path */) 567 base::FilePath /* local directory path */)
573 568
574 // Tells the render side that a ViewHostMsg_LockMouse message has been 569 // Tells the render side that a ViewHostMsg_LockMouse message has been
575 // processed. |succeeded| indicates whether the mouse has been successfully 570 // processed. |succeeded| indicates whether the mouse has been successfully
576 // locked or not. 571 // locked or not.
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after
1276 1271
1277 // Send back a string to be recorded by UserMetrics. 1272 // Send back a string to be recorded by UserMetrics.
1278 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, 1273 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction,
1279 std::string /* action */) 1274 std::string /* action */)
1280 1275
1281 // Notifies the browser that the page was or was not saved as MHTML. 1276 // Notifies the browser that the page was or was not saved as MHTML.
1282 IPC_MESSAGE_CONTROL2(ViewHostMsg_SavedPageAsMHTML, 1277 IPC_MESSAGE_CONTROL2(ViewHostMsg_SavedPageAsMHTML,
1283 int /* job_id */, 1278 int /* job_id */,
1284 int64 /* size of the MHTML file, -1 if error */) 1279 int64 /* size of the MHTML file, -1 if error */)
1285 1280
1286 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks,
1287 std::vector<GURL> /* all savable resource links */,
1288 std::vector<content::Referrer> /* all referrers */,
1289 std::vector<GURL> /* all frame links */)
1290
1291 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData, 1281 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData,
1292 GURL /* frame's url */, 1282 GURL /* frame's url */,
1293 std::string /* data buffer */, 1283 std::string /* data buffer */,
1294 int32 /* complete status */) 1284 int32 /* complete status */)
1295 1285
1296 // Notifies the browser of an event occurring in the media pipeline. 1286 // Notifies the browser of an event occurring in the media pipeline.
1297 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvents, 1287 IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvents,
1298 std::vector<media::MediaLogEvent> /* events */) 1288 std::vector<media::MediaLogEvent> /* events */)
1299 1289
1300 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message 1290 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
1406 // Instructs the browser to start plugin IME. 1396 // Instructs the browser to start plugin IME.
1407 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme) 1397 IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme)
1408 1398
1409 // Receives content of a web page as plain text. 1399 // Receives content of a web page as plain text.
1410 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string); 1400 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string);
1411 #endif 1401 #endif
1412 1402
1413 // Adding a new message? Stick to the sort order above: first platform 1403 // Adding a new message? Stick to the sort order above: first platform
1414 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1404 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1415 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1405 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/common/frame_messages.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698