OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 | 7 |
8 #include "chrome/browser/browser.h" | 8 #include "chrome/browser/browser.h" |
9 #include "chrome/browser/browser_window.h" | 9 #include "chrome/browser/browser_window.h" |
10 #include "chrome/browser/views/tabs/tab_strip.h" | 10 #include "chrome/browser/views/tabs/tab_strip.h" |
(...skipping 16 matching lines...) Loading... |
27 virtual void Close() {} | 27 virtual void Close() {} |
28 virtual void Activate() {} | 28 virtual void Activate() {} |
29 virtual bool IsActive() const { return false; } | 29 virtual bool IsActive() const { return false; } |
30 virtual void FlashFrame() {} | 30 virtual void FlashFrame() {} |
31 virtual gfx::NativeWindow GetNativeHandle() { return NULL; } | 31 virtual gfx::NativeWindow GetNativeHandle() { return NULL; } |
32 virtual BrowserWindowTesting* GetBrowserWindowTesting() { return NULL; } | 32 virtual BrowserWindowTesting* GetBrowserWindowTesting() { return NULL; } |
33 virtual StatusBubble* GetStatusBubble() { return NULL; } | 33 virtual StatusBubble* GetStatusBubble() { return NULL; } |
34 virtual void SelectedTabToolbarSizeChanged(bool is_animating) {} | 34 virtual void SelectedTabToolbarSizeChanged(bool is_animating) {} |
35 virtual void UpdateTitleBar() {} | 35 virtual void UpdateTitleBar() {} |
36 virtual void UpdateDevTools() {} | 36 virtual void UpdateDevTools() {} |
| 37 virtual void FocusDevTools() {} |
37 virtual void UpdateLoadingAnimations(bool should_animate) {} | 38 virtual void UpdateLoadingAnimations(bool should_animate) {} |
38 virtual void SetStarredState(bool is_starred) {} | 39 virtual void SetStarredState(bool is_starred) {} |
39 virtual gfx::Rect GetNormalBounds() const { return gfx::Rect(); } | 40 virtual gfx::Rect GetNormalBounds() const { return gfx::Rect(); } |
40 virtual bool IsMaximized() const { return false; } | 41 virtual bool IsMaximized() const { return false; } |
41 virtual void SetFullscreen(bool fullscreen) {} | 42 virtual void SetFullscreen(bool fullscreen) {} |
42 virtual bool IsFullscreen() const { return false; } | 43 virtual bool IsFullscreen() const { return false; } |
43 virtual LocationBar* GetLocationBar() const { | 44 virtual LocationBar* GetLocationBar() const { |
44 return const_cast<TestLocationBar*>(&location_bar_); | 45 return const_cast<TestLocationBar*>(&location_bar_); |
45 } | 46 } |
46 virtual void SetFocusToLocationBar() {} | 47 virtual void SetFocusToLocationBar() {} |
(...skipping 31 matching lines...) Loading... |
78 | 79 |
79 private: | 80 private: |
80 TabStrip tab_strip_; | 81 TabStrip tab_strip_; |
81 | 82 |
82 TestLocationBar location_bar_; | 83 TestLocationBar location_bar_; |
83 | 84 |
84 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); | 85 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); |
85 }; | 86 }; |
86 | 87 |
87 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ | 88 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ |
OLD | NEW |