diff options
Diffstat (limited to 'chrome/browser/browser_window.h')
-rw-r--r-- | chrome/browser/browser_window.h | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/chrome/browser/browser_window.h b/chrome/browser/browser_window.h index 408f4ff..38f32b4 100644 --- a/chrome/browser/browser_window.h +++ b/chrome/browser/browser_window.h @@ -5,11 +5,13 @@ #ifndef CHROME_BROWSER_BROWSER_WINDOW_H_ #define CHROME_BROWSER_BROWSER_WINDOW_H_ +class BookmarkBarView; class Browser; class BrowserList; +class BrowserView; class BrowserWindowTesting; class GURL; -class LocationBar; +class LocationBarView; class HtmlDialogContentsDelegate; class Profile; class StatusBubble; @@ -23,7 +25,7 @@ class Rect; // BrowserWindow interface // An interface implemented by the "view" of the Browser window. // -// NOTE: All getters except GetTabStrip() may return NULL. +// NOTE: all getters, save GetTabStrip(), may return NULL. class BrowserWindow { public: // Initialize the frame. @@ -87,7 +89,7 @@ class BrowserWindow { virtual bool IsMaximized() = 0; // Returns the location bar. - virtual LocationBar* GetLocationBar() const = 0; + virtual LocationBarView* GetLocationBarView() const = 0; // Informs the view whether or not a load is in progress for the current tab. // The view can use this notification to update the go/stop button. @@ -155,19 +157,13 @@ class BrowserWindow { virtual void DestroyBrowser() = 0; }; -class BookmarkBarView; -class LocationBarView; - // A BrowserWindow utility interface used for accessing elements of the browser // UI used only by UI test automation. class BrowserWindowTesting { - public: +public: #if defined(OS_WIN) - // Returns the BookmarkBarView. + // Returns the Bookmark Bar view. virtual BookmarkBarView* GetBookmarkBarView() = 0; - - // Returns the LocationBarView. - virtual LocationBarView* GetLocationBarView() const = 0; #endif }; |