| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BASE_TEST_BROWSER_WINDOW_H_ | 5 #ifndef CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| 6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 const GURL& url, FullscreenExitBubbleType type) OVERRIDE {} | 59 const GURL& url, FullscreenExitBubbleType type) OVERRIDE {} |
| 60 virtual void ExitFullscreen() OVERRIDE {} | 60 virtual void ExitFullscreen() OVERRIDE {} |
| 61 virtual void UpdateFullscreenExitBubbleContent( | 61 virtual void UpdateFullscreenExitBubbleContent( |
| 62 const GURL& url, | 62 const GURL& url, |
| 63 FullscreenExitBubbleType bubble_type) OVERRIDE {} | 63 FullscreenExitBubbleType bubble_type) OVERRIDE {} |
| 64 virtual bool IsFullscreen() const OVERRIDE; | 64 virtual bool IsFullscreen() const OVERRIDE; |
| 65 virtual bool IsFullscreenBubbleVisible() const OVERRIDE; | 65 virtual bool IsFullscreenBubbleVisible() const OVERRIDE; |
| 66 virtual LocationBar* GetLocationBar() const OVERRIDE; | 66 virtual LocationBar* GetLocationBar() const OVERRIDE; |
| 67 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE {} | 67 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE {} |
| 68 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE {} | 68 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE {} |
| 69 virtual void UpdateToolbar(TabContentsWrapper* contents, | 69 virtual void UpdateToolbar(TabContents* contents, |
| 70 bool should_restore_state) OVERRIDE {} | 70 bool should_restore_state) OVERRIDE {} |
| 71 virtual void FocusToolbar() OVERRIDE {} | 71 virtual void FocusToolbar() OVERRIDE {} |
| 72 virtual void FocusAppMenu() OVERRIDE {} | 72 virtual void FocusAppMenu() OVERRIDE {} |
| 73 virtual void FocusBookmarksToolbar() OVERRIDE {} | 73 virtual void FocusBookmarksToolbar() OVERRIDE {} |
| 74 virtual void RotatePaneFocus(bool forwards) OVERRIDE {} | 74 virtual void RotatePaneFocus(bool forwards) OVERRIDE {} |
| 75 virtual void ShowAppMenu() OVERRIDE {} | 75 virtual void ShowAppMenu() OVERRIDE {} |
| 76 virtual bool PreHandleKeyboardEvent( | 76 virtual bool PreHandleKeyboardEvent( |
| 77 const content::NativeWebKeyboardEvent& event, | 77 const content::NativeWebKeyboardEvent& event, |
| 78 bool* is_keyboard_shortcut) OVERRIDE; | 78 bool* is_keyboard_shortcut) OVERRIDE; |
| 79 virtual void HandleKeyboardEvent( | 79 virtual void HandleKeyboardEvent( |
| 80 const content::NativeWebKeyboardEvent& event) OVERRIDE {} | 80 const content::NativeWebKeyboardEvent& event) OVERRIDE {} |
| 81 virtual void ShowCreateWebAppShortcutsDialog( | 81 virtual void ShowCreateWebAppShortcutsDialog( |
| 82 TabContentsWrapper* tab_contents) OVERRIDE {} | 82 TabContents* tab_contents) OVERRIDE {} |
| 83 virtual void ShowCreateChromeAppShortcutsDialog( | 83 virtual void ShowCreateChromeAppShortcutsDialog( |
| 84 Profile* profile, | 84 Profile* profile, |
| 85 const extensions::Extension* app) OVERRIDE {} | 85 const extensions::Extension* app) OVERRIDE {} |
| 86 | 86 |
| 87 virtual bool IsBookmarkBarVisible() const OVERRIDE; | 87 virtual bool IsBookmarkBarVisible() const OVERRIDE; |
| 88 virtual bool IsBookmarkBarAnimating() const OVERRIDE; | 88 virtual bool IsBookmarkBarAnimating() const OVERRIDE; |
| 89 virtual bool IsTabStripEditable() const OVERRIDE; | 89 virtual bool IsTabStripEditable() const OVERRIDE; |
| 90 virtual bool IsToolbarVisible() const OVERRIDE; | 90 virtual bool IsToolbarVisible() const OVERRIDE; |
| 91 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; | 91 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; |
| 92 virtual bool IsPanel() const OVERRIDE; | 92 virtual bool IsPanel() const OVERRIDE; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 108 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; | 108 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; |
| 109 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE {} | 109 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE {} |
| 110 virtual void UserChangedTheme() OVERRIDE {} | 110 virtual void UserChangedTheme() OVERRIDE {} |
| 111 virtual int GetExtraRenderViewHeight() const OVERRIDE; | 111 virtual int GetExtraRenderViewHeight() const OVERRIDE; |
| 112 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE {} | 112 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE {} |
| 113 virtual void ShowPageInfo(Profile* profile, | 113 virtual void ShowPageInfo(Profile* profile, |
| 114 const GURL& url, | 114 const GURL& url, |
| 115 const content::SSLStatus& ssl, | 115 const content::SSLStatus& ssl, |
| 116 bool show_history) OVERRIDE {} | 116 bool show_history) OVERRIDE {} |
| 117 virtual void ShowWebsiteSettings(Profile* profile, | 117 virtual void ShowWebsiteSettings(Profile* profile, |
| 118 TabContentsWrapper* wrapper, | 118 TabContents* tab_contents, |
| 119 const GURL& url, | 119 const GURL& url, |
| 120 const content::SSLStatus& ssl, | 120 const content::SSLStatus& ssl, |
| 121 bool show_history) OVERRIDE {} | 121 bool show_history) OVERRIDE {} |
| 122 virtual void Cut() OVERRIDE {} | 122 virtual void Cut() OVERRIDE {} |
| 123 virtual void Copy() OVERRIDE {} | 123 virtual void Copy() OVERRIDE {} |
| 124 virtual void Paste() OVERRIDE {} | 124 virtual void Paste() OVERRIDE {} |
| 125 #if defined(OS_MACOSX) | 125 #if defined(OS_MACOSX) |
| 126 virtual void OpenTabpose() OVERRIDE {} | 126 virtual void OpenTabpose() OVERRIDE {} |
| 127 virtual void EnterPresentationMode( | 127 virtual void EnterPresentationMode( |
| 128 const GURL& url, | 128 const GURL& url, |
| 129 FullscreenExitBubbleType bubble_type) OVERRIDE {} | 129 FullscreenExitBubbleType bubble_type) OVERRIDE {} |
| 130 virtual void ExitPresentationMode() OVERRIDE {} | 130 virtual void ExitPresentationMode() OVERRIDE {} |
| 131 virtual bool InPresentationMode() OVERRIDE; | 131 virtual bool InPresentationMode() OVERRIDE; |
| 132 #endif | 132 #endif |
| 133 | 133 |
| 134 virtual void ShowInstant(TabContentsWrapper* preview_contents) OVERRIDE {} | 134 virtual void ShowInstant(TabContents* preview_contents) OVERRIDE {} |
| 135 virtual void HideInstant() OVERRIDE {} | 135 virtual void HideInstant() OVERRIDE {} |
| 136 virtual gfx::Rect GetInstantBounds() OVERRIDE; | 136 virtual gfx::Rect GetInstantBounds() OVERRIDE; |
| 137 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 137 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
| 138 const gfx::Rect& bounds) OVERRIDE; | 138 const gfx::Rect& bounds) OVERRIDE; |
| 139 virtual FindBar* CreateFindBar() OVERRIDE; | 139 virtual FindBar* CreateFindBar() OVERRIDE; |
| 140 virtual void ShowAvatarBubble(content::WebContents* web_contents, | 140 virtual void ShowAvatarBubble(content::WebContents* web_contents, |
| 141 const gfx::Rect& rect) OVERRIDE {} | 141 const gfx::Rect& rect) OVERRIDE {} |
| 142 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE {} | 142 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE {} |
| 143 | 143 |
| 144 protected: | 144 protected: |
| 145 virtual void DestroyBrowser() OVERRIDE {} | 145 virtual void DestroyBrowser() OVERRIDE {} |
| 146 | 146 |
| 147 private: | 147 private: |
| 148 TestLocationBar location_bar_; | 148 TestLocationBar location_bar_; |
| 149 | 149 |
| 150 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); | 150 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); |
| 151 }; | 151 }; |
| 152 | 152 |
| 153 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 153 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |