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

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

Issue 2536203004: Reland of Post tasks for sensitive input visibility notifications (patchset #1 id:1 of https://code… (Closed)
Patch Set: Created 4 years 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 fb3246d9d7b5a0fca90587ecaca1ba190b6c5148..4ce03cac66a75294670d23055cc283cfa8c02c78 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;
@@ -1666,6 +1668,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