Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / ui / base / test / ios / ui_view_test_utils.h
blobc5b3300664be484f28e12b6a234464b1d7c3edea
1 // Copyright 2014 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.
5 #ifndef UI_BASE_TEST_IOS_UI_VIEW_TEST_UTILS_H_
6 #define UI_BASE_TEST_IOS_UI_VIEW_TEST_UTILS_H_
8 #import <UIKit/UIKit.h>
10 namespace ui {
11 namespace test {
12 namespace uiview_utils {
14 // Cancels any visible UIAlertViews.
15 void CancelAlerts();
17 // Forces rendering of a UIView. This is used in tests to make sure that UIKit
18 // optimizations don't have the views return the previous values (such as
19 // zoomScale).
20 void ForceViewRendering(UIView* view);
22 } // namespace uiview_utils
23 } // test
24 } // namespace ui
26 #endif // UI_BASE_TEST_IOS_UI_VIEW_TEST_UTILS_H_