Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(622)

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2515373003: Post tasks for sensitive input visibility notifications (Closed)
Patch Set: dcheng, haraken comments round 2 Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index ff648dc54f5941a13b4b95676d00e4ed9ddc3074..07230132f3659719d4a3959a27a10b48ff4a9b8b 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -1312,7 +1312,6 @@ class CORE_EXPORT Document : public ContainerNode,
// non-secure passwords fields are no longer visible.
void incrementPasswordCount();
void decrementPasswordCount();
- unsigned passwordCount() const;
protected:
Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass);
@@ -1425,6 +1424,9 @@ class CORE_EXPORT Document : public ContainerNode,
const OriginAccessEntry& accessEntryFromURL();
+ void sendSensitiveInputVisibility();
+ void sendSensitiveInputVisibilityInternal();
+
DocumentLifecycle m_lifecycle;
bool m_hasNodesWithPlaceholderStyle;
@@ -1665,6 +1667,8 @@ class CORE_EXPORT Document : public ContainerNode,
Member<PropertyRegistry> m_propertyRegistry;
unsigned m_passwordCount;
+
+ TaskHandle m_sensitiveInputVisibilityTask;
};
extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Document>;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698