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

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

Issue 6263008: Move ResourceBundle, DataPack to ui/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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")
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 <string> 15 #include <string>
16 16
17 #include "app/l10n_util.h" 17 #include "app/l10n_util.h"
18 #include "app/resource_bundle.h"
19 #include "base/command_line.h" 18 #include "base/command_line.h"
20 #include "base/file_util.h" 19 #include "base/file_util.h"
21 #include "base/i18n/rtl.h" 20 #include "base/i18n/rtl.h"
22 #include "base/message_loop.h" 21 #include "base/message_loop.h"
23 #include "base/path_service.h" 22 #include "base/path_service.h"
24 #include "base/scoped_callback_factory.h" 23 #include "base/scoped_callback_factory.h"
25 #include "base/threading/thread.h" 24 #include "base/threading/thread.h"
26 #include "base/utf_string_conversions.h" 25 #include "base/utf_string_conversions.h"
27 #include "chrome/browser/browser_list.h" 26 #include "chrome/browser/browser_list.h"
28 #include "chrome/browser/browser_process.h" 27 #include "chrome/browser/browser_process.h"
(...skipping 23 matching lines...) Expand all
52 #include "chrome/common/url_constants.h" 51 #include "chrome/common/url_constants.h"
53 #include "gfx/canvas_skia.h" 52 #include "gfx/canvas_skia.h"
54 #include "gfx/native_theme_win.h" 53 #include "gfx/native_theme_win.h"
55 #include "grit/app_resources.h" 54 #include "grit/app_resources.h"
56 #include "grit/chromium_strings.h" 55 #include "grit/chromium_strings.h"
57 #include "grit/generated_resources.h" 56 #include "grit/generated_resources.h"
58 #include "grit/locale_settings.h" 57 #include "grit/locale_settings.h"
59 #include "net/base/ssl_config_service_win.h" 58 #include "net/base/ssl_config_service_win.h"
60 #include "skia/ext/skia_utils_win.h" 59 #include "skia/ext/skia_utils_win.h"
61 #include "third_party/skia/include/core/SkBitmap.h" 60 #include "third_party/skia/include/core/SkBitmap.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/grid_layout.h"
68 #include "views/standard_layout.h" 68 #include "views/standard_layout.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
(...skipping 1565 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/notifications/balloon_view.cc ('k') | chrome/browser/ui/views/options/exception_editor_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698