summaryrefslogtreecommitdiffstats
path: root/content/common/edit_command.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-22 01:33:53 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-22 01:33:53 +0000
commit557221548b76b970d4b70f890cb1d3165ff8257d (patch)
tree145bdab7a078d1012d480fba66f6697f9f3ecb42 /content/common/edit_command.h
parent8fb5ca734a7680739653b79d264e4997add31f05 (diff)
downloadchromium_src-557221548b76b970d4b70f890cb1d3165ff8257d.zip
chromium_src-557221548b76b970d4b70f890cb1d3165ff8257d.tar.gz
chromium_src-557221548b76b970d4b70f890cb1d3165ff8257d.tar.bz2
Move some more renderer messages to content. Also move a couple of files which should have been moved.TBR=tsepez
R=sky@chromium.org,*,jam@chromium.org,jcivelli@chromium.org,phajdan.jr@chromium.org,darin@chromium.org,brettw@chromium.org,ben@chromium.org Review URL: http://codereview.chromium.org/6718020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78957 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/edit_command.h')
-rw-r--r--content/common/edit_command.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/content/common/edit_command.h b/content/common/edit_command.h
new file mode 100644
index 0000000..660cbda
--- /dev/null
+++ b/content/common/edit_command.h
@@ -0,0 +1,25 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_COMMON_EDIT_COMMAND_H_
+#define CONTENT_COMMON_EDIT_COMMAND_H_
+#pragma once
+
+#include <string>
+#include <vector>
+
+// Types related to sending edit commands to the renderer.
+struct EditCommand {
+ EditCommand() { }
+ EditCommand(const std::string& n, const std::string& v)
+ : name(n), value(v) {
+ }
+
+ std::string name;
+ std::string value;
+};
+
+typedef std::vector<EditCommand> EditCommands;
+
+#endif // CONTENT_COMMON_EDIT_COMMAND_H_