Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // Multiply-included message file, hence no include guard. | |
| 6 | |
| 7 #include <string> | |
| 8 #include <vector> | |
| 9 | |
| 10 #include "base/strings/string16.h" | |
| 11 #include "content/public/common/common_param_traits.h" | |
| 12 #include "content/public/common/common_param_traits_macros.h" | |
| 13 #include "ipc/ipc_message_macros.h" | |
| 14 #include "ipc/ipc_message_utils.h" | |
| 15 | |
| 16 #define IPC_MESSAGE_START DistillerMsgStart | |
| 17 | |
| 18 IPC_STRUCT_BEGIN(FrameHostMsg_ExtractFeatureResponse_Params) | |
|
mdjones
2015/09/29 17:31:42
In the future, this would be a good candidate for
wychen
2015/09/29 21:46:57
Totally agree.
| |
| 19 IPC_STRUCT_MEMBER(bool, isOGArticle) | |
| 20 IPC_STRUCT_MEMBER(std::string, url) | |
| 21 IPC_STRUCT_MEMBER(int, numElements) | |
| 22 IPC_STRUCT_MEMBER(int, numAnchors) | |
| 23 IPC_STRUCT_MEMBER(int, numForms) | |
| 24 IPC_STRUCT_MEMBER(std::string, innerText) | |
| 25 IPC_STRUCT_MEMBER(std::string, textContent) | |
| 26 IPC_STRUCT_MEMBER(std::string, innerHTML) | |
| 27 IPC_STRUCT_END() | |
| 28 | |
| 29 // Request for the renderer to extract features used in DOM distiller. | |
| 30 // | |
| 31 // The result is sent back to the browser using the message | |
| 32 // FrameHostMsg_ExtractFeatureResponse. | |
| 33 IPC_MESSAGE_ROUTED1(FrameMsg_ExtractFeatureRequest, int /* ID */) | |
| 34 | |
| 35 // Response for FrameMsg_ExtractFeatureRequest | |
| 36 IPC_MESSAGE_ROUTED2(FrameHostMsg_ExtractFeatureResponse, | |
| 37 int /* ID */, | |
| 38 FrameHostMsg_ExtractFeatureResponse_Params) | |
| OLD | NEW |