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

Side by Side Diff: Source/platform/scroll/ScrollbarThemeMacCommon.mm

Issue 512293003: Removing "using" declarations that import names in the C++ Standard library.(Source/platform/[m* - … (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « Source/platform/scroll/Scrollbar.cpp ('k') | Source/platform/scroll/ScrollbarThemeOverlay.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 #include "public/platform/WebThemeEngine.h" 45 #include "public/platform/WebThemeEngine.h"
46 #include "public/platform/Platform.h" 46 #include "public/platform/Platform.h"
47 #include "public/platform/WebRect.h" 47 #include "public/platform/WebRect.h"
48 #include "skia/ext/skia_utils_mac.h" 48 #include "skia/ext/skia_utils_mac.h"
49 #include "wtf/HashSet.h" 49 #include "wtf/HashSet.h"
50 #include "wtf/StdLibExtras.h" 50 #include "wtf/StdLibExtras.h"
51 #include "wtf/TemporaryChange.h" 51 #include "wtf/TemporaryChange.h"
52 52
53 // FIXME: There are repainting problems due to Aqua scroll bar buttons' visual o verflow. 53 // FIXME: There are repainting problems due to Aqua scroll bar buttons' visual o verflow.
54 54
55 using namespace std;
56 using namespace blink; 55 using namespace blink;
57 56
58 @interface NSColor (WebNSColorDetails) 57 @interface NSColor (WebNSColorDetails)
59 + (NSImage *)_linenPatternImage; 58 + (NSImage *)_linenPatternImage;
60 @end 59 @end
61 60
62 namespace blink { 61 namespace blink {
63 62
64 typedef HashSet<ScrollbarThemeClient*> ScrollbarSet; 63 typedef HashSet<ScrollbarThemeClient*> ScrollbarSet;
65 64
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 // static 354 // static
356 bool ScrollbarThemeMacCommon::isOverlayAPIAvailable() 355 bool ScrollbarThemeMacCommon::isOverlayAPIAvailable()
357 { 356 {
358 static bool apiAvailable = 357 static bool apiAvailable =
359 [NSClassFromString(@"NSScrollerImp") respondsToSelector:@selector(scroll erImpWithStyle:controlSize:horizontal:replacingScrollerImp:)] 358 [NSClassFromString(@"NSScrollerImp") respondsToSelector:@selector(scroll erImpWithStyle:controlSize:horizontal:replacingScrollerImp:)]
360 && [NSClassFromString(@"NSScrollerImpPair") instancesRespondToSelector:@ selector(scrollerStyle)]; 359 && [NSClassFromString(@"NSScrollerImpPair") instancesRespondToSelector:@ selector(scrollerStyle)];
361 return apiAvailable; 360 return apiAvailable;
362 } 361 }
363 362
364 } // namespace blink 363 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/scroll/Scrollbar.cpp ('k') | Source/platform/scroll/ScrollbarThemeOverlay.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698