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_BROWSER_UI_BROWSER_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
7 | 7 |
8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
9 #include "chrome/browser/lifetime/application_lifetime.h" | 9 #include "chrome/browser/lifetime/application_lifetime.h" |
10 #include "chrome/browser/ui/base_window.h" | 10 #include "chrome/browser/ui/base_window.h" |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
116 virtual void SetDevToolsDockSide(DevToolsDockSide side) = 0; | 116 virtual void SetDevToolsDockSide(DevToolsDockSide side) = 0; |
117 | 117 |
118 // Update any loading animations running in the window. |should_animate| is | 118 // Update any loading animations running in the window. |should_animate| is |
119 // true if there are tabs loading and the animations should continue, false | 119 // true if there are tabs loading and the animations should continue, false |
120 // if there are no active loads and the animations should end. | 120 // if there are no active loads and the animations should end. |
121 virtual void UpdateLoadingAnimations(bool should_animate) = 0; | 121 virtual void UpdateLoadingAnimations(bool should_animate) = 0; |
122 | 122 |
123 // Sets the starred state for the current tab. | 123 // Sets the starred state for the current tab. |
124 virtual void SetStarredState(bool is_starred) = 0; | 124 virtual void SetStarredState(bool is_starred) = 0; |
125 | 125 |
126 #if defined(OS_WIN) | |
127 // Sets the metro pinned state for the current tab. | |
128 virtual void SetMetroPinnedState(bool is_pinned) = 0; | |
sky
2012/07/20 16:46:41
Move this with other Metro methods.
benwells
2012/07/23 08:03:43
It's gone now :)
| |
129 #endif | |
130 | |
126 // Sets the zoom icon state for the current tab. | 131 // Sets the zoom icon state for the current tab. |
127 virtual void SetZoomIconState(ZoomController::ZoomIconState state) = 0; | 132 virtual void SetZoomIconState(ZoomController::ZoomIconState state) = 0; |
128 | 133 |
129 // Sets the zoom icon tooltip zoom percentage for the current tab. | 134 // Sets the zoom icon tooltip zoom percentage for the current tab. |
130 virtual void SetZoomIconTooltipPercent(int zoom_percent) = 0; | 135 virtual void SetZoomIconTooltipPercent(int zoom_percent) = 0; |
131 | 136 |
132 // Show zoom bubble for the current tab. | 137 // Show zoom bubble for the current tab. |
133 virtual void ShowZoomBubble(int zoom_percent) = 0; | 138 virtual void ShowZoomBubble(int zoom_percent) = 0; |
134 | 139 |
135 // Accessors for fullscreen mode state. | 140 // Accessors for fullscreen mode state. |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
416 | 421 |
417 // Returns the ToolbarView. | 422 // Returns the ToolbarView. |
418 virtual ToolbarView* GetToolbarView() const = 0; | 423 virtual ToolbarView* GetToolbarView() const = 0; |
419 #endif | 424 #endif |
420 | 425 |
421 protected: | 426 protected: |
422 virtual ~BrowserWindowTesting() {} | 427 virtual ~BrowserWindowTesting() {} |
423 }; | 428 }; |
424 | 429 |
425 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 430 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
OLD | NEW |