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

Side by Side Diff: Source/core/platform/chromium/ScrollbarThemeChromiumWin.cpp

Issue 14488003: Absolutify paths to platform/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: scripts, iwyu Created 7 years, 8 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 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * Copyright (C) 2008, 2009 Google Inc. 3 * Copyright (C) 2008, 2009 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 12 matching lines...) Expand all
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */ 25 */
26 26
27 #include "config.h" 27 #include "config.h"
28 #include "core/platform/chromium/ScrollbarThemeChromiumWin.h" 28 #include "core/platform/chromium/ScrollbarThemeChromiumWin.h"
29 29
30 #include <windows.h> 30 #include <windows.h>
31 #include <vsstyle.h> 31 #include <vsstyle.h>
32 32
33 #include "LayoutTestSupport.h"
34 #include "PlatformContextSkia.h" 33 #include "PlatformContextSkia.h"
35 #include "PlatformMouseEvent.h"
36 #include "Scrollbar.h"
37 #include "SystemInfo.h" 34 #include "SystemInfo.h"
35 #include "core/platform/LayoutTestSupport.h"
36 #include "core/platform/PlatformMouseEvent.h"
37 #include "core/platform/Scrollbar.h"
38 #include "core/platform/graphics/GraphicsContext.h" 38 #include "core/platform/graphics/GraphicsContext.h"
39 #include <public/Platform.h> 39 #include <public/Platform.h>
40 #include <public/WebRect.h> 40 #include <public/WebRect.h>
41 #include <public/win/WebThemeEngine.h> 41 #include <public/win/WebThemeEngine.h>
42 42
43 namespace WebCore { 43 namespace WebCore {
44 44
45 ScrollbarTheme* ScrollbarTheme::nativeTheme() 45 ScrollbarTheme* ScrollbarTheme::nativeTheme()
46 { 46 {
47 static ScrollbarThemeChromiumWin theme; 47 static ScrollbarThemeChromiumWin theme;
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 int width = scrollbar->width() < 2 * girth ? scrollbar->width() / 2 : gi rth; 248 int width = scrollbar->width() < 2 * girth ? scrollbar->width() / 2 : gi rth;
249 return IntSize(width, thickness); 249 return IntSize(width, thickness);
250 } 250 }
251 251
252 int height = scrollbar->height() < 2 * girth ? scrollbar->height() / 2 : gir th; 252 int height = scrollbar->height() < 2 * girth ? scrollbar->height() / 2 : gir th;
253 return IntSize(thickness, height); 253 return IntSize(thickness, height);
254 } 254 }
255 255
256 256
257 } // namespace WebCore 257 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/platform/chromium/ScrollbarThemeChromiumMac.mm ('k') | Source/core/platform/chromium/SearchPopupMenuChromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698