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

Unified Diff: third_party/WebKit/public/platform/modules/sensitive_input_visibility/sensitive_input_visibility_service.mojom

Issue 2378503002: Observe visibility of password inputs, for HTTP-bad phase 1 (Closed)
Patch Set: fix browser-side binding Created 4 years, 3 months 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/public/platform/modules/sensitive_input_visibility/sensitive_input_visibility_service.mojom
diff --git a/third_party/WebKit/Source/devtools/scripts/start_chrome_and_server.js b/third_party/WebKit/public/platform/modules/sensitive_input_visibility/sensitive_input_visibility_service.mojom
similarity index 54%
copy from third_party/WebKit/Source/devtools/scripts/start_chrome_and_server.js
copy to third_party/WebKit/public/platform/modules/sensitive_input_visibility/sensitive_input_visibility_service.mojom
index 9cbc0c24358ce58c91d9502a579931d65d1c1444..28ddfb59f75b66b91ccafe1170db3200cb168527 100644
--- a/third_party/WebKit/Source/devtools/scripts/start_chrome_and_server.js
+++ b/third_party/WebKit/public/platform/modules/sensitive_input_visibility/sensitive_input_visibility_service.mojom
@@ -2,8 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-var childProcess = require("child_process");
-var path = require("path");
+module blink.mojom;
-childProcess.fork(path.join(__dirname, "chrome_debug_launcher/launch_chrome.js"));
-childProcess.fork(path.join(__dirname, "hosted_mode/server.js"));
+// SensitiveInputVisibilityService receives per-frame notifications about sensitive input fields (such as passwords) on the page.
+interface SensitiveInputVisibilityService {
+ PasswordFieldVisible();
+};

Powered by Google App Engine
This is Rietveld 408576698