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 {} | |
168 void UpdateLocationBarVisibility(bool visible, bool animate) override {} | 167 void UpdateLocationBarVisibility(bool visible, bool animate) override {} |
169 void SaveStateToContents(content::WebContents* contents) override {} | 168 void SaveStateToContents(content::WebContents* contents) override {} |
170 void Revert() override {} | 169 void Revert() override {} |
171 const OmniboxView* GetOmniboxView() const override; | 170 const OmniboxView* GetOmniboxView() const override; |
172 OmniboxView* GetOmniboxView() override; | 171 OmniboxView* GetOmniboxView() override; |
173 LocationBarTesting* GetLocationBarForTesting() override; | 172 LocationBarTesting* GetLocationBarForTesting() override; |
174 | 173 |
175 private: | 174 private: |
176 DISALLOW_COPY_AND_ASSIGN(TestLocationBar); | 175 DISALLOW_COPY_AND_ASSIGN(TestLocationBar); |
177 }; | 176 }; |
(...skipping 21 matching lines...) Expand all Loading... |
199 | 198 |
200 namespace chrome { | 199 namespace chrome { |
201 | 200 |
202 // Helper that handle the lifetime of TestBrowserWindow instances. | 201 // Helper that handle the lifetime of TestBrowserWindow instances. |
203 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( | 202 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( |
204 Browser::CreateParams* params); | 203 Browser::CreateParams* params); |
205 | 204 |
206 } // namespace chrome | 205 } // namespace chrome |
207 | 206 |
208 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 207 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
OLD | NEW |