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

Side by Side Diff: Source/core/platform/chromium/ScrollbarThemeChromiumMac.mm

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) 2009 Google Inc. All Rights Reserved. 3 * Copyright (C) 2009 Google Inc. All Rights Reserved.
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 15 matching lines...) Expand all
26 26
27 #include "config.h" 27 #include "config.h"
28 #include "core/platform/chromium/ScrollbarThemeChromiumMac.h" 28 #include "core/platform/chromium/ScrollbarThemeChromiumMac.h"
29 29
30 #include <Carbon/Carbon.h> 30 #include <Carbon/Carbon.h>
31 #include "FrameView.h" 31 #include "FrameView.h"
32 #include "LocalCurrentGraphicsContext.h" 32 #include "LocalCurrentGraphicsContext.h"
33 #include "NSScrollerImpDetails.h" 33 #include "NSScrollerImpDetails.h"
34 #include "PlatformContextSkia.h" 34 #include "PlatformContextSkia.h"
35 #include "ScrollAnimatorMac.h" 35 #include "ScrollAnimatorMac.h"
36 #include "ScrollView.h" 36 #include "core/platform/ScrollView.h"
37 #include "core/platform/graphics/Gradient.h" 37 #include "core/platform/graphics/Gradient.h"
38 #include "core/platform/graphics/ImageBuffer.h" 38 #include "core/platform/graphics/ImageBuffer.h"
39 #include "skia/ext/skia_utils_mac.h" 39 #include "skia/ext/skia_utils_mac.h"
40 #include <public/mac/WebThemeEngine.h> 40 #include <public/mac/WebThemeEngine.h>
41 #include <public/Platform.h> 41 #include <public/Platform.h>
42 #include <public/WebRect.h> 42 #include <public/WebRect.h>
43 43
44 namespace WebCore { 44 namespace WebCore {
45 45
46 ScrollbarTheme* ScrollbarTheme::nativeTheme() 46 ScrollbarTheme* ScrollbarTheme::nativeTheme()
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 return; 429 return;
430 430
431 // Inset a bit. 431 // Inset a bit.
432 IntRect tickmarkTrackRect = rect; 432 IntRect tickmarkTrackRect = rect;
433 tickmarkTrackRect.setX(tickmarkTrackRect.x() + 1); 433 tickmarkTrackRect.setX(tickmarkTrackRect.x() + 1);
434 tickmarkTrackRect.setWidth(tickmarkTrackRect.width() - 2); 434 tickmarkTrackRect.setWidth(tickmarkTrackRect.width() - 2);
435 paintGivenTickmarks(context, scrollbar, tickmarkTrackRect, tickmarks); 435 paintGivenTickmarks(context, scrollbar, tickmarkTrackRect, tickmarks);
436 } 436 }
437 437
438 } 438 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698