webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | List of all members
WebCore::PopupMenuStyle Class Reference

#include <PopupMenuStyle.h>

Public Types

enum  PopupMenuType { SelectPopup, AutofillPopup, SelectPopup, AutofillPopup }
 
enum  BackgroundColorType { DefaultBackgroundColor, CustomBackgroundColor, DefaultBackgroundColor, CustomBackgroundColor }
 
enum  PopupMenuSize {
  PopupMenuSizeNormal, PopupMenuSizeSmall, PopupMenuSizeMini, PopupMenuSizeNormal,
  PopupMenuSizeSmall, PopupMenuSizeMini
}
 
enum  PopupMenuType { SelectPopup, AutofillPopup, SelectPopup, AutofillPopup }
 
enum  BackgroundColorType { DefaultBackgroundColor, CustomBackgroundColor, DefaultBackgroundColor, CustomBackgroundColor }
 
enum  PopupMenuSize {
  PopupMenuSizeNormal, PopupMenuSizeSmall, PopupMenuSizeMini, PopupMenuSizeNormal,
  PopupMenuSizeSmall, PopupMenuSizeMini
}
 

Public Member Functions

 PopupMenuStyle (const Color &foreground, const Color &background, const FontCascade &font, bool visible, bool isDisplayNone, bool hasDefaultAppearance, Length textIndent, TextDirection textDirection, bool hasTextDirectionOverride, BackgroundColorType backgroundColorType=DefaultBackgroundColor, PopupMenuType menuType=SelectPopup, PopupMenuSize menuSize=PopupMenuSizeNormal)
 
const ColorforegroundColor () const
 
const ColorbackgroundColor () const
 
const FontCascadefont () const
 
bool isVisible () const
 
bool isDisplayNone () const
 
bool hasDefaultAppearance () const
 
Length textIndent () const
 
TextDirection textDirection () const
 
bool hasTextDirectionOverride () const
 
BackgroundColorType backgroundColorType () const
 
PopupMenuType menuType () const
 
PopupMenuSize menuSize () const
 
 PopupMenuStyle (const Color &foreground, const Color &background, const FontCascade &font, bool visible, bool isDisplayNone, bool hasDefaultAppearance, Length textIndent, TextDirection textDirection, bool hasTextDirectionOverride, BackgroundColorType backgroundColorType=DefaultBackgroundColor, PopupMenuType menuType=SelectPopup, PopupMenuSize menuSize=PopupMenuSizeNormal)
 
const ColorforegroundColor () const
 
const ColorbackgroundColor () const
 
const FontCascadefont () const
 
bool isVisible () const
 
bool isDisplayNone () const
 
bool hasDefaultAppearance () const
 
Length textIndent () const
 
TextDirection textDirection () const
 
bool hasTextDirectionOverride () const
 
BackgroundColorType backgroundColorType () const
 
PopupMenuType menuType () const
 
PopupMenuSize menuSize () const
 

Member Enumeration Documentation

◆ BackgroundColorType [1/2]

Enumerator
DefaultBackgroundColor 
CustomBackgroundColor 
DefaultBackgroundColor 
CustomBackgroundColor 

◆ BackgroundColorType [2/2]

Enumerator
DefaultBackgroundColor 
CustomBackgroundColor 
DefaultBackgroundColor 
CustomBackgroundColor 

◆ PopupMenuSize [1/2]

Enumerator
PopupMenuSizeNormal 
PopupMenuSizeSmall 
PopupMenuSizeMini 
PopupMenuSizeNormal 
PopupMenuSizeSmall 
PopupMenuSizeMini 

◆ PopupMenuSize [2/2]

Enumerator
PopupMenuSizeNormal 
PopupMenuSizeSmall 
PopupMenuSizeMini 
PopupMenuSizeNormal 
PopupMenuSizeSmall 
PopupMenuSizeMini 

◆ PopupMenuType [1/2]

Enumerator
SelectPopup 
AutofillPopup 
SelectPopup 
AutofillPopup 

◆ PopupMenuType [2/2]

Enumerator
SelectPopup 
AutofillPopup 
SelectPopup 
AutofillPopup 

Constructor & Destructor Documentation

◆ PopupMenuStyle() [1/2]

WebCore::PopupMenuStyle::PopupMenuStyle ( const Color foreground,
const Color background,
const FontCascade font,
bool  visible,
bool  isDisplayNone,
bool  hasDefaultAppearance,
Length  textIndent,
TextDirection  textDirection,
bool  hasTextDirectionOverride,
BackgroundColorType  backgroundColorType = DefaultBackgroundColor,
PopupMenuType  menuType = SelectPopup,
PopupMenuSize  menuSize = PopupMenuSizeNormal 
)
inline

◆ PopupMenuStyle() [2/2]

WebCore::PopupMenuStyle::PopupMenuStyle ( const Color foreground,
const Color background,
const FontCascade font,
bool  visible,
bool  isDisplayNone,
bool  hasDefaultAppearance,
Length  textIndent,
TextDirection  textDirection,
bool  hasTextDirectionOverride,
BackgroundColorType  backgroundColorType = DefaultBackgroundColor,
PopupMenuType  menuType = SelectPopup,
PopupMenuSize  menuSize = PopupMenuSizeNormal 
)
inline

Member Function Documentation

◆ backgroundColor() [1/2]

const Color& WebCore::PopupMenuStyle::backgroundColor ( ) const
inline

◆ backgroundColor() [2/2]

const Color& WebCore::PopupMenuStyle::backgroundColor ( ) const
inline

◆ backgroundColorType() [1/2]

BackgroundColorType WebCore::PopupMenuStyle::backgroundColorType ( ) const
inline

◆ backgroundColorType() [2/2]

BackgroundColorType WebCore::PopupMenuStyle::backgroundColorType ( ) const
inline

◆ font() [1/2]

const FontCascade& WebCore::PopupMenuStyle::font ( ) const
inline

◆ font() [2/2]

const FontCascade& WebCore::PopupMenuStyle::font ( ) const
inline

◆ foregroundColor() [1/2]

const Color& WebCore::PopupMenuStyle::foregroundColor ( ) const
inline

◆ foregroundColor() [2/2]

const Color& WebCore::PopupMenuStyle::foregroundColor ( ) const
inline

◆ hasDefaultAppearance() [1/2]

bool WebCore::PopupMenuStyle::hasDefaultAppearance ( ) const
inline

◆ hasDefaultAppearance() [2/2]

bool WebCore::PopupMenuStyle::hasDefaultAppearance ( ) const
inline

◆ hasTextDirectionOverride() [1/2]

bool WebCore::PopupMenuStyle::hasTextDirectionOverride ( ) const
inline

◆ hasTextDirectionOverride() [2/2]

bool WebCore::PopupMenuStyle::hasTextDirectionOverride ( ) const
inline

◆ isDisplayNone() [1/2]

bool WebCore::PopupMenuStyle::isDisplayNone ( ) const
inline

◆ isDisplayNone() [2/2]

bool WebCore::PopupMenuStyle::isDisplayNone ( ) const
inline

◆ isVisible() [1/2]

bool WebCore::PopupMenuStyle::isVisible ( ) const
inline

◆ isVisible() [2/2]

bool WebCore::PopupMenuStyle::isVisible ( ) const
inline

◆ menuSize() [1/2]

PopupMenuSize WebCore::PopupMenuStyle::menuSize ( ) const
inline

◆ menuSize() [2/2]

PopupMenuSize WebCore::PopupMenuStyle::menuSize ( ) const
inline

◆ menuType() [1/2]

PopupMenuType WebCore::PopupMenuStyle::menuType ( ) const
inline

◆ menuType() [2/2]

PopupMenuType WebCore::PopupMenuStyle::menuType ( ) const
inline

◆ textDirection() [1/2]

TextDirection WebCore::PopupMenuStyle::textDirection ( ) const
inline

◆ textDirection() [2/2]

TextDirection WebCore::PopupMenuStyle::textDirection ( ) const
inline

◆ textIndent() [1/2]

Length WebCore::PopupMenuStyle::textIndent ( ) const
inline

◆ textIndent() [2/2]

Length WebCore::PopupMenuStyle::textIndent ( ) const
inline

The documentation for this class was generated from the following file: