| 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/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 void FocusLocation(bool select_all) override {} | 162 void FocusLocation(bool select_all) override {} |
| 163 void FocusSearch() override {} | 163 void FocusSearch() override {} |
| 164 void UpdateContentSettingsIcons() override {} | 164 void UpdateContentSettingsIcons() override {} |
| 165 void UpdateManagePasswordsIconAndBubble() override {} | 165 void UpdateManagePasswordsIconAndBubble() override {} |
| 166 void UpdateSaveCreditCardIcon() override {} | 166 void UpdateSaveCreditCardIcon() override {} |
| 167 void UpdatePageActions() override {} | 167 void UpdatePageActions() override {} |
| 168 void UpdateBookmarkStarVisibility() override {} | 168 void UpdateBookmarkStarVisibility() override {} |
| 169 void UpdateLocationBarVisibility(bool visible, bool animate) override {} | 169 void UpdateLocationBarVisibility(bool visible, bool animate) override {} |
| 170 bool ShowPageActionPopup(const extensions::Extension* extension, | 170 bool ShowPageActionPopup(const extensions::Extension* extension, |
| 171 bool grant_active_tab) override; | 171 bool grant_active_tab) override; |
| 172 void UpdateOpenPDFInReaderPrompt() override {} | |
| 173 void SaveStateToContents(content::WebContents* contents) override {} | 172 void SaveStateToContents(content::WebContents* contents) override {} |
| 174 void Revert() override {} | 173 void Revert() override {} |
| 175 const OmniboxView* GetOmniboxView() const override; | 174 const OmniboxView* GetOmniboxView() const override; |
| 176 OmniboxView* GetOmniboxView() override; | 175 OmniboxView* GetOmniboxView() override; |
| 177 LocationBarTesting* GetLocationBarForTesting() override; | 176 LocationBarTesting* GetLocationBarForTesting() override; |
| 178 | 177 |
| 179 private: | 178 private: |
| 180 DISALLOW_COPY_AND_ASSIGN(TestLocationBar); | 179 DISALLOW_COPY_AND_ASSIGN(TestLocationBar); |
| 181 }; | 180 }; |
| 182 | 181 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 203 | 202 |
| 204 namespace chrome { | 203 namespace chrome { |
| 205 | 204 |
| 206 // Helper that handle the lifetime of TestBrowserWindow instances. | 205 // Helper that handle the lifetime of TestBrowserWindow instances. |
| 207 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( | 206 std::unique_ptr<Browser> CreateBrowserWithTestWindowForParams( |
| 208 Browser::CreateParams* params); | 207 Browser::CreateParams* params); |
| 209 | 208 |
| 210 } // namespace chrome | 209 } // namespace chrome |
| 211 | 210 |
| 212 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 211 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |