| 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 void FocusLocation(bool select_all) override {} | 167 void FocusLocation(bool select_all) override {} |
| 168 void FocusSearch() override {} | 168 void FocusSearch() override {} |
| 169 void UpdateContentSettingsIcons() override {} | 169 void UpdateContentSettingsIcons() override {} |
| 170 void UpdateManagePasswordsIconAndBubble() override {} | 170 void UpdateManagePasswordsIconAndBubble() override {} |
| 171 void UpdatePageActions() override {} | 171 void UpdatePageActions() override {} |
| 172 void UpdateBookmarkStarVisibility() override {} | 172 void UpdateBookmarkStarVisibility() override {} |
| 173 void UpdateLocationBarVisibility(bool visible, bool animate) override {} | 173 void UpdateLocationBarVisibility(bool visible, bool animate) override {} |
| 174 bool ShowPageActionPopup(const extensions::Extension* extension, | 174 bool ShowPageActionPopup(const extensions::Extension* extension, |
| 175 bool grant_active_tab) override; | 175 bool grant_active_tab) override; |
| 176 void UpdateOpenPDFInReaderPrompt() override {} | 176 void UpdateOpenPDFInReaderPrompt() override {} |
| 177 void UpdateGeneratedCreditCardView() override {} | |
| 178 void SaveStateToContents(content::WebContents* contents) override {} | 177 void SaveStateToContents(content::WebContents* contents) override {} |
| 179 void Revert() override {} | 178 void Revert() override {} |
| 180 const OmniboxView* GetOmniboxView() const override; | 179 const OmniboxView* GetOmniboxView() const override; |
| 181 OmniboxView* GetOmniboxView() override; | 180 OmniboxView* GetOmniboxView() override; |
| 182 LocationBarTesting* GetLocationBarForTesting() override; | 181 LocationBarTesting* GetLocationBarForTesting() override; |
| 183 | 182 |
| 184 private: | 183 private: |
| 185 DISALLOW_COPY_AND_ASSIGN(TestLocationBar); | 184 DISALLOW_COPY_AND_ASSIGN(TestLocationBar); |
| 186 }; | 185 }; |
| 187 | 186 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 208 | 207 |
| 209 namespace chrome { | 208 namespace chrome { |
| 210 | 209 |
| 211 // Helper that handle the lifetime of TestBrowserWindow instances. | 210 // Helper that handle the lifetime of TestBrowserWindow instances. |
| 212 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams( | 211 scoped_ptr<Browser> CreateBrowserWithTestWindowForParams( |
| 213 Browser::CreateParams* params); | 212 Browser::CreateParams* params); |
| 214 | 213 |
| 215 } // namespace chrome | 214 } // namespace chrome |
| 216 | 215 |
| 217 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 216 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |