Add ability to gather metrics to BubbleManager.
[chromium-blink-merge.git] / chrome / browser / ui / find_bar / find_bar_host_unittest_util.h
blob91f4ad6a8376fb02426c25756b155a9d5ac979e5
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(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_