OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_TEST_BROWSER_WINDOW_H_ | 5 #ifndef CHROME_TEST_TEST_BROWSER_WINDOW_H_ |
6 #define CHROME_TEST_TEST_BROWSER_WINDOW_H_ | 6 #define CHROME_TEST_TEST_BROWSER_WINDOW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/browser.h" | 9 #include "chrome/browser/browser.h" |
10 #include "chrome/browser/browser_window.h" | 10 #include "chrome/browser/browser_window.h" |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 virtual void TabContentsFocused(TabContents* tab_contents) {} | 96 virtual void TabContentsFocused(TabContents* tab_contents) {} |
97 virtual void ShowPageInfo(Profile* profile, | 97 virtual void ShowPageInfo(Profile* profile, |
98 const GURL& url, | 98 const GURL& url, |
99 const NavigationEntry::SSLStatus& ssl, | 99 const NavigationEntry::SSLStatus& ssl, |
100 bool show_history) {} | 100 bool show_history) {} |
101 virtual void Cut() {} | 101 virtual void Cut() {} |
102 virtual void Copy() {} | 102 virtual void Copy() {} |
103 virtual void Paste() {} | 103 virtual void Paste() {} |
104 virtual void ToggleTabStripMode() {} | 104 virtual void ToggleTabStripMode() {} |
105 virtual void OpenTabpose() {} | 105 virtual void OpenTabpose() {} |
| 106 virtual void PrepareForInstant() {} |
106 virtual void ShowInstant(TabContents* preview_contents) {} | 107 virtual void ShowInstant(TabContents* preview_contents) {} |
107 virtual void HideInstant() {} | 108 virtual void HideInstant() {} |
108 virtual gfx::Rect GetInstantBounds() { return gfx::Rect(); } | 109 virtual gfx::Rect GetInstantBounds() { return gfx::Rect(); } |
109 | 110 |
110 protected: | 111 protected: |
111 virtual void DestroyBrowser() {} | 112 virtual void DestroyBrowser() {} |
112 | 113 |
113 private: | 114 private: |
114 TestLocationBar location_bar_; | 115 TestLocationBar location_bar_; |
115 | 116 |
116 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); | 117 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); |
117 }; | 118 }; |
118 | 119 |
119 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ | 120 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ |
OLD | NEW |