| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_PROFILE_H_ | 7 #ifndef CHROME_BROWSER_PROFILE_H_ |
| 8 #define CHROME_BROWSER_PROFILE_H_ | 8 #define CHROME_BROWSER_PROFILE_H_ |
| 9 #pragma once | 9 #pragma once |
| 10 | 10 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 class ChromeURLRequestContextGetter; | 44 class ChromeURLRequestContextGetter; |
| 45 class DesktopNotificationService; | 45 class DesktopNotificationService; |
| 46 class DownloadManager; | 46 class DownloadManager; |
| 47 class Extension; | 47 class Extension; |
| 48 class ExtensionDevToolsManager; | 48 class ExtensionDevToolsManager; |
| 49 class ExtensionProcessManager; | 49 class ExtensionProcessManager; |
| 50 class ExtensionMessageService; | 50 class ExtensionMessageService; |
| 51 class ExtensionsService; | 51 class ExtensionsService; |
| 52 class FaviconService; | 52 class FaviconService; |
| 53 class FilePath; | 53 class FilePath; |
| 54 class FileSystemHostContext; |
| 54 class FindBarState; | 55 class FindBarState; |
| 55 class GeolocationContentSettingsMap; | 56 class GeolocationContentSettingsMap; |
| 56 class GeolocationPermissionContext; | 57 class GeolocationPermissionContext; |
| 57 class HistoryService; | 58 class HistoryService; |
| 58 class HostContentSettingsMap; | 59 class HostContentSettingsMap; |
| 59 class HostZoomMap; | 60 class HostZoomMap; |
| 60 class NavigationController; | 61 class NavigationController; |
| 61 class NTPResourceCache; | 62 class NTPResourceCache; |
| 62 class PasswordStore; | 63 class PasswordStore; |
| 63 class PersonalDataManager; | 64 class PersonalDataManager; |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 // profile. | 271 // profile. |
| 271 virtual TemplateURLFetcher* GetTemplateURLFetcher() = 0; | 272 virtual TemplateURLFetcher* GetTemplateURLFetcher() = 0; |
| 272 | 273 |
| 273 // Returns the DownloadManager associated with this profile. | 274 // Returns the DownloadManager associated with this profile. |
| 274 virtual DownloadManager* GetDownloadManager() = 0; | 275 virtual DownloadManager* GetDownloadManager() = 0; |
| 275 virtual bool HasCreatedDownloadManager() const = 0; | 276 virtual bool HasCreatedDownloadManager() const = 0; |
| 276 | 277 |
| 277 // Returns the PersonalDataManager associated with this profile. | 278 // Returns the PersonalDataManager associated with this profile. |
| 278 virtual PersonalDataManager* GetPersonalDataManager() = 0; | 279 virtual PersonalDataManager* GetPersonalDataManager() = 0; |
| 279 | 280 |
| 281 // Returns the HTML5 FileSystemHostContext assigned to this profile. |
| 282 virtual FileSystemHostContext* GetFileSystemHostContext() = 0; |
| 283 |
| 280 // Init our themes system. | 284 // Init our themes system. |
| 281 virtual void InitThemes() = 0; | 285 virtual void InitThemes() = 0; |
| 282 | 286 |
| 283 // Set the theme to the specified extension. | 287 // Set the theme to the specified extension. |
| 284 virtual void SetTheme(Extension* extension) = 0; | 288 virtual void SetTheme(Extension* extension) = 0; |
| 285 | 289 |
| 286 // Set the theme to the machine's native theme. | 290 // Set the theme to the machine's native theme. |
| 287 virtual void SetNativeTheme() = 0; | 291 virtual void SetNativeTheme() = 0; |
| 288 | 292 |
| 289 // Clear the theme and reset it to default. | 293 // Clear the theme and reset it to default. |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 485 bool restored_last_session_; | 489 bool restored_last_session_; |
| 486 | 490 |
| 487 // Accessibility events will only be propagated when the pause | 491 // Accessibility events will only be propagated when the pause |
| 488 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents | 492 // level is zero. PauseAccessibilityEvents and ResumeAccessibilityEvents |
| 489 // increment and decrement the level, respectively, rather than set it to | 493 // increment and decrement the level, respectively, rather than set it to |
| 490 // true or false, so that calls can be nested. | 494 // true or false, so that calls can be nested. |
| 491 int accessibility_pause_level_; | 495 int accessibility_pause_level_; |
| 492 }; | 496 }; |
| 493 | 497 |
| 494 #endif // CHROME_BROWSER_PROFILE_H_ | 498 #endif // CHROME_BROWSER_PROFILE_H_ |
| OLD | NEW |