summaryrefslogtreecommitdiffstats
path: root/chrome/common/edit_command.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/edit_command.h')
-rw-r--r--chrome/common/edit_command.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/chrome/common/edit_command.h b/chrome/common/edit_command.h
new file mode 100644
index 0000000..4fc373e
--- /dev/null
+++ b/chrome/common/edit_command.h
@@ -0,0 +1,24 @@
+// 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 CHROME_COMMON_EDIT_COMMAND_H_
+#define CHROME_COMMON_EDIT_COMMAND_H_
+
+#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 // CHROME_COMMON_EDIT_COMMAND_H_