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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 PassOwnPtr<WebServiceWorkerProvider> createServiceWorkerProvider() override; | 257 PassOwnPtr<WebServiceWorkerProvider> createServiceWorkerProvider() override; |
258 bool isControlledByServiceWorker(DocumentLoader&) override { return false; } | 258 bool isControlledByServiceWorker(DocumentLoader&) override { return false; } |
259 int64_t serviceWorkerID(DocumentLoader&) override { return -1; } | 259 int64_t serviceWorkerID(DocumentLoader&) override { return -1; } |
260 PassOwnPtr<WebApplicationCacheHost> createApplicationCacheHost(WebApplicatio
nCacheHostClient*) override; | 260 PassOwnPtr<WebApplicationCacheHost> createApplicationCacheHost(WebApplicatio
nCacheHostClient*) override; |
261 | 261 |
262 protected: | 262 protected: |
263 EmptyFrameLoaderClient() {} | 263 EmptyFrameLoaderClient() {} |
264 }; | 264 }; |
265 | 265 |
266 class CORE_EXPORT EmptyTextCheckerClient : public TextCheckerClient { | 266 class CORE_EXPORT EmptyTextCheckerClient : public TextCheckerClient { |
267 DISALLOW_ALLOCATION(); | 267 DISALLOW_NEW(); |
268 public: | 268 public: |
269 ~EmptyTextCheckerClient() { } | 269 ~EmptyTextCheckerClient() { } |
270 | 270 |
271 bool shouldEraseMarkersAfterChangeSelection(TextCheckingType) const override
{ return true; } | 271 bool shouldEraseMarkersAfterChangeSelection(TextCheckingType) const override
{ return true; } |
272 void checkSpellingOfString(const String&, int*, int*) override {} | 272 void checkSpellingOfString(const String&, int*, int*) override {} |
273 String getAutoCorrectSuggestionForMisspelledWord(const String&) override { r
eturn String(); } | 273 String getAutoCorrectSuggestionForMisspelledWord(const String&) override { r
eturn String(); } |
274 void checkGrammarOfString(const String&, Vector<GrammarDetail>&, int*, int*)
override {} | 274 void checkGrammarOfString(const String&, Vector<GrammarDetail>&, int*, int*)
override {} |
275 void requestCheckingOfString(PassRefPtrWillBeRawPtr<TextCheckingRequest>) ov
erride; | 275 void requestCheckingOfString(PassRefPtrWillBeRawPtr<TextCheckingRequest>) ov
erride; |
276 }; | 276 }; |
277 | 277 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 ~EmptyDragClient() override {} | 326 ~EmptyDragClient() override {} |
327 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes
tinationActionNone; } | 327 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes
tinationActionNone; } |
328 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*,
LocalFrame*, bool) override {} | 328 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*,
LocalFrame*, bool) override {} |
329 }; | 329 }; |
330 | 330 |
331 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); | 331 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); |
332 | 332 |
333 } // namespace blink | 333 } // namespace blink |
334 | 334 |
335 #endif // EmptyClients_h | 335 #endif // EmptyClients_h |
OLD | NEW |