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

Side by Side Diff: Source/web/EditorClientImpl.h

Issue 72543005: Get rid of explict editor dependency from text field (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 2013-11-15T16:10:10 Created 7 years, 1 month 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 virtual void registerUndoStep(PassRefPtr<WebCore::UndoStep>) OVERRIDE; 63 virtual void registerUndoStep(PassRefPtr<WebCore::UndoStep>) OVERRIDE;
64 virtual void registerRedoStep(PassRefPtr<WebCore::UndoStep>) OVERRIDE; 64 virtual void registerRedoStep(PassRefPtr<WebCore::UndoStep>) OVERRIDE;
65 virtual void clearUndoRedoOperations() OVERRIDE; 65 virtual void clearUndoRedoOperations() OVERRIDE;
66 virtual bool canCopyCut(WebCore::Frame*, bool defaultValue) const OVERRIDE; 66 virtual bool canCopyCut(WebCore::Frame*, bool defaultValue) const OVERRIDE;
67 virtual bool canPaste(WebCore::Frame*, bool defaultValue) const OVERRIDE; 67 virtual bool canPaste(WebCore::Frame*, bool defaultValue) const OVERRIDE;
68 virtual bool canUndo() const OVERRIDE; 68 virtual bool canUndo() const OVERRIDE;
69 virtual bool canRedo() const OVERRIDE; 69 virtual bool canRedo() const OVERRIDE;
70 virtual void undo() OVERRIDE; 70 virtual void undo() OVERRIDE;
71 virtual void redo() OVERRIDE; 71 virtual void redo() OVERRIDE;
72 virtual void handleKeyboardEvent(WebCore::KeyboardEvent*) OVERRIDE; 72 virtual void handleKeyboardEvent(WebCore::KeyboardEvent*) OVERRIDE;
73 virtual void textFieldDidEndEditing(WebCore::Element*) OVERRIDE;
74 virtual void textDidChangeInTextField(WebCore::Element*) OVERRIDE;
75 virtual bool doTextFieldCommandFromEvent(WebCore::Element*, WebCore::Keyboar dEvent*) OVERRIDE;
76 virtual bool shouldEraseMarkersAfterChangeSelection(WebCore::TextCheckingTyp e) const OVERRIDE; 73 virtual bool shouldEraseMarkersAfterChangeSelection(WebCore::TextCheckingTyp e) const OVERRIDE;
77 virtual void checkSpellingOfString(const String&, int* misspellingLocation, int* misspellingLength) OVERRIDE; 74 virtual void checkSpellingOfString(const String&, int* misspellingLocation, int* misspellingLength) OVERRIDE;
78 virtual void checkGrammarOfString(const String&, WTF::Vector<WebCore::Gramma rDetail>&, 75 virtual void checkGrammarOfString(const String&, WTF::Vector<WebCore::Gramma rDetail>&,
79 int* badGrammarLocation, int* badGrammarLength) OVERRIDE; 76 int* badGrammarLocation, int* badGrammarLength) OVERRIDE;
80 virtual WTF::String getAutoCorrectSuggestionForMisspelledWord(const WTF::Str ing&) OVERRIDE; 77 virtual WTF::String getAutoCorrectSuggestionForMisspelledWord(const WTF::Str ing&) OVERRIDE;
81 virtual void updateSpellingUIWithMisspelledWord(const WTF::String&) OVERRIDE ; 78 virtual void updateSpellingUIWithMisspelledWord(const WTF::String&) OVERRIDE ;
82 virtual void showSpellingUI(bool show) OVERRIDE; 79 virtual void showSpellingUI(bool show) OVERRIDE;
83 virtual bool spellingUIIsShowing() OVERRIDE; 80 virtual bool spellingUIIsShowing() OVERRIDE;
84 virtual void willSetInputMethodState() OVERRIDE; 81 virtual void willSetInputMethodState() OVERRIDE;
85 virtual void requestCheckingOfString(WTF::PassRefPtr<WebCore::TextCheckingRe quest>) OVERRIDE; 82 virtual void requestCheckingOfString(WTF::PassRefPtr<WebCore::TextCheckingRe quest>) OVERRIDE;
(...skipping 29 matching lines...) Expand all
115 SpellCheckAutomatic, 112 SpellCheckAutomatic,
116 SpellCheckForcedOn, 113 SpellCheckForcedOn,
117 SpellCheckForcedOff 114 SpellCheckForcedOff
118 }; 115 };
119 int m_spellCheckThisFieldStatus; 116 int m_spellCheckThisFieldStatus;
120 }; 117 };
121 118
122 } // namespace blink 119 } // namespace blink
123 120
124 #endif 121 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698