| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/profiles/avatar_icon_controller.h" | 5 #import "chrome/browser/ui/cocoa/profiles/avatar_icon_controller.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include "base/mac/foundation_util.h" | 9 #include "base/mac/foundation_util.h" |
| 8 #include "base/strings/sys_string_conversions.h" | 10 #include "base/strings/sys_string_conversions.h" |
| 9 #include "chrome/browser/browser_process.h" | 11 #include "chrome/browser/browser_process.h" |
| 10 #include "chrome/browser/profiles/profile.h" | 12 #include "chrome/browser/profiles/profile.h" |
| 11 #include "chrome/browser/profiles/profile_avatar_icon_util.h" | 13 #include "chrome/browser/profiles/profile_avatar_icon_util.h" |
| 12 #include "chrome/browser/profiles/profile_info_cache.h" | 14 #include "chrome/browser/profiles/profile_info_cache.h" |
| 13 #include "chrome/browser/profiles/profile_manager.h" | 15 #include "chrome/browser/profiles/profile_manager.h" |
| 14 #include "chrome/browser/ui/browser.h" | 16 #include "chrome/browser/ui/browser.h" |
| 15 #include "chrome/browser/ui/browser_window.h" | 17 #include "chrome/browser/ui/browser_window.h" |
| 16 #import "chrome/browser/ui/cocoa/browser_window_controller.h" | 18 #import "chrome/browser/ui/cocoa/browser_window_controller.h" |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 NSView* themeFrame = [[[wc window] contentView] superview]; | 237 NSView* themeFrame = [[[wc window] contentView] superview]; |
| 236 if ([themeFrame respondsToSelector:@selector(_tileTitlebarAndRedisplay:)]) | 238 if ([themeFrame respondsToSelector:@selector(_tileTitlebarAndRedisplay:)]) |
| 237 [themeFrame _tileTitlebarAndRedisplay:YES]; | 239 [themeFrame _tileTitlebarAndRedisplay:YES]; |
| 238 | 240 |
| 239 // This needs to be called after the fullscreen button is positioned, because | 241 // This needs to be called after the fullscreen button is positioned, because |
| 240 // TabStripController's rightIndentForControls depends on it. | 242 // TabStripController's rightIndentForControls depends on it. |
| 241 [wc layoutSubviews]; | 243 [wc layoutSubviews]; |
| 242 } | 244 } |
| 243 | 245 |
| 244 @end | 246 @end |
| OLD | NEW |