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

Side by Side Diff: Source/WebCore/platform/text/TextChecking.h

Issue 13687007: Remove PLATFORM(BLACKBERRY) support. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 Google Inc. All rights reserved. 2 * Copyright (c) 2011 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 21 matching lines...) Expand all
32 #define TextChecking_h 32 #define TextChecking_h
33 33
34 #include <wtf/RefCounted.h> 34 #include <wtf/RefCounted.h>
35 #include <wtf/Vector.h> 35 #include <wtf/Vector.h>
36 #include <wtf/text/WTFString.h> 36 #include <wtf/text/WTFString.h>
37 37
38 namespace WebCore { 38 namespace WebCore {
39 39
40 #define WTF_USE_GRAMMAR_CHECKING 1 40 #define WTF_USE_GRAMMAR_CHECKING 1
41 41
42 #if (PLATFORM(MAC) && (PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060) ) || PLATFORM(BLACKBERRY) 42 #if (PLATFORM(MAC) && (PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060) )
43 #define WTF_USE_UNIFIED_TEXT_CHECKING 1 43 #define WTF_USE_UNIFIED_TEXT_CHECKING 1
44 #endif 44 #endif
45 #if PLATFORM(MAC) && (PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060) 45 #if PLATFORM(MAC) && (PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060)
46 #define WTF_USE_AUTOMATIC_TEXT_REPLACEMENT 1 46 #define WTF_USE_AUTOMATIC_TEXT_REPLACEMENT 1
47 #endif 47 #endif
48 48
49 #if PLATFORM(MAC) && (PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 1070) 49 #if PLATFORM(MAC) && (PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 1070)
50 // Some platforms provide UI for suggesting autocorrection. 50 // Some platforms provide UI for suggesting autocorrection.
51 #define WTF_USE_AUTOCORRECTION_PANEL 1 51 #define WTF_USE_AUTOCORRECTION_PANEL 1
52 // Some platforms use spelling and autocorrection markers to provide visual cue. 52 // Some platforms use spelling and autocorrection markers to provide visual cue.
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 virtual ~TextCheckingRequest() { } 122 virtual ~TextCheckingRequest() { }
123 123
124 virtual const TextCheckingRequestData& data() const = 0; 124 virtual const TextCheckingRequestData& data() const = 0;
125 virtual void didSucceed(const Vector<TextCheckingResult>&) = 0; 125 virtual void didSucceed(const Vector<TextCheckingResult>&) = 0;
126 virtual void didCancel() = 0; 126 virtual void didCancel() = 0;
127 }; 127 };
128 128
129 } 129 }
130 130
131 #endif // TextChecking_h 131 #endif // TextChecking_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698