OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/ui/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 "app/l10n_util.h" | 15 #include "app/l10n_util.h" |
(...skipping 1620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1636 // AdvancedScrollViewContainer, views::View overrides: | 1636 // AdvancedScrollViewContainer, views::View overrides: |
1637 | 1637 |
1638 void AdvancedScrollViewContainer::Layout() { | 1638 void AdvancedScrollViewContainer::Layout() { |
1639 gfx::Rect lb = GetLocalBounds(false); | 1639 gfx::Rect lb = GetLocalBounds(false); |
1640 | 1640 |
1641 gfx::Size border = gfx::NativeTheme::instance()->GetThemeBorderSize( | 1641 gfx::Size border = gfx::NativeTheme::instance()->GetThemeBorderSize( |
1642 gfx::NativeTheme::LIST); | 1642 gfx::NativeTheme::LIST); |
1643 lb.Inset(border.width(), border.height()); | 1643 lb.Inset(border.width(), border.height()); |
1644 scroll_view_->SetBounds(lb); | 1644 scroll_view_->SetBounds(lb); |
1645 } | 1645 } |
OLD | NEW |