OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org) | 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org) |
3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. |
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
6 * | 6 * |
7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
9 * are met: | 9 * are met: |
10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 EmptyFrameLoaderClient() {} | 275 EmptyFrameLoaderClient() {} |
276 }; | 276 }; |
277 | 277 |
278 class CORE_EXPORT EmptyTextCheckerClient : public TextCheckerClient { | 278 class CORE_EXPORT EmptyTextCheckerClient : public TextCheckerClient { |
279 DISALLOW_NEW(); | 279 DISALLOW_NEW(); |
280 public: | 280 public: |
281 ~EmptyTextCheckerClient() { } | 281 ~EmptyTextCheckerClient() { } |
282 | 282 |
283 void checkSpellingOfString(const String&, int*, int*) override {} | 283 void checkSpellingOfString(const String&, int*, int*) override {} |
284 void checkGrammarOfString(const String&, Vector<GrammarDetail>&, int*, int*)
override {} | 284 void checkGrammarOfString(const String&, Vector<GrammarDetail>&, int*, int*)
override {} |
285 void requestCheckingOfString(RawPtr<TextCheckingRequest>) override; | 285 void requestCheckingOfString(TextCheckingRequest*) override; |
286 }; | 286 }; |
287 | 287 |
288 class EmptySpellCheckerClient : public SpellCheckerClient { | 288 class EmptySpellCheckerClient : public SpellCheckerClient { |
289 WTF_MAKE_NONCOPYABLE(EmptySpellCheckerClient); USING_FAST_MALLOC(EmptySpellC
heckerClient); | 289 WTF_MAKE_NONCOPYABLE(EmptySpellCheckerClient); USING_FAST_MALLOC(EmptySpellC
heckerClient); |
290 public: | 290 public: |
291 EmptySpellCheckerClient() {} | 291 EmptySpellCheckerClient() {} |
292 ~EmptySpellCheckerClient() override {} | 292 ~EmptySpellCheckerClient() override {} |
293 | 293 |
294 bool isContinuousSpellCheckingEnabled() override { return false; } | 294 bool isContinuousSpellCheckingEnabled() override { return false; } |
295 void toggleContinuousSpellChecking() override {} | 295 void toggleContinuousSpellChecking() override {} |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 ~EmptyDragClient() override {} | 335 ~EmptyDragClient() override {} |
336 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes
tinationActionNone; } | 336 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes
tinationActionNone; } |
337 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*,
LocalFrame*, bool) override {} | 337 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*,
LocalFrame*, bool) override {} |
338 }; | 338 }; |
339 | 339 |
340 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); | 340 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); |
341 | 341 |
342 } // namespace blink | 342 } // namespace blink |
343 | 343 |
344 #endif // EmptyClients_h | 344 #endif // EmptyClients_h |
OLD | NEW |