| 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 private: | 160 private: |
| 161 class TestLocationBar : public LocationBar { | 161 class TestLocationBar : public LocationBar { |
| 162 public: | 162 public: |
| 163 TestLocationBar() : LocationBar(NULL) {} | 163 TestLocationBar() : LocationBar(NULL) {} |
| 164 virtual ~TestLocationBar() {} | 164 virtual ~TestLocationBar() {} |
| 165 | 165 |
| 166 // LocationBar: | 166 // LocationBar: |
| 167 virtual void ShowFirstRunBubble() OVERRIDE {} | 167 virtual void ShowFirstRunBubble() OVERRIDE {} |
| 168 virtual GURL GetDestinationURL() const OVERRIDE; | 168 virtual GURL GetDestinationURL() const OVERRIDE; |
| 169 virtual WindowOpenDisposition GetWindowOpenDisposition() const OVERRIDE; | 169 virtual WindowOpenDisposition GetWindowOpenDisposition() const OVERRIDE; |
| 170 virtual content::PageTransition GetPageTransition() const OVERRIDE; | 170 virtual ui::PageTransition GetPageTransition() const OVERRIDE; |
| 171 virtual void AcceptInput() OVERRIDE {} | 171 virtual void AcceptInput() OVERRIDE {} |
| 172 virtual void FocusLocation(bool select_all) OVERRIDE {} | 172 virtual void FocusLocation(bool select_all) OVERRIDE {} |
| 173 virtual void FocusSearch() OVERRIDE {} | 173 virtual void FocusSearch() OVERRIDE {} |
| 174 virtual void UpdateContentSettingsIcons() OVERRIDE {} | 174 virtual void UpdateContentSettingsIcons() OVERRIDE {} |
| 175 virtual void UpdateManagePasswordsIconAndBubble() OVERRIDE {} | 175 virtual void UpdateManagePasswordsIconAndBubble() OVERRIDE {} |
| 176 virtual void UpdatePageActions() OVERRIDE {} | 176 virtual void UpdatePageActions() OVERRIDE {} |
| 177 virtual void InvalidatePageActions() OVERRIDE {} | 177 virtual void InvalidatePageActions() OVERRIDE {} |
| 178 virtual void UpdateBookmarkStarVisibility() OVERRIDE {} | 178 virtual void UpdateBookmarkStarVisibility() OVERRIDE {} |
| 179 virtual bool ShowPageActionPopup(const extensions::Extension* extension, | 179 virtual bool ShowPageActionPopup(const extensions::Extension* extension, |
| 180 bool grant_active_tab) OVERRIDE; | 180 bool grant_active_tab) OVERRIDE; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 197 }; | 197 }; |
| 198 | 198 |
| 199 namespace chrome { | 199 namespace chrome { |
| 200 | 200 |
| 201 // Helper that handle the lifetime of TestBrowserWindow instances. | 201 // Helper that handle the lifetime of TestBrowserWindow instances. |
| 202 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); | 202 Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); |
| 203 | 203 |
| 204 } // namespace chrome | 204 } // namespace chrome |
| 205 | 205 |
| 206 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ | 206 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ |
| OLD | NEW |