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
;
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_