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

Side by Side Diff: third_party/WebKit/public/web/modules/password_manager/WebFormElementObserver.h

Issue 2865233003: Use an MutationObserver to check when a password form disappears after XHR (Closed)
Patch Set: updates Created 3 years, 7 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WebFormElementObserver_h
6 #define WebFormElementObserver_h
7
8 #include <memory>
9
10 #include "public/platform/WebCommon.h"
11
12 namespace blink {
13
14 class WebFormElement;
15 class WebFormElementObserverCallback;
16 class WebInputElement;
17
18 class BLINK_EXPORT WebFormElementObserver {
19 public:
20 // Creates a WebFormElementObserver. Delete this WebFormElementObsrver by
21 // calling WebFormElementObserver::Disconnect.
22 static WebFormElementObserver* Create(
23 WebFormElement&,
24 std::unique_ptr<WebFormElementObserverCallback>);
25 static WebFormElementObserver* Create(
26 WebInputElement&,
27 std::unique_ptr<WebFormElementObserverCallback>);
28
29 virtual void Disconnect() = 0;
30
31 protected:
32 WebFormElementObserver() = default;
33 virtual ~WebFormElementObserver() = default;
34 };
35
36 } // namespace blink
37
38 #endif // WebFormElementObserver_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698