1 // Copyright 2014 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_BROWSER_WINDOW_TESTING_VIEWS_H_
6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_TESTING_VIEWS_H_
16 // A BrowserWindow utility interface used for accessing elements of the browser
17 // UI used only by UI test automation.
18 class BrowserWindowTesting
{
20 // Returns the BookmarkBarView.
21 virtual BookmarkBarView
* GetBookmarkBarView() const = 0;
23 // Returns the LocationBarView.
24 virtual LocationBarView
* GetLocationBarView() const = 0;
26 // Returns the TabContentsContainer.
27 virtual views::View
* GetTabContentsContainerView() const = 0;
29 // Returns the ToolbarView.
30 virtual ToolbarView
* GetToolbarView() const = 0;
33 virtual ~BrowserWindowTesting() {}
36 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_TESTING_VIEWS_H_