LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include/mozilla/dom - AutocompleteInfoBinding.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 1 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 1 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* THIS FILE IS AUTOGENERATED FROM AutocompleteInfo.webidl BY Codegen.py - DO NOT EDIT */
       2             : 
       3             : #ifndef mozilla_dom_AutocompleteInfoBinding_h
       4             : #define mozilla_dom_AutocompleteInfoBinding_h
       5             : 
       6             : #include "js/RootingAPI.h"
       7             : #include "jspubtd.h"
       8             : #include "mozilla/ErrorResult.h"
       9             : #include "mozilla/dom/BindingDeclarations.h"
      10             : #include "mozilla/dom/Nullable.h"
      11             : 
      12             : namespace mozilla {
      13             : namespace dom {
      14             : 
      15             : struct AutocompleteInfoAtoms;
      16             : struct NativePropertyHooks;
      17             : class ProtoAndIfaceCache;
      18             : 
      19             : } // namespace dom
      20             : } // namespace mozilla
      21             : 
      22             : namespace mozilla {
      23             : namespace dom {
      24             : 
      25           0 : struct AutocompleteInfo : public DictionaryBase
      26             : {
      27             :   MOZ_INIT_OUTSIDE_CTOR nsString mAddressType;
      28             :   MOZ_INIT_OUTSIDE_CTOR nsString mContactType;
      29             :   MOZ_INIT_OUTSIDE_CTOR nsString mFieldName;
      30             :   MOZ_INIT_OUTSIDE_CTOR nsString mSection;
      31             : 
      32             :   AutocompleteInfo();
      33             : 
      34             :   explicit inline AutocompleteInfo(const FastDictionaryInitializer& )
      35             :   {
      36             :     // Do nothing here; this is used by our "Fast" subclass
      37             :   }
      38             : 
      39             :   explicit inline AutocompleteInfo(const AutocompleteInfo& aOther)
      40             :   {
      41             :     *this = aOther;
      42             :   }
      43             : 
      44             :   bool
      45             :   Init(JSContext* cx, JS::Handle<JS::Value> val, const char* sourceDescription = "Value", bool passedToJSImpl = false);
      46             : 
      47             :   bool
      48             :   Init(const nsAString& aJSON);
      49             : 
      50             :   bool
      51             :   ToObjectInternal(JSContext* cx, JS::MutableHandle<JS::Value> rval) const;
      52             : 
      53             :   bool
      54             :   ToJSON(nsAString& aJSON) const;
      55             : 
      56             :   void
      57             :   TraceDictionary(JSTracer* trc);
      58             : 
      59             :   AutocompleteInfo&
      60             :   operator=(const AutocompleteInfo& aOther);
      61             : 
      62             : private:
      63             :   static bool
      64             :   InitIds(JSContext* cx, AutocompleteInfoAtoms* atomsCache);
      65             : };
      66             : 
      67             : namespace binding_detail {
      68             : struct FastAutocompleteInfo : public AutocompleteInfo
      69             : {
      70             :   inline FastAutocompleteInfo()
      71             :     : AutocompleteInfo(FastDictionaryInitializer())
      72             :   {
      73             :     // Doesn't matter what int we pass to the parent constructor
      74             :   }
      75             : };
      76             : } // namespace binding_detail
      77             : 
      78             : 
      79             : } // namespace dom
      80             : } // namespace mozilla
      81             : 
      82             : #endif // mozilla_dom_AutocompleteInfoBinding_h

Generated by: LCOV version 1.13