| OLD | NEW | 
|    1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |    1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 
|    2 // Use of this source code is governed by a BSD-style license that can be |    2 // Use of this source code is governed by a BSD-style license that can be | 
|    3 // found in the LICENSE file. |    3 // found in the LICENSE file. | 
|    4  |    4  | 
|    5 #ifndef CHROME_TEST_TEST_BROWSER_WINDOW_H_ |    5 #ifndef CHROME_TEST_TEST_BROWSER_WINDOW_H_ | 
|    6 #define CHROME_TEST_TEST_BROWSER_WINDOW_H_ |    6 #define CHROME_TEST_TEST_BROWSER_WINDOW_H_ | 
|    7 #pragma once |    7 #pragma once | 
|    8  |    8  | 
|    9 #include "chrome/browser/browser.h" |    9 #include "chrome/browser/browser.h" | 
|   10 #include "chrome/browser/browser_window.h" |   10 #include "chrome/browser/browser_window.h" | 
| (...skipping 12 matching lines...) Expand all  Loading... | 
|   23   virtual void SetBounds(const gfx::Rect& bounds) {} |   23   virtual void SetBounds(const gfx::Rect& bounds) {} | 
|   24   virtual void Close() {} |   24   virtual void Close() {} | 
|   25   virtual void Activate() {} |   25   virtual void Activate() {} | 
|   26   virtual void Deactivate() {} |   26   virtual void Deactivate() {} | 
|   27   virtual bool IsActive() const { return false; } |   27   virtual bool IsActive() const { return false; } | 
|   28   virtual void FlashFrame() {} |   28   virtual void FlashFrame() {} | 
|   29   virtual gfx::NativeWindow GetNativeHandle() { return NULL; } |   29   virtual gfx::NativeWindow GetNativeHandle() { return NULL; } | 
|   30   virtual BrowserWindowTesting* GetBrowserWindowTesting() { return NULL; } |   30   virtual BrowserWindowTesting* GetBrowserWindowTesting() { return NULL; } | 
|   31   virtual StatusBubble* GetStatusBubble() { return NULL; } |   31   virtual StatusBubble* GetStatusBubble() { return NULL; } | 
|   32   virtual void SelectedTabToolbarSizeChanged(bool is_animating) {} |   32   virtual void SelectedTabToolbarSizeChanged(bool is_animating) {} | 
|   33   virtual void SelectedTabExtensionShelfSizeChanged() {} |  | 
|   34   virtual void UpdateTitleBar() {} |   33   virtual void UpdateTitleBar() {} | 
|   35   virtual void ShelfVisibilityChanged() {} |   34   virtual void ShelfVisibilityChanged() {} | 
|   36   virtual void UpdateDevTools() {} |   35   virtual void UpdateDevTools() {} | 
|   37   virtual void UpdateLoadingAnimations(bool should_animate) {} |   36   virtual void UpdateLoadingAnimations(bool should_animate) {} | 
|   38   virtual void SetStarredState(bool is_starred) {} |   37   virtual void SetStarredState(bool is_starred) {} | 
|   39   virtual gfx::Rect GetRestoredBounds() const { return gfx::Rect(); } |   38   virtual gfx::Rect GetRestoredBounds() const { return gfx::Rect(); } | 
|   40   virtual bool IsMaximized() const { return false; } |   39   virtual bool IsMaximized() const { return false; } | 
|   41   virtual void SetFullscreen(bool fullscreen) {} |   40   virtual void SetFullscreen(bool fullscreen) {} | 
|   42   virtual bool IsFullscreen() const { return false; } |   41   virtual bool IsFullscreen() const { return false; } | 
|   43   virtual bool IsFullscreenBubbleVisible() const { return false; } |   42   virtual bool IsFullscreenBubbleVisible() const { return false; } | 
| (...skipping 20 matching lines...) Expand all  Loading... | 
|   64   virtual void ToggleCompactNavigationBar() {} |   63   virtual void ToggleCompactNavigationBar() {} | 
|   65 #endif  // defined(TOOLKIT_VIEWS) |   64 #endif  // defined(TOOLKIT_VIEWS) | 
|   66  |   65  | 
|   67   virtual bool IsBookmarkBarVisible() const { return false; } |   66   virtual bool IsBookmarkBarVisible() const { return false; } | 
|   68   virtual bool IsBookmarkBarAnimating() const { return false; } |   67   virtual bool IsBookmarkBarAnimating() const { return false; } | 
|   69   virtual bool IsToolbarVisible() const { return false; } |   68   virtual bool IsToolbarVisible() const { return false; } | 
|   70   virtual gfx::Rect GetRootWindowResizerRect() const { return gfx::Rect(); } |   69   virtual gfx::Rect GetRootWindowResizerRect() const { return gfx::Rect(); } | 
|   71   virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, |   70   virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, | 
|   72                                         Profile* profile) {} |   71                                         Profile* profile) {} | 
|   73   virtual void ToggleBookmarkBar() {} |   72   virtual void ToggleBookmarkBar() {} | 
|   74   virtual void ToggleExtensionShelf() {} |  | 
|   75   virtual views::Window* ShowAboutChromeDialog() { return NULL; } |   73   virtual views::Window* ShowAboutChromeDialog() { return NULL; } | 
|   76   virtual void ShowUpdateChromeDialog() {} |   74   virtual void ShowUpdateChromeDialog() {} | 
|   77   virtual void ShowTaskManager() {} |   75   virtual void ShowTaskManager() {} | 
|   78   virtual void ShowBookmarkManager() {} |   76   virtual void ShowBookmarkManager() {} | 
|   79   virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) {} |   77   virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) {} | 
|   80   virtual bool IsDownloadShelfVisible() const { return false; } |   78   virtual bool IsDownloadShelfVisible() const { return false; } | 
|   81   virtual DownloadShelf* GetDownloadShelf() { return NULL; } |   79   virtual DownloadShelf* GetDownloadShelf() { return NULL; } | 
|   82   virtual void ShowReportBugDialog() {} |   80   virtual void ShowReportBugDialog() {} | 
|   83   virtual void ShowClearBrowsingDataDialog() {} |   81   virtual void ShowClearBrowsingDataDialog() {} | 
|   84   virtual void ShowImportDialog() {} |   82   virtual void ShowImportDialog() {} | 
| (...skipping 24 matching lines...) Expand all  Loading... | 
|  109  protected: |  107  protected: | 
|  110   virtual void DestroyBrowser() {} |  108   virtual void DestroyBrowser() {} | 
|  111  |  109  | 
|  112  private: |  110  private: | 
|  113   TestLocationBar location_bar_; |  111   TestLocationBar location_bar_; | 
|  114  |  112  | 
|  115   DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); |  113   DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); | 
|  116 }; |  114 }; | 
|  117  |  115  | 
|  118 #endif  // CHROME_TEST_TEST_BROWSER_WINDOW_H_ |  116 #endif  // CHROME_TEST_TEST_BROWSER_WINDOW_H_ | 
| OLD | NEW |