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 #include "chrome/browser/views/options/content_page_view.h" | 5 #include "chrome/browser/views/options/content_page_view.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 #include <shlobj.h> | 8 #include <shlobj.h> |
9 #include <vsstyle.h> | 9 #include <vsstyle.h> |
10 #include <vssym32.h> | 10 #include <vssym32.h> |
11 | 11 |
12 #include "app/l10n_util.h" | 12 #include "app/l10n_util.h" |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "base/string_util.h" | 14 #include "base/string_util.h" |
15 #include "chrome/browser/autofill/autofill_dialog.h" | 15 #include "chrome/browser/autofill/autofill_dialog.h" |
16 #include "chrome/browser/autofill/personal_data_manager.h" | 16 #include "chrome/browser/autofill/personal_data_manager.h" |
17 #include "chrome/browser/browser_list.h" | 17 #include "chrome/browser/browser_list.h" |
18 #include "chrome/browser/browser_process.h" | |
19 #include "chrome/browser/browser_window.h" | 18 #include "chrome/browser/browser_window.h" |
20 #include "chrome/browser/importer/importer_data_types.h" | 19 #include "chrome/browser/importer/importer_data_types.h" |
21 #include "chrome/browser/profiles/profile.h" | 20 #include "chrome/browser/profiles/profile.h" |
22 #include "chrome/browser/sync/sync_ui_util.h" | 21 #include "chrome/browser/sync/sync_ui_util.h" |
23 #include "chrome/browser/sync/sync_setup_wizard.h" | 22 #include "chrome/browser/sync/sync_setup_wizard.h" |
24 #include "chrome/browser/ui/browser.h" | 23 #include "chrome/browser/ui/browser.h" |
25 #include "chrome/browser/views/importer_view.h" | 24 #include "chrome/browser/views/importer_view.h" |
26 #include "chrome/browser/views/options/managed_prefs_banner_view.h" | 25 #include "chrome/browser/views/options/managed_prefs_banner_view.h" |
27 #include "chrome/browser/views/options/options_group_view.h" | 26 #include "chrome/browser/views/options/options_group_view.h" |
28 #include "chrome/browser/views/options/passwords_exceptions_window_view.h" | 27 #include "chrome/browser/views/options/passwords_exceptions_window_view.h" |
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
487 sync_action_link_->SetEnabled(!managed); | 486 sync_action_link_->SetEnabled(!managed); |
488 | 487 |
489 if (status_has_error) { | 488 if (status_has_error) { |
490 sync_status_label_->set_background(CreateErrorBackground()); | 489 sync_status_label_->set_background(CreateErrorBackground()); |
491 sync_action_link_->set_background(CreateErrorBackground()); | 490 sync_action_link_->set_background(CreateErrorBackground()); |
492 } else { | 491 } else { |
493 sync_status_label_->set_background(NULL); | 492 sync_status_label_->set_background(NULL); |
494 sync_action_link_->set_background(NULL); | 493 sync_action_link_->set_background(NULL); |
495 } | 494 } |
496 } | 495 } |
OLD | NEW |