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

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

Issue 2538473002: Reland of Post tasks for sensitive input visibility notifications (Closed)
Patch Set: Wait for a script to run before checking for pwd notifications 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
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 d31b73c2933e9eba7c572af82fd298f97f0d90e6..4037cbd70347c2502cde8ad58399cb255c5c6bc3 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -1317,7 +1317,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);
@@ -1430,6 +1429,9 @@ class CORE_EXPORT Document : public ContainerNode,
const OriginAccessEntry& accessEntryFromURL();
+ void sendSensitiveInputVisibility();
+ void sendSensitiveInputVisibilityInternal();
+
DocumentLifecycle m_lifecycle;
bool m_hasNodesWithPlaceholderStyle;
@@ -1670,6 +1672,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 | « chrome/browser/ssl/security_state_tab_helper_browser_tests.cc ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698