| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_HOST_UNITTEST_UTIL_H_ | 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_ | 6 #define CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_HOST_UNITTEST_UTIL_H_ |
| 7 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | 9 |
| 10 namespace chrome { | 10 namespace chrome { |
| 11 | 11 |
| 12 #if defined(TOOLKIT_VIEWS) || defined(TOOLKIT_GTK) || defined(OS_MACOSX) | 12 #if defined(TOOLKIT_VIEWS) || defined(OS_MACOSX) |
| 13 void DisableFindBarAnimationsDuringTesting(bool disable); | 13 void DisableFindBarAnimationsDuringTesting(bool disable); |
| 14 #else | 14 #else |
| 15 static inline void DisableFindBarAnimationsDuringTesting(bool disable) {} | 15 static inline void DisableFindBarAnimationsDuringTesting(bool disable) {} |
| 16 #endif | 16 #endif |
| 17 | 17 |
| 18 } // namespace chrome | 18 } // namespace chrome |
| 19 | 19 |
| 20 #endif // CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_HOST_UNITTEST_UTIL_H_ | 20 #endif // CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_HOST_UNITTEST_UTIL_H_ |
| OLD | NEW |