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

Side by Side Diff: chrome/browser/ui/views/profiles/profile_chooser_view.cc

Issue 1236863006: Generated header files apparently require hard_dependency (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: geo Created 5 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
« no previous file with comments | « no previous file | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "chrome/browser/ui/views/profiles/profile_chooser_view.h" 5 #include "chrome/browser/ui/views/profiles/profile_chooser_view.h"
6 6
7 #include "base/prefs/pref_service.h" 7 #include "base/prefs/pref_service.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/lifetime/application_lifetime.h" 10 #include "chrome/browser/lifetime/application_lifetime.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "third_party/skia/include/core/SkColor.h" 43 #include "third_party/skia/include/core/SkColor.h"
44 #include "ui/base/l10n/l10n_util.h" 44 #include "ui/base/l10n/l10n_util.h"
45 #include "ui/base/resource/resource_bundle.h" 45 #include "ui/base/resource/resource_bundle.h"
46 #include "ui/compositor/clip_transform_recorder.h" 46 #include "ui/compositor/clip_transform_recorder.h"
47 #include "ui/gfx/canvas.h" 47 #include "ui/gfx/canvas.h"
48 #include "ui/gfx/image/image.h" 48 #include "ui/gfx/image/image.h"
49 #include "ui/gfx/image/image_skia.h" 49 #include "ui/gfx/image/image_skia.h"
50 #include "ui/gfx/path.h" 50 #include "ui/gfx/path.h"
51 #include "ui/gfx/skia_util.h" 51 #include "ui/gfx/skia_util.h"
52 #include "ui/gfx/text_elider.h" 52 #include "ui/gfx/text_elider.h"
53 #include "ui/gfx/vector_icons_public.h"
53 #include "ui/native_theme/native_theme.h" 54 #include "ui/native_theme/native_theme.h"
54 #include "ui/views/controls/button/blue_button.h" 55 #include "ui/views/controls/button/blue_button.h"
55 #include "ui/views/controls/button/image_button.h" 56 #include "ui/views/controls/button/image_button.h"
56 #include "ui/views/controls/button/label_button.h" 57 #include "ui/views/controls/button/label_button.h"
57 #include "ui/views/controls/button/label_button_border.h" 58 #include "ui/views/controls/button/label_button_border.h"
58 #include "ui/views/controls/button/menu_button.h" 59 #include "ui/views/controls/button/menu_button.h"
59 #include "ui/views/controls/label.h" 60 #include "ui/views/controls/label.h"
60 #include "ui/views/controls/link.h" 61 #include "ui/views/controls/link.h"
61 #include "ui/views/controls/separator.h" 62 #include "ui/views/controls/separator.h"
62 #include "ui/views/controls/styled_label.h" 63 #include "ui/views/controls/styled_label.h"
(...skipping 1685 matching lines...) Expand 10 before | Expand all | Expand 10 after
1748 IncognitoModePrefs::GetAvailability(browser_->profile()->GetPrefs()) != 1749 IncognitoModePrefs::GetAvailability(browser_->profile()->GetPrefs()) !=
1749 IncognitoModePrefs::DISABLED; 1750 IncognitoModePrefs::DISABLED;
1750 return incognito_available && !browser_->profile()->IsGuestSession(); 1751 return incognito_available && !browser_->profile()->IsGuestSession();
1751 } 1752 }
1752 1753
1753 void ProfileChooserView::PostActionPerformed( 1754 void ProfileChooserView::PostActionPerformed(
1754 ProfileMetrics::ProfileDesktopMenu action_performed) { 1755 ProfileMetrics::ProfileDesktopMenu action_performed) {
1755 ProfileMetrics::LogProfileDesktopMenu(action_performed, gaia_service_type_); 1756 ProfileMetrics::LogProfileDesktopMenu(action_performed, gaia_service_type_);
1756 gaia_service_type_ = signin::GAIA_SERVICE_TYPE_NONE; 1757 gaia_service_type_ = signin::GAIA_SERVICE_TYPE_NONE;
1757 } 1758 }
OLDNEW
« no previous file with comments | « no previous file | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698