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

Unified Diff: chrome/common/automation_messages.cc

Issue 14977013: Delete Automation[Tab/Renderer]Helper and users. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update now that 202087 is committed Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/automation_messages.h ('k') | chrome/common/automation_messages_internal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/automation_messages.cc
diff --git a/chrome/common/automation_messages.cc b/chrome/common/automation_messages.cc
index 90125870f47e452aac70f6e31683996db2ec8450..1e21812ce6390fea01d3bee590d533685f76a44b 100644
--- a/chrome/common/automation_messages.cc
+++ b/chrome/common/automation_messages.cc
@@ -52,36 +52,6 @@ ContextMenuModel::Item::Item()
namespace IPC {
-void ParamTraits<AutomationMouseEvent>::Write(Message* m,
- const param_type& p) {
- WriteParam(m, std::string(reinterpret_cast<const char*>(&p.mouse_event),
- sizeof(p.mouse_event)));
- WriteParam(m, p.location_script_chain);
-}
-
-bool ParamTraits<AutomationMouseEvent>::Read(const Message* m,
- PickleIterator* iter,
- param_type* p) {
- std::string mouse_event;
- if (!ReadParam(m, iter, &mouse_event))
- return false;
- memcpy(&p->mouse_event, mouse_event.c_str(), mouse_event.length());
- if (!ReadParam(m, iter, &p->location_script_chain))
- return false;
- return true;
-}
-
-void ParamTraits<AutomationMouseEvent>::Log(const param_type& p,
- std::string* l) {
- l->append("(");
- LogParam(std::string(reinterpret_cast<const char*>(&p.mouse_event),
- sizeof(p.mouse_event)),
- l);
- l->append(", ");
- LogParam(p.location_script_chain, l);
- l->append(")");
-}
-
void ParamTraits<ContextMenuModel>::Write(Message* m,
const param_type& p) {
WriteParam(m, p.items.size());
« no previous file with comments | « chrome/common/automation_messages.h ('k') | chrome/common/automation_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698