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 #import "chrome/browser/ui/cocoa/framed_browser_window.h" | 5 #import "chrome/browser/ui/cocoa/framed_browser_window.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/logging.h" | 9 #include "base/logging.h" |
8 #include "base/mac/sdk_forward_declarations.h" | 10 #include "base/mac/sdk_forward_declarations.h" |
9 #include "chrome/browser/global_keyboard_shortcuts_mac.h" | 11 #include "chrome/browser/global_keyboard_shortcuts_mac.h" |
10 #include "chrome/browser/profiles/profile_avatar_icon_util.h" | 12 #include "chrome/browser/profiles/profile_avatar_icon_util.h" |
11 #include "chrome/browser/themes/theme_properties.h" | 13 #include "chrome/browser/themes/theme_properties.h" |
12 #include "chrome/browser/themes/theme_service.h" | 14 #include "chrome/browser/themes/theme_service.h" |
13 #import "chrome/browser/ui/cocoa/browser_window_controller.h" | 15 #import "chrome/browser/ui/cocoa/browser_window_controller.h" |
14 #import "chrome/browser/ui/cocoa/browser_window_utils.h" | 16 #import "chrome/browser/ui/cocoa/browser_window_utils.h" |
15 #import "chrome/browser/ui/cocoa/tabs/tab_strip_controller.h" | 17 #import "chrome/browser/ui/cocoa/tabs/tab_strip_controller.h" |
16 #import "chrome/browser/ui/cocoa/themed_window.h" | 18 #import "chrome/browser/ui/cocoa/themed_window.h" |
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 ThemedWindowStyle windowStyle = [self themedWindowStyle]; | 350 ThemedWindowStyle windowStyle = [self themedWindowStyle]; |
349 BOOL incognito = windowStyle & THEMED_INCOGNITO; | 351 BOOL incognito = windowStyle & THEMED_INCOGNITO; |
350 | 352 |
351 if (incognito) | 353 if (incognito) |
352 return [NSColor whiteColor]; | 354 return [NSColor whiteColor]; |
353 else | 355 else |
354 return [NSColor windowFrameTextColor]; | 356 return [NSColor windowFrameTextColor]; |
355 } | 357 } |
356 | 358 |
357 @end | 359 @end |
OLD | NEW |