https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 63d8c89b8242877f3a0416c6674fd9785b3631b2 authored by ffxbld on 06 November 2014, 19:06:41 UTC
Added FENNEC_33_1_RELEASE FENNEC_33_1_BUILD2 tag(s) for changeset b6a621f3f712. DONTBUILD CLOSED TREE a=release
Tip revision: 63d8c89
nsIEditorIMESupport.idl
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsISupports.idl"
#include "domstubs.idl"

%{C++
namespace mozilla {
namespace widget {
struct IMEState;
} // namespace widget
} // namespace mozilla
%}

native IMEState(mozilla::widget::IMEState);

[scriptable, uuid(0ba7f490-afb8-46dd-87fc-bc6137fbc899)]

interface nsIEditorIMESupport : nsISupports
{
  /**
   * forceCompositionEnd() force the composition end
   */

  void forceCompositionEnd();

  /**
   * Get preferred IME status of current widget.
   */

  [noscript] IMEState getPreferredIMEState();

  /**
   * whether this editor has active IME transaction
   */
  readonly attribute boolean composing;
};

back to top