1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CHROME_COMMON_RENDER_VIEW_COMMANDS_H_ 6 #define CHROME_COMMON_RENDER_VIEW_COMMANDS_H_ 7 #pragma once 8 9 // These identify commands that the renderer process enables or disables 10 // in the browser process. For example, this is used on the Mac to keep 11 // the spell check menu commands in sync with the renderer state. 12 enum RenderViewCommand { 13 RENDER_VIEW_COMMAND_TOGGLE_SPELL_CHECK, 14 }; 15 16 enum RenderViewCommandCheckedState { 17 RENDER_VIEW_COMMAND_CHECKED_STATE_UNCHECKED, 18 RENDER_VIEW_COMMAND_CHECKED_STATE_CHECKED, 19 RENDER_VIEW_COMMAND_CHECKED_STATE_MIXED, 20 }; 21 22 23 #endif // CHROME_COMMON_RENDER_VIEW_COMMANDS_H_ 24