Disable TabDragController tests that fail with a real compositor.
[chromium-blink-merge.git] / chrome / browser / ui / find_bar / find_bar_host_unittest_util.h
blobe4280f42252422d10b5984612ff7356ce28c9355
1 // Copyright (c) 2012 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 CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_HOST_UNITTEST_UTIL_H_
6 #define CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_HOST_UNITTEST_UTIL_H_
8 #include "build/build_config.h"
10 namespace chrome {
12 #if defined(TOOLKIT_VIEWS) || defined(TOOLKIT_GTK) || defined(OS_MACOSX)
13 void DisableFindBarAnimationsDuringTesting(bool disable);
14 #else
15 static inline void DisableFindBarAnimationsDuringTesting(bool disable) {}
16 #endif
18 } // namespace chrome
20 #endif // CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_HOST_UNITTEST_UTIL_H_