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/gfx/canvas.h" | |
13 #include "app/l10n_util.h" | 12 #include "app/l10n_util.h" |
14 #include "app/resource_bundle.h" | 13 #include "app/resource_bundle.h" |
15 #include "chrome/browser/autofill/autofill_dialog.h" | 14 #include "chrome/browser/autofill/autofill_dialog.h" |
16 #include "chrome/browser/autofill/personal_data_manager.h" | 15 #include "chrome/browser/autofill/personal_data_manager.h" |
17 #include "chrome/browser/browser.h" | 16 #include "chrome/browser/browser.h" |
18 #include "chrome/browser/browser_list.h" | 17 #include "chrome/browser/browser_list.h" |
19 #include "chrome/browser/browser_process.h" | 18 #include "chrome/browser/browser_process.h" |
20 #include "chrome/browser/browser_window.h" | 19 #include "chrome/browser/browser_window.h" |
21 #include "chrome/browser/importer/importer_data_types.h" | 20 #include "chrome/browser/importer/importer_data_types.h" |
22 #include "chrome/browser/profile.h" | 21 #include "chrome/browser/profile.h" |
23 #include "chrome/browser/sync/sync_ui_util.h" | 22 #include "chrome/browser/sync/sync_ui_util.h" |
24 #include "chrome/browser/views/importer_view.h" | 23 #include "chrome/browser/views/importer_view.h" |
25 #include "chrome/browser/views/options/options_group_view.h" | 24 #include "chrome/browser/views/options/options_group_view.h" |
26 #include "chrome/browser/views/options/passwords_exceptions_window_view.h" | 25 #include "chrome/browser/views/options/passwords_exceptions_window_view.h" |
27 #include "chrome/common/pref_names.h" | 26 #include "chrome/common/pref_names.h" |
| 27 #include "gfx/canvas.h" |
28 #include "gfx/native_theme_win.h" | 28 #include "gfx/native_theme_win.h" |
29 #include "grit/generated_resources.h" | 29 #include "grit/generated_resources.h" |
30 #include "grit/locale_settings.h" | 30 #include "grit/locale_settings.h" |
31 #include "views/controls/button/radio_button.h" | 31 #include "views/controls/button/radio_button.h" |
32 #include "views/grid_layout.h" | 32 #include "views/grid_layout.h" |
33 #include "views/standard_layout.h" | 33 #include "views/standard_layout.h" |
34 #include "views/widget/widget.h" | 34 #include "views/widget/widget.h" |
35 #include "views/window/window.h" | 35 #include "views/window/window.h" |
36 | 36 |
37 namespace { | 37 namespace { |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 sync_action_link_->SetText(link_label); | 467 sync_action_link_->SetText(link_label); |
468 sync_action_link_->SetVisible(!link_label.empty()); | 468 sync_action_link_->SetVisible(!link_label.empty()); |
469 if (status_has_error) { | 469 if (status_has_error) { |
470 sync_status_label_->set_background(CreateErrorBackground()); | 470 sync_status_label_->set_background(CreateErrorBackground()); |
471 sync_action_link_->set_background(CreateErrorBackground()); | 471 sync_action_link_->set_background(CreateErrorBackground()); |
472 } else { | 472 } else { |
473 sync_status_label_->set_background(NULL); | 473 sync_status_label_->set_background(NULL); |
474 sync_action_link_->set_background(NULL); | 474 sync_action_link_->set_background(NULL); |
475 } | 475 } |
476 } | 476 } |
OLD | NEW |