summaryrefslogtreecommitdiffstats
path: root/chrome/common/render_view_commands.h
blob: 541e7eacac3d451e8653fdfb69f1c27535a7e3b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (c) 2011 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_RENDER_VIEW_COMMANDS_H_
#define CHROME_COMMON_RENDER_VIEW_COMMANDS_H_
#pragma once

// These identify commands that the renderer process enables or disables
// in the browser process. For example, this is used on the Mac to keep
// the spell check menu commands in sync with the renderer state.
enum RenderViewCommand {
  RENDER_VIEW_COMMAND_TOGGLE_SPELL_CHECK,
};

enum RenderViewCommandCheckedState {
  RENDER_VIEW_COMMAND_CHECKED_STATE_UNCHECKED,
  RENDER_VIEW_COMMAND_CHECKED_STATE_CHECKED,
  RENDER_VIEW_COMMAND_CHECKED_STATE_MIXED,
};


#endif  // CHROME_COMMON_RENDER_VIEW_COMMANDS_H_