OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 | 177 |
178 // Returns true if we should show the background page badge. | 178 // Returns true if we should show the background page badge. |
179 bool ShouldShowBackgroundPageBadge(); | 179 bool ShouldShowBackgroundPageBadge(); |
180 | 180 |
181 // Returns true if we should show the warning for incompatible software. | 181 // Returns true if we should show the warning for incompatible software. |
182 bool ShouldShowIncompatibilityWarning(); | 182 bool ShouldShowIncompatibilityWarning(); |
183 | 183 |
184 // Returns the number of pixels above the location bar in non-normal display. | 184 // Returns the number of pixels above the location bar in non-normal display. |
185 int PopupTopSpacing() const; | 185 int PopupTopSpacing() const; |
186 | 186 |
| 187 // Returns true on Windows if the Glass styling is being used. |
| 188 // This implies that the tab strip overlaps a native window frame. |
| 189 bool UsingWindowsGlass() const; |
| 190 |
187 // Loads the images for all the child views. | 191 // Loads the images for all the child views. |
188 void LoadImages(); | 192 void LoadImages(); |
189 | 193 |
190 bool is_display_mode_normal() const { | 194 bool is_display_mode_normal() const { |
191 return display_mode_ == DISPLAYMODE_NORMAL; | 195 return display_mode_ == DISPLAYMODE_NORMAL; |
192 } | 196 } |
193 | 197 |
194 // Shows the critical notification bubble against the wrench menu. | 198 // Shows the critical notification bubble against the wrench menu. |
195 void ShowCriticalNotification(); | 199 void ShowCriticalNotification(); |
196 | 200 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 | 236 |
233 // A list of listeners to call when the menu opens. | 237 // A list of listeners to call when the menu opens. |
234 ObserverList<views::MenuListener> menu_listeners_; | 238 ObserverList<views::MenuListener> menu_listeners_; |
235 | 239 |
236 content::NotificationRegistrar registrar_; | 240 content::NotificationRegistrar registrar_; |
237 | 241 |
238 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); | 242 DISALLOW_IMPLICIT_CONSTRUCTORS(ToolbarView); |
239 }; | 243 }; |
240 | 244 |
241 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ | 245 #endif // CHROME_BROWSER_UI_VIEWS_TOOLBAR_TOOLBAR_VIEW_H_ |
OLD | NEW |