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

Side by Side Diff: chrome/browser/profiles/profile.h

Issue 2697513008: Linux Aura: Use Aura theme on all windows when 'Use Classic theme' is used (Closed)
Patch Set: Created 3 years, 10 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 // This class gathers state related to a single user profile. 5 // This class gathers state related to a single user profile.
6 6
7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_H_ 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_H_
8 #define CHROME_BROWSER_PROFILES_PROFILE_H_ 8 #define CHROME_BROWSER_PROFILES_PROFILE_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 virtual ~Delegate(); 93 virtual ~Delegate();
94 94
95 // Called when creation of the profile is finished. 95 // Called when creation of the profile is finished.
96 virtual void OnProfileCreated(Profile* profile, 96 virtual void OnProfileCreated(Profile* profile,
97 bool success, 97 bool success,
98 bool is_new_profile) = 0; 98 bool is_new_profile) = 0;
99 }; 99 };
100 100
101 // Key used to bind profile to the widget with which it is associated. 101 // Key used to bind profile to the widget with which it is associated.
102 static const char kProfileKey[]; 102 static const char kProfileKey[];
103 // Key used to bind an original (non-incognito) profile to the
104 // widget with which it is associated. Only used on Linux for
105 // determining if windows should use the system theme.
106 static const char kThemeProfileKey[];
103 // Value representing no hosted domain in the kProfileHostedDomain preference. 107 // Value representing no hosted domain in the kProfileHostedDomain preference.
104 static const char kNoHostedDomainFound[]; 108 static const char kNoHostedDomainFound[];
105 109
106 Profile(); 110 Profile();
107 ~Profile() override; 111 ~Profile() override;
108 112
109 // Profile prefs are registered as soon as the prefs are loaded for the first 113 // Profile prefs are registered as soon as the prefs are loaded for the first
110 // time. 114 // time.
111 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); 115 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
112 116
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 362
359 DISALLOW_COPY_AND_ASSIGN(Profile); 363 DISALLOW_COPY_AND_ASSIGN(Profile);
360 }; 364 };
361 365
362 // The comparator for profile pointers as key in a map. 366 // The comparator for profile pointers as key in a map.
363 struct ProfileCompare { 367 struct ProfileCompare {
364 bool operator()(Profile* a, Profile* b) const; 368 bool operator()(Profile* a, Profile* b) const;
365 }; 369 };
366 370
367 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ 371 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/profiles/profile.cc » ('j') | chrome/browser/ui/views/chrome_views_delegate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698