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

Unified Diff: Tools/TestWebKitAPI/PlatformUtilities.h

Issue 14280003: Remove more unused marcos. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: Tools/TestWebKitAPI/PlatformUtilities.h
diff --git a/Tools/TestWebKitAPI/PlatformUtilities.h b/Tools/TestWebKitAPI/PlatformUtilities.h
index 10da84d3335995b833addcf43b69ee3cfae91a7b..a65017efebe573378f29b852b437762d231f3df7 100644
--- a/Tools/TestWebKitAPI/PlatformUtilities.h
+++ b/Tools/TestWebKitAPI/PlatformUtilities.h
@@ -29,24 +29,12 @@
#include <WebKit2/WKRetainPtr.h>
#include <string>
-#if PLATFORM(MAC)
-#if __OBJC__
-@class NSString;
-#else
-class NSString;
-#endif
-#endif
-
namespace TestWebKitAPI {
namespace Util {
// Runs a platform runloop until the 'done' is true.
void run(bool* done);
-#if PLATFORM(WIN)
-bool shouldTranslateMessage(const MSG&);
-#endif
-
void sleep(double seconds);
WKContextRef createContextWithInjectedBundle();
@@ -63,9 +51,6 @@ bool isKeyDown(WKNativeEventPtr);
std::string toSTD(WKStringRef);
std::string toSTD(WKRetainPtr<WKStringRef>);
std::string toSTD(const char*);
-#if PLATFORM(MAC)
-std::string toSTD(NSString *);
-#endif
WKRetainPtr<WKStringRef> toWK(const char* utf8String);

Powered by Google App Engine
This is Rietveld 408576698