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

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

Issue 3203008: Move prefs-related files under chrome/browser/ into a prefs/ subdir. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 3 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
OLDNEW
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/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 "app/l10n_util.h" 15 #include "app/l10n_util.h"
16 #include "app/resource_bundle.h" 16 #include "app/resource_bundle.h"
17 #include "base/file_util.h" 17 #include "base/file_util.h"
18 #include "base/i18n/rtl.h" 18 #include "base/i18n/rtl.h"
19 #include "base/message_loop.h" 19 #include "base/message_loop.h"
20 #include "base/path_service.h" 20 #include "base/path_service.h"
21 #include "base/thread.h" 21 #include "base/thread.h"
22 #include "base/utf_string_conversions.h" 22 #include "base/utf_string_conversions.h"
23 #include "chrome/browser/browser.h" 23 #include "chrome/browser/browser.h"
24 #include "chrome/browser/browser_list.h" 24 #include "chrome/browser/browser_list.h"
25 #include "chrome/browser/browser_process.h" 25 #include "chrome/browser/browser_process.h"
26 #include "chrome/browser/download/download_manager.h" 26 #include "chrome/browser/download/download_manager.h"
27 #include "chrome/browser/gears_integration.h" 27 #include "chrome/browser/gears_integration.h"
28 #include "chrome/browser/net/predictor_api.h" 28 #include "chrome/browser/net/predictor_api.h"
29 #include "chrome/browser/options_util.h" 29 #include "chrome/browser/options_util.h"
30 #include "chrome/browser/pref_member.h" 30 #include "chrome/browser/prefs/pref_member.h"
31 #include "chrome/browser/pref_service.h" 31 #include "chrome/browser/prefs/pref_service.h"
32 #include "chrome/browser/pref_set_observer.h" 32 #include "chrome/browser/prefs/pref_set_observer.h"
33 #include "chrome/browser/profile.h" 33 #include "chrome/browser/profile.h"
34 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" 34 #include "chrome/browser/renderer_host/resource_dispatcher_host.h"
35 #include "chrome/browser/safe_browsing/safe_browsing_service.h" 35 #include "chrome/browser/safe_browsing/safe_browsing_service.h"
36 #include "chrome/browser/shell_dialogs.h" 36 #include "chrome/browser/shell_dialogs.h"
37 #include "chrome/browser/views/browser_dialogs.h" 37 #include "chrome/browser/views/browser_dialogs.h"
38 #include "chrome/browser/views/clear_browsing_data.h" 38 #include "chrome/browser/views/clear_browsing_data.h"
39 #include "chrome/browser/views/list_background.h" 39 #include "chrome/browser/views/list_background.h"
40 #include "chrome/browser/views/options/content_settings_window_view.h" 40 #include "chrome/browser/views/options/content_settings_window_view.h"
41 #include "chrome/browser/views/options/fonts_languages_window_view.h" 41 #include "chrome/browser/views/options/fonts_languages_window_view.h"
42 #include "chrome/browser/views/restart_message_box.h" 42 #include "chrome/browser/views/restart_message_box.h"
(...skipping 1449 matching lines...) Expand 10 before | Expand all | Expand 10 after
1492 // AdvancedScrollViewContainer, views::View overrides: 1492 // AdvancedScrollViewContainer, views::View overrides:
1493 1493
1494 void AdvancedScrollViewContainer::Layout() { 1494 void AdvancedScrollViewContainer::Layout() {
1495 gfx::Rect lb = GetLocalBounds(false); 1495 gfx::Rect lb = GetLocalBounds(false);
1496 1496
1497 gfx::Size border = gfx::NativeTheme::instance()->GetThemeBorderSize( 1497 gfx::Size border = gfx::NativeTheme::instance()->GetThemeBorderSize(
1498 gfx::NativeTheme::LIST); 1498 gfx::NativeTheme::LIST);
1499 lb.Inset(border.width(), border.height()); 1499 lb.Inset(border.width(), border.height());
1500 scroll_view_->SetBounds(lb); 1500 scroll_view_->SetBounds(lb);
1501 } 1501 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698