blob: 072948891f421537fcda788c7aef97ae589fb1dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_BASE_TEST_IOS_UI_VIEW_TEST_UTILS_H_
#define UI_BASE_TEST_IOS_UI_VIEW_TEST_UTILS_H_
#import <UIKit/UIKit.h>
namespace ui {
namespace test {
namespace uiview_utils {
// Forces rendering of a UIView. This is used in tests to make sure that UIKit
// optimizations don't have the views return the previous values (such as
// zoomScale).
void ForceViewRendering(UIView* view);
} // namespace uiview_utils
} // test
} // namespace ui
#endif // UI_BASE_TEST_IOS_UI_VIEW_TEST_UTILS_H_
|