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. 4 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_ 7 8#include "build/build_config.h" 9 10namespace chrome { 11 12#if defined(TOOLKIT_VIEWS) || defined(OS_MACOSX) 13void DisableFindBarAnimationsDuringTesting(bool disable); 14#else 15static inline void DisableFindBarAnimationsDuringTesting(bool disable) {} 16#endif 17 18} // namespace chrome 19 20#endif // CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_HOST_UNITTEST_UTIL_H_ 21