1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/embedding/browser/webBrowser/nsIWebBrowserChromeFocus.idl Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,30 @@ 1.4 +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 0 -*- 1.5 + * 1.6 + * This Source Code Form is subject to the terms of the Mozilla Public 1.7 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.9 + 1.10 +#include "nsISupports.idl" 1.11 + 1.12 +/** 1.13 + * The nsIWebBrowserChromeFocus is implemented by the same object as the 1.14 + * nsIEmbeddingSiteWindow. It represents the focus up-calls from mozilla 1.15 + * to the embedding chrome. See mozilla bug #70224 for gratuitous info. 1.16 + */ 1.17 + 1.18 +[scriptable, uuid(d2206418-1dd1-11b2-8e55-acddcd2bcfb8)] 1.19 +interface nsIWebBrowserChromeFocus : nsISupports 1.20 +{ 1.21 + /** 1.22 + * Set the focus at the next focusable element in the chrome. 1.23 + */ 1.24 + 1.25 + void focusNextElement(); 1.26 + 1.27 + /** 1.28 + * Set the focus at the previous focusable element in the chrome. 1.29 + */ 1.30 + 1.31 + void focusPrevElement(); 1.32 + 1.33 +};