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

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

Issue 259047: Move classes depending on Skia out of base/gfx and into app/gfx. Rename... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/combobox_model.h" 15 #include "app/combobox_model.h"
16 #include "app/gfx/canvas.h" 16 #include "app/gfx/canvas.h"
17 #include "app/gfx/native_theme_win.h"
17 #include "app/l10n_util.h" 18 #include "app/l10n_util.h"
18 #include "app/resource_bundle.h" 19 #include "app/resource_bundle.h"
19 #include "base/file_util.h" 20 #include "base/file_util.h"
20 #include "base/path_service.h" 21 #include "base/path_service.h"
21 #include "base/gfx/native_theme.h"
22 #include "chrome/browser/browser.h" 22 #include "chrome/browser/browser.h"
23 #include "chrome/browser/browser_list.h" 23 #include "chrome/browser/browser_list.h"
24 #include "chrome/browser/browser_process.h" 24 #include "chrome/browser/browser_process.h"
25 #include "chrome/browser/download/download_manager.h" 25 #include "chrome/browser/download/download_manager.h"
26 #include "chrome/browser/gears_integration.h" 26 #include "chrome/browser/gears_integration.h"
27 #include "chrome/browser/net/dns_global.h" 27 #include "chrome/browser/net/dns_global.h"
28 #include "chrome/browser/options_util.h" 28 #include "chrome/browser/options_util.h"
29 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" 29 #include "chrome/browser/renderer_host/resource_dispatcher_host.h"
30 #include "chrome/browser/safe_browsing/safe_browsing_service.h" 30 #include "chrome/browser/safe_browsing/safe_browsing_service.h"
31 #include "chrome/browser/shell_dialogs.h" 31 #include "chrome/browser/shell_dialogs.h"
(...skipping 1367 matching lines...) Expand 10 before | Expand all | Expand 10 after
1399 1399
1400 void AdvancedScrollViewContainer::Layout() { 1400 void AdvancedScrollViewContainer::Layout() {
1401 gfx::Rect lb = GetLocalBounds(false); 1401 gfx::Rect lb = GetLocalBounds(false);
1402 1402
1403 gfx::Size border = gfx::NativeTheme::instance()->GetThemeBorderSize( 1403 gfx::Size border = gfx::NativeTheme::instance()->GetThemeBorderSize(
1404 gfx::NativeTheme::LIST); 1404 gfx::NativeTheme::LIST);
1405 lb.Inset(border.width(), border.height()); 1405 lb.Inset(border.width(), border.height());
1406 scroll_view_->SetBounds(lb); 1406 scroll_view_->SetBounds(lb);
1407 scroll_view_->Layout(); 1407 scroll_view_->Layout();
1408 } 1408 }
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view_win.cc ('k') | chrome/browser/views/options/content_page_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698