Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(991)

Side by Side Diff: chrome/browser/ui/views/frame/browser_non_client_frame_view.cc

Issue 1545153002: Switch to standard integer types in chrome/browser/ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" 5 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h"
6 6
7 #include "build/build_config.h"
7 #include "chrome/browser/browser_process.h" 8 #include "chrome/browser/browser_process.h"
8 #include "chrome/browser/profiles/avatar_menu.h" 9 #include "chrome/browser/profiles/avatar_menu.h"
9 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/profiles/profile_avatar_icon_util.h" 11 #include "chrome/browser/profiles/profile_avatar_icon_util.h"
11 #include "chrome/browser/profiles/profile_info_cache.h" 12 #include "chrome/browser/profiles/profile_info_cache.h"
12 #include "chrome/browser/profiles/profile_manager.h" 13 #include "chrome/browser/profiles/profile_manager.h"
13 #include "chrome/browser/profiles/profiles_state.h" 14 #include "chrome/browser/profiles/profiles_state.h"
14 #include "chrome/browser/themes/theme_properties.h" 15 #include "chrome/browser/themes/theme_properties.h"
15 #include "chrome/browser/ui/view_ids.h" 16 #include "chrome/browser/ui/view_ids.h"
16 #include "chrome/browser/ui/views/frame/browser_view.h" 17 #include "chrome/browser/ui/views/frame/browser_view.h"
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 const ProfileInfoCache& cache = 323 const ProfileInfoCache& cache =
323 g_browser_process->profile_manager()->GetProfileInfoCache(); 324 g_browser_process->profile_manager()->GetProfileInfoCache();
324 show_decoration = show_decoration && cache.GetNumberOfProfiles() > 1; 325 show_decoration = show_decoration && cache.GetNumberOfProfiles() > 1;
325 } 326 }
326 chrome::DrawTaskbarDecoration(frame_->GetNativeWindow(), 327 chrome::DrawTaskbarDecoration(frame_->GetNativeWindow(),
327 show_decoration 328 show_decoration
328 ? (taskbar_badge_avatar.IsEmpty() ? &avatar : &taskbar_badge_avatar) 329 ? (taskbar_badge_avatar.IsEmpty() ? &avatar : &taskbar_badge_avatar)
329 : nullptr); 330 : nullptr);
330 } 331 }
331 } 332 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698