OLD | NEW |
(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 WebFormElementObserverCallback_h |
| 6 #define WebFormElementObserverCallback_h |
| 7 |
| 8 namespace blink { |
| 9 |
| 10 class WebFormElementObserverCallback { |
| 11 public: |
| 12 virtual ~WebFormElementObserverCallback() {} |
| 13 |
| 14 // Invoked when the observed element was either removed from the DOM, it's |
| 15 // action attribute changed, or it's computed style changed to display: none. |
| 16 virtual void ElementWasHiddenOrRemoved() = 0; |
| 17 }; |
| 18 |
| 19 } // namespace blink |
| 20 |
| 21 #endif // WebFormElementObserverCallback_h |
OLD | NEW |