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

Side by Side Diff: ash/system/user/user_card_view.cc

Issue 392013005: [#1] Delete reduntdant 19 header files in ui/gfx (8 of 19 by this) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sorted includes Created 6 years, 5 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 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 #include "ash/system/user/user_card_view.h" 5 #include "ash/system/user/user_card_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <vector> 8 #include <vector>
9 9
10 #include "ash/session/session_state_delegate.h" 10 #include "ash/session/session_state_delegate.h"
11 #include "ash/shell.h" 11 #include "ash/shell.h"
12 #include "ash/system/tray/system_tray_delegate.h" 12 #include "ash/system/tray/system_tray_delegate.h"
13 #include "ash/system/tray/system_tray_notifier.h" 13 #include "ash/system/tray/system_tray_notifier.h"
14 #include "ash/system/tray/tray_constants.h" 14 #include "ash/system/tray/tray_constants.h"
15 #include "ash/system/user/config.h" 15 #include "ash/system/user/config.h"
16 #include "ash/system/user/rounded_image_view.h" 16 #include "ash/system/user/rounded_image_view.h"
17 #include "base/i18n/rtl.h" 17 #include "base/i18n/rtl.h"
18 #include "base/memory/scoped_vector.h" 18 #include "base/memory/scoped_vector.h"
19 #include "base/strings/string16.h" 19 #include "base/strings/string16.h"
20 #include "base/strings/string_util.h" 20 #include "base/strings/string_util.h"
21 #include "base/strings/utf_string_conversions.h" 21 #include "base/strings/utf_string_conversions.h"
22 #include "components/user_manager/user_info.h" 22 #include "components/user_manager/user_info.h"
23 #include "grit/ash_resources.h" 23 #include "grit/ash_resources.h"
24 #include "grit/ash_strings.h" 24 #include "grit/ash_strings.h"
25 #include "ui/base/l10n/l10n_util.h" 25 #include "ui/base/l10n/l10n_util.h"
26 #include "ui/base/resource/resource_bundle.h" 26 #include "ui/base/resource/resource_bundle.h"
27 #include "ui/gfx/insets.h" 27 #include "ui/gfx/geometry/insets.h"
28 #include "ui/gfx/range/range.h" 28 #include "ui/gfx/range/range.h"
29 #include "ui/gfx/rect.h" 29 #include "ui/gfx/rect.h"
30 #include "ui/gfx/render_text.h" 30 #include "ui/gfx/render_text.h"
31 #include "ui/gfx/size.h" 31 #include "ui/gfx/size.h"
32 #include "ui/gfx/text_elider.h" 32 #include "ui/gfx/text_elider.h"
33 #include "ui/gfx/text_utils.h" 33 #include "ui/gfx/text_utils.h"
34 #include "ui/views/border.h" 34 #include "ui/views/border.h"
35 #include "ui/views/controls/link.h" 35 #include "ui/views/controls/link.h"
36 #include "ui/views/controls/link_listener.h" 36 #include "ui/views/controls/link_listener.h"
37 #include "ui/views/layout/box_layout.h" 37 #include "ui/views/layout/box_layout.h"
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 content::BrowserContext* context = 468 content::BrowserContext* context =
469 delegate->GetBrowserContextByIndex(multiprofile_index); 469 delegate->GetBrowserContextByIndex(multiprofile_index);
470 icon->SetImage(delegate->GetUserInfo(context)->GetImage(), 470 icon->SetImage(delegate->GetUserInfo(context)->GetImage(),
471 gfx::Size(kTrayAvatarSize, kTrayAvatarSize)); 471 gfx::Size(kTrayAvatarSize, kTrayAvatarSize));
472 } 472 }
473 return icon; 473 return icon;
474 } 474 }
475 475
476 } // namespace tray 476 } // namespace tray
477 } // namespace ash 477 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698