| 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 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 131 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
| 132 const gfx::Rect& bounds) OVERRIDE; | 132 const gfx::Rect& bounds) OVERRIDE; |
| 133 virtual FindBar* CreateFindBar() OVERRIDE; | 133 virtual FindBar* CreateFindBar() OVERRIDE; |
| 134 virtual web_modal::WebContentsModalDialogHost* | 134 virtual web_modal::WebContentsModalDialogHost* |
| 135 GetWebContentsModalDialogHost() OVERRIDE; | 135 GetWebContentsModalDialogHost() OVERRIDE; |
| 136 virtual void ShowAvatarBubble(content::WebContents* web_contents, | 136 virtual void ShowAvatarBubble(content::WebContents* web_contents, |
| 137 const gfx::Rect& rect) OVERRIDE {} | 137 const gfx::Rect& rect) OVERRIDE {} |
| 138 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE {} | 138 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE {} |
| 139 virtual void ShowPasswordGenerationBubble( | 139 virtual void ShowPasswordGenerationBubble( |
| 140 const gfx::Rect& rect, | 140 const gfx::Rect& rect, |
| 141 const content::PasswordForm& form, | 141 const autofill::PasswordForm& form, |
| 142 autofill::PasswordGenerator* generator) OVERRIDE {} | 142 autofill::PasswordGenerator* generator) OVERRIDE {} |
| 143 virtual int GetRenderViewHeightInsetWithDetachedBookmarkBar() OVERRIDE; | 143 virtual int GetRenderViewHeightInsetWithDetachedBookmarkBar() OVERRIDE; |
| 144 | 144 |
| 145 protected: | 145 protected: |
| 146 virtual void DestroyBrowser() OVERRIDE {} | 146 virtual void DestroyBrowser() OVERRIDE {} |
| 147 | 147 |
| 148 private: | 148 private: |
| 149 TestDownloadShelf download_shelf_; | 149 TestDownloadShelf download_shelf_; |
| 150 TestLocationBar location_bar_; | 150 TestLocationBar location_bar_; |
| 151 | 151 |
| 152 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); | 152 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); |
| 153 }; | 153 }; |
| 154 | 154 |
| 155 namespace chrome { | 155 namespace chrome { |
| 156 | 156 |
| 157 // Helper that handle the lifetime of TestBrowserWindow instances. | 157 // Helper that handle the lifetime of TestBrowserWindow instances. |
| 158 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); | 158 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); |
| 159 | 159 |
| 160 } // namespace chrome | 160 } // namespace chrome |
| 161 | 161 |
| 162 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 162 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |