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

Side by Side Diff: Source/core/platform/mac/ScrollbarThemeMac.mm

Issue 14856004: Finish removing WebKitSystemInterface from Blink. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Simplify Created 7 years, 7 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, 2011 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008, 2011 Apple Inc. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 17 matching lines...) Expand all
28 28
29 #include <Carbon/Carbon.h> 29 #include <Carbon/Carbon.h>
30 #include "core/platform/PlatformMouseEvent.h" 30 #include "core/platform/PlatformMouseEvent.h"
31 #include "core/platform/ScrollView.h" 31 #include "core/platform/ScrollView.h"
32 #include "core/platform/graphics/GraphicsLayer.h" 32 #include "core/platform/graphics/GraphicsLayer.h"
33 #include "core/platform/graphics/ImageBuffer.h" 33 #include "core/platform/graphics/ImageBuffer.h"
34 #include "core/platform/graphics/mac/ColorMac.h" 34 #include "core/platform/graphics/mac/ColorMac.h"
35 #include "core/platform/mac/LocalCurrentGraphicsContext.h" 35 #include "core/platform/mac/LocalCurrentGraphicsContext.h"
36 #include "core/platform/mac/NSScrollerImpDetails.h" 36 #include "core/platform/mac/NSScrollerImpDetails.h"
37 #include "core/platform/mac/ScrollAnimatorMac.h" 37 #include "core/platform/mac/ScrollAnimatorMac.h"
38 #include "core/platform/mac/WebCoreSystemInterface.h"
39 #include <wtf/HashMap.h> 38 #include <wtf/HashMap.h>
40 #include <wtf/StdLibExtras.h> 39 #include <wtf/StdLibExtras.h>
41 #include <wtf/TemporaryChange.h> 40 #include <wtf/TemporaryChange.h>
42 #include <wtf/UnusedParam.h> 41 #include <wtf/UnusedParam.h>
43 42
44 // FIXME: There are repainting problems due to Aqua scroll bar buttons' visual o verflow. 43 // FIXME: There are repainting problems due to Aqua scroll bar buttons' visual o verflow.
45 44
46 using namespace std; 45 using namespace std;
47 using namespace WebCore; 46 using namespace WebCore;
48 47
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 } 463 }
465 } 464 }
466 465
467 void ScrollbarThemeMac::updateEnabledState(ScrollbarThemeClient* scrollbar) 466 void ScrollbarThemeMac::updateEnabledState(ScrollbarThemeClient* scrollbar)
468 { 467 {
469 if (isScrollbarOverlayAPIAvailable()) 468 if (isScrollbarOverlayAPIAvailable())
470 [scrollbarMap()->get(scrollbar).get() setEnabled:scrollbar->enabled()]; 469 [scrollbarMap()->get(scrollbar).get() setEnabled:scrollbar->enabled()];
471 } 470 }
472 471
473 } // namespace WebCore 472 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698