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

Side by Side Diff: ios/web_view/test/observers/boolean_observer.h

Issue 2902403002: Add KVO compliant title property to CWVWebView. (Closed)
Patch Set: Respond to comments. Created 3 years, 6 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 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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698