| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 #include "wtf/Forward.h" | 30 #include "wtf/Forward.h" |
| 31 | 31 |
| 32 namespace blink { | 32 namespace blink { |
| 33 | 33 |
| 34 class TextCheckerClient; | 34 class TextCheckerClient; |
| 35 | 35 |
| 36 class SpellCheckerClient { | 36 class SpellCheckerClient { |
| 37 public: | 37 public: |
| 38 virtual ~SpellCheckerClient() { } | 38 virtual ~SpellCheckerClient() { } |
| 39 | 39 |
| 40 virtual bool isContinuousSpellCheckingEnabled() = 0; | 40 virtual bool isSpellCheckingEnabled() = 0; |
| 41 virtual void toggleContinuousSpellChecking() = 0; | 41 virtual void toggleSpellCheckingEnabled() = 0; |
| 42 | 42 |
| 43 virtual TextCheckerClient& textChecker() = 0; | 43 virtual TextCheckerClient& textChecker() = 0; |
| 44 | 44 |
| 45 virtual void updateSpellingUIWithMisspelledWord(const WTF::String&) = 0; | 45 virtual void updateSpellingUIWithMisspelledWord(const WTF::String&) = 0; |
| 46 virtual void showSpellingUI(bool show) = 0; | 46 virtual void showSpellingUI(bool show) = 0; |
| 47 virtual bool spellingUIIsShowing() = 0; | 47 virtual bool spellingUIIsShowing() = 0; |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 } // namespace blink | 50 } // namespace blink |
| 51 | 51 |
| 52 #endif // SpellCheckerClient_h | 52 #endif // SpellCheckerClient_h |
| OLD | NEW |