No longer register app window placement preference keys on
[chromium-blink-merge.git] / chrome / browser / ui / browser_window_testing_views.h
blob62627ed3e0e4968d7031823b0904f413da29c6f4
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_
8 class BookmarkBarView;
9 class LocationBarView;
10 class ToolbarView;
12 namespace views {
13 class View;
16 // A BrowserWindow utility interface used for accessing elements of the browser
17 // UI used only by UI test automation.
18 class BrowserWindowTesting {
19 public:
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;
32 protected:
33 virtual ~BrowserWindowTesting() {}
36 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_TESTING_VIEWS_H_