BookmarkManager: Fix 'new folder text field size changes on clicking it' issue.
[chromium-blink-merge.git] / chrome / browser / ui / translate / translate_bubble_test_utils.h
blobba7a01e8890ae4ada2cf117ea80df1b3f3a91650
1 // Copyright 2015 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_TRANSLATE_TRANSLATE_BUBBLE_TEST_UTILS_H_
6 #define CHROME_BROWSER_UI_TRANSLATE_TRANSLATE_BUBBLE_TEST_UTILS_H_
8 class TranslateBubbleModel;
9 class Browser;
11 namespace translate {
13 // TODO(groby): Move this over to TranslateBubbleDelegate once the translate
14 // bubble has been migrated over to the new Bubble system.
15 namespace test_utils {
17 // Obtain the TranslateModel associated with the current bubble.
18 const TranslateBubbleModel* GetCurrentModel(Browser* browser);
20 // Presses 'Translate' on the currently open translate bubble.
21 void PressTranslate(Browser* browser);
23 } // namespace test_utils
25 } // namespace translate
27 #endif // CHROME_BROWSER_UI_TRANSLATE_TRANSLATE_BUBBLE_TEST_UTILS_H_