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/macros.h" | 8 #include "base/macros.h" |
9 #include "chrome/browser/download/test_download_shelf.h" | 9 #include "chrome/browser/download/test_download_shelf.h" |
10 #include "chrome/browser/ui/browser.h" | 10 #include "chrome/browser/ui/browser.h" |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 GURL GetDestinationURL() const override; | 157 GURL GetDestinationURL() const override; |
158 WindowOpenDisposition GetWindowOpenDisposition() const override; | 158 WindowOpenDisposition GetWindowOpenDisposition() const override; |
159 ui::PageTransition GetPageTransition() const override; | 159 ui::PageTransition GetPageTransition() const override; |
160 void AcceptInput() override {} | 160 void AcceptInput() override {} |
161 void FocusLocation(bool select_all) override {} | 161 void FocusLocation(bool select_all) override {} |
162 void FocusSearch() override {} | 162 void FocusSearch() override {} |
163 void UpdateContentSettingsIcons() override {} | 163 void UpdateContentSettingsIcons() override {} |
164 void UpdateManagePasswordsIconAndBubble() override {} | 164 void UpdateManagePasswordsIconAndBubble() override {} |
165 void UpdateSaveCreditCardIcon() override {} | 165 void UpdateSaveCreditCardIcon() override {} |
166 void UpdateBookmarkStarVisibility() override {} | 166 void UpdateBookmarkStarVisibility() override {} |
| 167 void UpdateZoomViewVisibility() override {} |
167 void UpdateLocationBarVisibility(bool visible, bool animate) override {} | 168 void UpdateLocationBarVisibility(bool visible, bool animate) override {} |
168 void SaveStateToContents(content::WebContents* contents) override {} | 169 void SaveStateToContents(content::WebContents* contents) override {} |
169 void Revert() override {} | 170 void Revert() override {} |
170 const OmniboxView* GetOmniboxView() const override; | 171 const OmniboxView* GetOmniboxView() const override; |
171 OmniboxView* GetOmniboxView() override; | 172 OmniboxView* GetOmniboxView() override; |
172 LocationBarTesting* GetLocationBarForTesting() override; | 173 LocationBarTesting* GetLocationBarForTesting() override; |
173 | 174 |
174 private: | 175 private: |
175 DISALLOW_COPY_AND_ASSIGN(TestLocationBar); | 176 DISALLOW_COPY_AND_ASSIGN(TestLocationBar); |
176 }; | 177 }; |
(...skipping 21 matching lines...) Expand all Loading... |
198 | 199 |
199 namespace chrome { | 200 namespace chrome { |
200 | 201 |
201 // Helper that handle the lifetime of TestBrowserWindow instances. | 202 // Helper that handle the lifetime of TestBrowserWindow instances. |
202 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( | 203 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( |
203 Browser::CreateParams* params); | 204 Browser::CreateParams* params); |
204 | 205 |
205 } // namespace chrome | 206 } // namespace chrome |
206 | 207 |
207 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 208 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
OLD | NEW |