LCOV - code coverage report
Current view: top level - accessible/xul - XULComboboxAccessible.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 1 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
       2             : /* This Source Code Form is subject to the terms of the Mozilla Public
       3             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       4             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
       5             : 
       6             : #ifndef mozilla_a11y_XULComboboxAccessible_h__
       7             : #define mozilla_a11y_XULComboboxAccessible_h__
       8             : 
       9             : #include "XULMenuAccessible.h"
      10             : 
      11             : namespace mozilla {
      12             : namespace a11y {
      13             : 
      14             : /**
      15             :  * Used for XUL comboboxes like xul:menulist and autocomplete textbox.
      16             :  */
      17           0 : class XULComboboxAccessible : public AccessibleWrap
      18             : {
      19             : public:
      20             :   enum { eAction_Click = 0 };
      21             : 
      22             :   XULComboboxAccessible(nsIContent* aContent, DocAccessible* aDoc);
      23             : 
      24             :   // Accessible
      25             :   virtual void Description(nsString& aDescription) override;
      26             :   virtual void Value(nsString& aValue) override;
      27             :   virtual a11y::role NativeRole() override;
      28             :   virtual uint64_t NativeState() override;
      29             : 
      30             :   // ActionAccessible
      31             :   virtual uint8_t ActionCount() override;
      32             :   virtual void ActionNameAt(uint8_t aIndex, nsAString& aName) override;
      33             :   virtual bool DoAction(uint8_t aIndex) override;
      34             : 
      35             :   // Widgets
      36             :   virtual bool IsActiveWidget() const override;
      37             :   virtual bool AreItemsOperable() const override;
      38             : };
      39             : 
      40             : } // namespace a11y
      41             : } // namespace mozilla
      42             : 
      43             : #endif

Generated by: LCOV version 1.13