Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Side by Side Diff: chrome/browser/ui/views/options/advanced_contents_view.cc

Issue 6382009: views: Move grid_layout files into layout directory. Final Part. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 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/ui/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")
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 #include "net/base/ssl_config_service_win.h" 57 #include "net/base/ssl_config_service_win.h"
58 #include "skia/ext/skia_utils_win.h" 58 #include "skia/ext/skia_utils_win.h"
59 #include "third_party/skia/include/core/SkBitmap.h" 59 #include "third_party/skia/include/core/SkBitmap.h"
60 #include "ui/base/l10n/l10n_util.h" 60 #include "ui/base/l10n/l10n_util.h"
61 #include "ui/base/resource/resource_bundle.h" 61 #include "ui/base/resource/resource_bundle.h"
62 #include "views/background.h" 62 #include "views/background.h"
63 #include "views/controls/button/checkbox.h" 63 #include "views/controls/button/checkbox.h"
64 #include "views/controls/combobox/combobox.h" 64 #include "views/controls/combobox/combobox.h"
65 #include "views/controls/scroll_view.h" 65 #include "views/controls/scroll_view.h"
66 #include "views/controls/textfield/textfield.h" 66 #include "views/controls/textfield/textfield.h"
67 #include "views/grid_layout.h" 67 #include "views/layout/grid_layout.h"
68 #include "views/layout/layout_constants.h" 68 #include "views/layout/layout_constants.h"
69 #include "views/widget/widget.h" 69 #include "views/widget/widget.h"
70 #include "views/window/window.h" 70 #include "views/window/window.h"
71 71
72 using views::GridLayout; 72 using views::GridLayout;
73 using views::ColumnSet; 73 using views::ColumnSet;
74 74
75 namespace { 75 namespace {
76 76
77 const int kFileIconSize = 16; 77 const int kFileIconSize = 16;
(...skipping 1559 matching lines...) Expand 10 before | Expand all | Expand 10 after
1637 // AdvancedScrollViewContainer, views::View overrides: 1637 // AdvancedScrollViewContainer, views::View overrides:
1638 1638
1639 void AdvancedScrollViewContainer::Layout() { 1639 void AdvancedScrollViewContainer::Layout() {
1640 gfx::Rect lb = GetLocalBounds(false); 1640 gfx::Rect lb = GetLocalBounds(false);
1641 1641
1642 gfx::Size border = gfx::NativeTheme::instance()->GetThemeBorderSize( 1642 gfx::Size border = gfx::NativeTheme::instance()->GetThemeBorderSize(
1643 gfx::NativeTheme::LIST); 1643 gfx::NativeTheme::LIST);
1644 lb.Inset(border.width(), border.height()); 1644 lb.Inset(border.width(), border.height());
1645 scroll_view_->SetBounds(lb); 1645 scroll_view_->SetBounds(lb);
1646 } 1646 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/login_view.cc ('k') | chrome/browser/ui/views/options/advanced_page_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698