| OLD | NEW |
| 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") |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 #include "chrome/browser/download/download_manager.h" | 27 #include "chrome/browser/download/download_manager.h" |
| 28 #include "chrome/browser/download/download_prefs.h" | 28 #include "chrome/browser/download/download_prefs.h" |
| 29 #include "chrome/browser/google/google_util.h" | 29 #include "chrome/browser/google/google_util.h" |
| 30 #include "chrome/browser/gears_integration.h" | 30 #include "chrome/browser/gears_integration.h" |
| 31 #include "chrome/browser/prefs/pref_member.h" | 31 #include "chrome/browser/prefs/pref_member.h" |
| 32 #include "chrome/browser/prefs/pref_service.h" | 32 #include "chrome/browser/prefs/pref_service.h" |
| 33 #include "chrome/browser/prefs/pref_set_observer.h" | 33 #include "chrome/browser/prefs/pref_set_observer.h" |
| 34 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service.h" | 34 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service.h" |
| 35 #include "chrome/browser/printing/cloud_print/cloud_print_setup_flow.h" | 35 #include "chrome/browser/printing/cloud_print/cloud_print_setup_flow.h" |
| 36 #include "chrome/browser/printing/cloud_print/cloud_print_url.h" | 36 #include "chrome/browser/printing/cloud_print/cloud_print_url.h" |
| 37 #include "chrome/browser/profile.h" | 37 #include "chrome/browser/profiles/profile.h" |
| 38 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" | 38 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" |
| 39 #include "chrome/browser/safe_browsing/safe_browsing_service.h" | 39 #include "chrome/browser/safe_browsing/safe_browsing_service.h" |
| 40 #include "chrome/browser/shell_dialogs.h" | 40 #include "chrome/browser/shell_dialogs.h" |
| 41 #include "chrome/browser/ui/browser.h" | 41 #include "chrome/browser/ui/browser.h" |
| 42 #include "chrome/browser/ui/options/options_util.h" | 42 #include "chrome/browser/ui/options/options_util.h" |
| 43 #include "chrome/browser/ui/options/show_options_url.h" | 43 #include "chrome/browser/ui/options/show_options_url.h" |
| 44 #include "chrome/browser/ui/views/browser_dialogs.h" | 44 #include "chrome/browser/ui/views/browser_dialogs.h" |
| 45 #include "chrome/browser/ui/views/clear_browsing_data.h" | 45 #include "chrome/browser/ui/views/clear_browsing_data.h" |
| 46 #include "chrome/browser/ui/views/list_background.h" | 46 #include "chrome/browser/ui/views/list_background.h" |
| 47 #include "chrome/browser/ui/views/options/content_settings_window_view.h" | 47 #include "chrome/browser/ui/views/options/content_settings_window_view.h" |
| (...skipping 1571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1619 // AdvancedScrollViewContainer, views::View overrides: | 1619 // AdvancedScrollViewContainer, views::View overrides: |
| 1620 | 1620 |
| 1621 void AdvancedScrollViewContainer::Layout() { | 1621 void AdvancedScrollViewContainer::Layout() { |
| 1622 gfx::Rect lb = GetLocalBounds(false); | 1622 gfx::Rect lb = GetLocalBounds(false); |
| 1623 | 1623 |
| 1624 gfx::Size border = gfx::NativeTheme::instance()->GetThemeBorderSize( | 1624 gfx::Size border = gfx::NativeTheme::instance()->GetThemeBorderSize( |
| 1625 gfx::NativeTheme::LIST); | 1625 gfx::NativeTheme::LIST); |
| 1626 lb.Inset(border.width(), border.height()); | 1626 lb.Inset(border.width(), border.height()); |
| 1627 scroll_view_->SetBounds(lb); | 1627 scroll_view_->SetBounds(lb); |
| 1628 } | 1628 } |
| OLD | NEW |