Lines Matching defs:DialogNotification
33 DialogNotification::DialogNotification() : type_(NONE) {}
35 DialogNotification::DialogNotification(Type type,
51 DialogNotification::~DialogNotification() {}
53 SkColor DialogNotification::GetBackgroundColor() const {
55 case DialogNotification::WALLET_USAGE_CONFIRMATION:
57 case DialogNotification::REQUIRED_ACTION:
58 case DialogNotification::WALLET_ERROR:
60 case DialogNotification::DEVELOPER_WARNING:
61 case DialogNotification::SECURITY_WARNING:
63 case DialogNotification::NONE:
71 SkColor DialogNotification::GetBorderColor() const {
73 case DialogNotification::WALLET_USAGE_CONFIRMATION:
75 case DialogNotification::REQUIRED_ACTION:
76 case DialogNotification::WALLET_ERROR:
77 case DialogNotification::DEVELOPER_WARNING:
78 case DialogNotification::SECURITY_WARNING:
79 case DialogNotification::NONE:
87 SkColor DialogNotification::GetTextColor() const {
89 case DialogNotification::REQUIRED_ACTION:
90 case DialogNotification::WALLET_ERROR:
91 case DialogNotification::WALLET_USAGE_CONFIRMATION:
93 case DialogNotification::DEVELOPER_WARNING:
94 case DialogNotification::SECURITY_WARNING:
96 case DialogNotification::NONE:
104 bool DialogNotification::HasArrow() const {
105 return type_ == DialogNotification::WALLET_ERROR ||
106 type_ == DialogNotification::WALLET_USAGE_CONFIRMATION;
109 bool DialogNotification::HasCheckbox() const {
110 return type_ == DialogNotification::WALLET_USAGE_CONFIRMATION;