OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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/advanced_contents_view.h" | 5 #include "chrome/browser/views/options/advanced_contents_view.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 | 8 |
9 #include <cryptuiapi.h> | 9 #include <cryptuiapi.h> |
10 #pragma comment(lib, "cryptui.lib") | 10 #pragma comment(lib, "cryptui.lib") |
11 #include <shellapi.h> | 11 #include <shellapi.h> |
12 #include <vsstyle.h> | 12 #include <vsstyle.h> |
13 #include <vssym32.h> | 13 #include <vssym32.h> |
14 | 14 |
15 #include "base/file_util.h" | 15 #include "base/file_util.h" |
16 #include "base/path_service.h" | 16 #include "base/path_service.h" |
17 #include "base/gfx/native_theme.h" | 17 #include "base/gfx/native_theme.h" |
18 #include "chrome/app/locales/locale_settings.h" | 18 #include "chrome/app/locales/locale_settings.h" |
19 #include "chrome/browser/browser.h" | 19 #include "chrome/browser/browser.h" |
20 #include "chrome/browser/browser_list.h" | 20 #include "chrome/browser/browser_list.h" |
21 #include "chrome/browser/browser_process.h" | 21 #include "chrome/browser/browser_process.h" |
22 #include "chrome/browser/download_manager.h" | 22 #include "chrome/browser/download/download_manager.h" |
23 #include "chrome/browser/gears_integration.h" | 23 #include "chrome/browser/gears_integration.h" |
24 #include "chrome/browser/metrics_service.h" | 24 #include "chrome/browser/metrics_service.h" |
25 #include "chrome/browser/net/dns_global.h" | 25 #include "chrome/browser/net/dns_global.h" |
26 #include "chrome/browser/resource_dispatcher_host.h" | 26 #include "chrome/browser/resource_dispatcher_host.h" |
27 #include "chrome/browser/safe_browsing/safe_browsing_service.h" | 27 #include "chrome/browser/safe_browsing/safe_browsing_service.h" |
28 #include "chrome/browser/standard_layout.h" | 28 #include "chrome/browser/standard_layout.h" |
29 #include "chrome/browser/views/restart_message_box.h" | 29 #include "chrome/browser/views/restart_message_box.h" |
30 #include "chrome/browser/views/options/cookies_view.h" | 30 #include "chrome/browser/views/options/cookies_view.h" |
31 #include "chrome/browser/views/options/language_combobox_model.h" | 31 #include "chrome/browser/views/options/language_combobox_model.h" |
32 #include "chrome/common/filter_policy.h" | 32 #include "chrome/common/filter_policy.h" |
(...skipping 1138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1171 CRect lb; | 1171 CRect lb; |
1172 GetLocalBounds(&lb, false); | 1172 GetLocalBounds(&lb, false); |
1173 | 1173 |
1174 gfx::Size border = gfx::NativeTheme::instance()->GetThemeBorderSize( | 1174 gfx::Size border = gfx::NativeTheme::instance()->GetThemeBorderSize( |
1175 gfx::NativeTheme::LIST); | 1175 gfx::NativeTheme::LIST); |
1176 lb.DeflateRect(border.ToSIZE()); | 1176 lb.DeflateRect(border.ToSIZE()); |
1177 scroll_view_->SetBounds(lb); | 1177 scroll_view_->SetBounds(lb); |
1178 scroll_view_->Layout(); | 1178 scroll_view_->Layout(); |
1179 } | 1179 } |
1180 | 1180 |
OLD | NEW |