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

Side by Side Diff: third_party/WebKit/public/web/WebSpellCheckClient.h

Issue 2177023002: Remove spellchecker feedback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile Created 4 years, 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 // The client should perform spell-checking on the given text. This function will 57 // The client should perform spell-checking on the given text. This function will
58 // enumerate all misspellings at once. 58 // enumerate all misspellings at once.
59 virtual void checkTextOfParagraph(const WebString&, 59 virtual void checkTextOfParagraph(const WebString&,
60 WebTextCheckingTypeMask mask, 60 WebTextCheckingTypeMask mask,
61 WebVector<WebTextCheckingResult>* results) { } 61 WebVector<WebTextCheckingResult>* results) { }
62 62
63 // Requests asynchronous spelling and grammar checking, whose result should be 63 // Requests asynchronous spelling and grammar checking, whose result should be
64 // returned by passed completion object. 64 // returned by passed completion object.
65 virtual void requestCheckingOfText(const WebString& textToCheck, 65 virtual void requestCheckingOfText(const WebString& textToCheck,
66 const WebVector<uint32_t>& markersInText,
67 const WebVector<unsigned>& markerOffsets,
68 WebTextCheckingCompletion* completionCall back) { } 66 WebTextCheckingCompletion* completionCall back) { }
69 67
70 // Show or hide the spelling UI. 68 // Show or hide the spelling UI.
71 virtual void showSpellingUI(bool show) { } 69 virtual void showSpellingUI(bool show) { }
72 70
73 // Returns true if the spelling UI is showing. 71 // Returns true if the spelling UI is showing.
74 virtual bool isShowingSpellingUI() { return false; } 72 virtual bool isShowingSpellingUI() { return false; }
75 73
76 // Update the spelling UI with the given word. 74 // Update the spelling UI with the given word.
77 virtual void updateSpellingUIWithMisspelledWord(const WebString& word) { } 75 virtual void updateSpellingUIWithMisspelledWord(const WebString& word) { }
78 76
79 protected: 77 protected:
80 ~WebSpellCheckClient() { } 78 ~WebSpellCheckClient() { }
81 }; 79 };
82 80
83 } // namespace blink 81 } // namespace blink
84 82
85 #endif 83 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebContextMenuData.h ('k') | third_party/WebKit/public/web/WebTextCheckingResult.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698