| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 25 matching lines...) Expand all Loading... |
| 36 virtual void UpdateTitleBar() OVERRIDE {} | 36 virtual void UpdateTitleBar() OVERRIDE {} |
| 37 virtual void BookmarkBarStateChanged( | 37 virtual void BookmarkBarStateChanged( |
| 38 BookmarkBar::AnimateChangeType change_type) OVERRIDE {} | 38 BookmarkBar::AnimateChangeType change_type) OVERRIDE {} |
| 39 virtual void UpdateDevTools() OVERRIDE {} | 39 virtual void UpdateDevTools() OVERRIDE {} |
| 40 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE {} | 40 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE {} |
| 41 virtual void SetStarredState(bool is_starred) OVERRIDE {} | 41 virtual void SetStarredState(bool is_starred) OVERRIDE {} |
| 42 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; | 42 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; |
| 43 virtual gfx::Rect GetBounds() const OVERRIDE; | 43 virtual gfx::Rect GetBounds() const OVERRIDE; |
| 44 virtual bool IsMaximized() const OVERRIDE; | 44 virtual bool IsMaximized() const OVERRIDE; |
| 45 virtual bool IsMinimized() const OVERRIDE; | 45 virtual bool IsMinimized() const OVERRIDE; |
| 46 virtual void SetFullscreen(bool fullscreen) OVERRIDE {} | 46 virtual void EnterFullscreen(const GURL& url, |
| 47 bool ask_permission) OVERRIDE {} |
| 48 virtual void ExitFullscreen() OVERRIDE {} |
| 47 virtual bool IsFullscreen() const OVERRIDE; | 49 virtual bool IsFullscreen() const OVERRIDE; |
| 48 virtual bool IsFullscreenBubbleVisible() const OVERRIDE; | 50 virtual bool IsFullscreenBubbleVisible() const OVERRIDE; |
| 49 virtual LocationBar* GetLocationBar() const OVERRIDE; | 51 virtual LocationBar* GetLocationBar() const OVERRIDE; |
| 50 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE {} | 52 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE {} |
| 51 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE {} | 53 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE {} |
| 52 virtual void UpdateToolbar(TabContentsWrapper* contents, | 54 virtual void UpdateToolbar(TabContentsWrapper* contents, |
| 53 bool should_restore_state) OVERRIDE {} | 55 bool should_restore_state) OVERRIDE {} |
| 54 virtual void FocusToolbar() OVERRIDE {} | 56 virtual void FocusToolbar() OVERRIDE {} |
| 55 virtual void FocusAppMenu() OVERRIDE {} | 57 virtual void FocusAppMenu() OVERRIDE {} |
| 56 virtual void FocusBookmarksToolbar() OVERRIDE {} | 58 virtual void FocusBookmarksToolbar() OVERRIDE {} |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 virtual void TabContentsFocused(TabContents* tab_contents) OVERRIDE {} | 95 virtual void TabContentsFocused(TabContents* tab_contents) OVERRIDE {} |
| 94 virtual void ShowPageInfo(Profile* profile, | 96 virtual void ShowPageInfo(Profile* profile, |
| 95 const GURL& url, | 97 const GURL& url, |
| 96 const NavigationEntry::SSLStatus& ssl, | 98 const NavigationEntry::SSLStatus& ssl, |
| 97 bool show_history) OVERRIDE {} | 99 bool show_history) OVERRIDE {} |
| 98 virtual void Cut() OVERRIDE {} | 100 virtual void Cut() OVERRIDE {} |
| 99 virtual void Copy() OVERRIDE {} | 101 virtual void Copy() OVERRIDE {} |
| 100 virtual void Paste() OVERRIDE {} | 102 virtual void Paste() OVERRIDE {} |
| 101 #if defined(OS_MACOSX) | 103 #if defined(OS_MACOSX) |
| 102 virtual void OpenTabpose() OVERRIDE {} | 104 virtual void OpenTabpose() OVERRIDE {} |
| 103 virtual void SetPresentationMode(bool presentation_mode) OVERRIDE {} | 105 virtual void SetPresentationMode(bool presentation_mode, |
| 106 const GURL& url, |
| 107 bool ask_permission) OVERRIDE {} |
| 104 virtual bool InPresentationMode() OVERRIDE; | 108 virtual bool InPresentationMode() OVERRIDE; |
| 105 #endif | 109 #endif |
| 106 | 110 |
| 107 virtual void ShowInstant(TabContentsWrapper* preview_contents) OVERRIDE {} | 111 virtual void ShowInstant(TabContentsWrapper* preview_contents) OVERRIDE {} |
| 108 virtual void HideInstant(bool instant_is_active) OVERRIDE {} | 112 virtual void HideInstant(bool instant_is_active) OVERRIDE {} |
| 109 virtual gfx::Rect GetInstantBounds() OVERRIDE; | 113 virtual gfx::Rect GetInstantBounds() OVERRIDE; |
| 110 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 114 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
| 111 const gfx::Rect& bounds) OVERRIDE; | 115 const gfx::Rect& bounds) OVERRIDE; |
| 112 virtual FindBar* CreateFindBar() OVERRIDE; | 116 virtual FindBar* CreateFindBar() OVERRIDE; |
| 113 virtual void ShowAvatarBubble(TabContents* tab_contents, | 117 virtual void ShowAvatarBubble(TabContents* tab_contents, |
| 114 const gfx::Rect& rect) OVERRIDE {} | 118 const gfx::Rect& rect) OVERRIDE {} |
| 115 | 119 |
| 116 #if defined(OS_CHROMEOS) | 120 #if defined(OS_CHROMEOS) |
| 117 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE {} | 121 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE {} |
| 118 #endif | 122 #endif |
| 119 | 123 |
| 120 protected: | 124 protected: |
| 121 virtual void DestroyBrowser() OVERRIDE {} | 125 virtual void DestroyBrowser() OVERRIDE {} |
| 122 | 126 |
| 123 private: | 127 private: |
| 124 TestLocationBar location_bar_; | 128 TestLocationBar location_bar_; |
| 125 | 129 |
| 126 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); | 130 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); |
| 127 }; | 131 }; |
| 128 | 132 |
| 129 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 133 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |