OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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/common/pref_names.h" | 5 #include "chrome/common/pref_names.h" |
6 | 6 |
7 namespace prefs { | 7 namespace prefs { |
8 | 8 |
9 // *************** PROFILE PREFS *************** | 9 // *************** PROFILE PREFS *************** |
10 // These are attached to the user profile | 10 // These are attached to the user profile |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 // Boolean that is false if we should show window manager decorations. If | 278 // Boolean that is false if we should show window manager decorations. If |
279 // true, we draw a custom chrome frame (thicker title bar and blue border). | 279 // true, we draw a custom chrome frame (thicker title bar and blue border). |
280 const wchar_t kUseCustomChromeFrame[] = L"browser.custom_chrome_frame"; | 280 const wchar_t kUseCustomChromeFrame[] = L"browser.custom_chrome_frame"; |
281 | 281 |
282 // Boolean that indicates whether the infobar explaining that search can be done | 282 // Boolean that indicates whether the infobar explaining that search can be done |
283 // directly from the omnibox should be shown. | 283 // directly from the omnibox should be shown. |
284 const wchar_t kShowOmniboxSearchHint[] = L"browser.show_omnibox_search_hint"; | 284 const wchar_t kShowOmniboxSearchHint[] = L"browser.show_omnibox_search_hint"; |
285 | 285 |
286 // Integer that counts the number of times the promo on the NTP has left to be | 286 // Integer that counts the number of times the promo on the NTP has left to be |
287 // shown; this decrements each time the NTP is shown for the first time | 287 // shown; this decrements each time the NTP is shown for the first time |
288 // in a session. | 288 // in a session. The message line can be closed separately from the promo |
289 const wchar_t kNTPPromoRemaining[] = L"browser.ntp.promo_remaining"; | 289 // image, so we store two separate values for number of remaining views. |
| 290 const wchar_t kNTPPromoLineRemaining[] = L"browser.ntp.promo_line_remaining"; |
| 291 const wchar_t kNTPPromoImageRemaining[] = L"browser.ntp.promo_image_remaining"; |
290 | 292 |
291 // The list of origins which are allowed|denied to show desktop notifications. | 293 // The list of origins which are allowed|denied to show desktop notifications. |
292 const wchar_t kDesktopNotificationAllowedOrigins[] = | 294 const wchar_t kDesktopNotificationAllowedOrigins[] = |
293 L"profile.notification_allowed_sites"; | 295 L"profile.notification_allowed_sites"; |
294 const wchar_t kDesktopNotificationDeniedOrigins[] = | 296 const wchar_t kDesktopNotificationDeniedOrigins[] = |
295 L"profile.notification_denied_sites"; | 297 L"profile.notification_denied_sites"; |
296 | 298 |
297 // *************** LOCAL STATE *************** | 299 // *************** LOCAL STATE *************** |
298 // These are attached to the machine/installation | 300 // These are attached to the machine/installation |
299 | 301 |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
584 // Integer location of the split bar in the browser view. | 586 // Integer location of the split bar in the browser view. |
585 const wchar_t kDevToolsSplitLocation[] = L"devtools.split_location"; | 587 const wchar_t kDevToolsSplitLocation[] = L"devtools.split_location"; |
586 | 588 |
587 // 64-bit integer serialization of the base::Time when the last sync occured. | 589 // 64-bit integer serialization of the base::Time when the last sync occured. |
588 const wchar_t kSyncLastSyncedTime[] = L"sync.last_synced_time"; | 590 const wchar_t kSyncLastSyncedTime[] = L"sync.last_synced_time"; |
589 | 591 |
590 // Boolean specifying whether the user finished setting up sync. | 592 // Boolean specifying whether the user finished setting up sync. |
591 const wchar_t kSyncHasSetupCompleted[] = L"sync.has_setup_completed"; | 593 const wchar_t kSyncHasSetupCompleted[] = L"sync.has_setup_completed"; |
592 | 594 |
593 } // namespace prefs | 595 } // namespace prefs |
OLD | NEW |