| 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 IOS_WEB_VIEW_TEST_OBSERVERS_BOOLEAN_OBSERVER_H_ |
| 6 #define IOS_WEB_VIEW_TEST_OBSERVERS_BOOLEAN_OBSERVER_H_ |
| 7 |
| 8 #import "ios/web_view/test/observers/observer.h" |
| 9 |
| 10 // A specialized Observer for listening to a boolean property of an object. |
| 11 @interface BooleanObserver : Observer |
| 12 |
| 13 // The last value of performing |keyPath| on |object| after being notified of a |
| 14 // KVO value change or null if a change has not been observed. If |lastValue| is |
| 15 // nonnull it will be a NSNumber wrapped BOOL. |
| 16 @property(nonatomic, nullable, readonly) NSNumber* lastValue; |
| 17 |
| 18 @end |
| 19 |
| 20 #endif // IOS_WEB_VIEW_TEST_OBSERVERS_BOOLEAN_OBSERVER_H_ |
| OLD | NEW |