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_BROWSER_BROWSER_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_BROWSER_WINDOW_H_ |
6 #define CHROME_BROWSER_BROWSER_WINDOW_H_ | 6 #define CHROME_BROWSER_BROWSER_WINDOW_H_ |
7 | 7 |
8 #include "base/gfx/native_widget_types.h" | 8 #include "base/gfx/native_widget_types.h" |
9 | 9 |
10 class Browser; | 10 class Browser; |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 virtual void SelectedTabToolbarSizeChanged(bool is_animating) = 0; | 74 virtual void SelectedTabToolbarSizeChanged(bool is_animating) = 0; |
75 | 75 |
76 // Inform the frame that the selected tab favicon or title has changed. Some | 76 // Inform the frame that the selected tab favicon or title has changed. Some |
77 // frames may need to refresh their title bar. | 77 // frames may need to refresh their title bar. |
78 virtual void UpdateTitleBar() = 0; | 78 virtual void UpdateTitleBar() = 0; |
79 | 79 |
80 // Inform the frame that the dev tools window for the selected tab has | 80 // Inform the frame that the dev tools window for the selected tab has |
81 // changed. | 81 // changed. |
82 virtual void UpdateDevTools() = 0; | 82 virtual void UpdateDevTools() = 0; |
83 | 83 |
| 84 // Tries to focus docked devtools window (when breakpoint is hit). |
| 85 virtual void FocusDevTools() = 0; |
| 86 |
84 // Update any loading animations running in the window. |should_animate| is | 87 // Update any loading animations running in the window. |should_animate| is |
85 // true if there are tabs loading and the animations should continue, false | 88 // true if there are tabs loading and the animations should continue, false |
86 // if there are no active loads and the animations should end. | 89 // if there are no active loads and the animations should end. |
87 virtual void UpdateLoadingAnimations(bool should_animate) = 0; | 90 virtual void UpdateLoadingAnimations(bool should_animate) = 0; |
88 | 91 |
89 // Sets the starred state for the current tab. | 92 // Sets the starred state for the current tab. |
90 virtual void SetStarredState(bool is_starred) = 0; | 93 virtual void SetStarredState(bool is_starred) = 0; |
91 | 94 |
92 // TODO(beng): RENAME (GetRestoredBounds) | 95 // TODO(beng): RENAME (GetRestoredBounds) |
93 // Returns the nonmaximized bounds of the frame (even if the frame is | 96 // Returns the nonmaximized bounds of the frame (even if the frame is |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 | 250 |
248 // Returns the LocationBarView. | 251 // Returns the LocationBarView. |
249 virtual LocationBarView* GetLocationBarView() const = 0; | 252 virtual LocationBarView* GetLocationBarView() const = 0; |
250 | 253 |
251 // Returns the TabContentsContainer. | 254 // Returns the TabContentsContainer. |
252 virtual views::View* GetTabContentsContainerView() const = 0; | 255 virtual views::View* GetTabContentsContainerView() const = 0; |
253 #endif | 256 #endif |
254 }; | 257 }; |
255 | 258 |
256 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_ | 259 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_ |
OLD | NEW |