Home | History | Annotate | Download | only in find_bar
      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 
     10 namespace chrome {
     11 
     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
     17 
     18 }  // namespace chrome
     19 
     20 #endif  // CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_HOST_UNITTEST_UTIL_H_
     21