summaryrefslogtreecommitdiffstats
path: root/content/common/edit_command.h
blob: 660cbdad35547d35089475a6aa3d17faf3f8b222 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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_