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

Side by Side Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.h

Issue 2816263003: Move spelling marker related functions from WebView to WebLocalFrame (Closed)
Patch Set: Created 3 years, 8 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) 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 WebRect&) const override; 178 WebRect&) const override;
179 size_t CharacterIndexForPoint(const WebPoint&) const override; 179 size_t CharacterIndexForPoint(const WebPoint&) const override;
180 bool ExecuteCommand(const WebString&) override; 180 bool ExecuteCommand(const WebString&) override;
181 bool ExecuteCommand(const WebString&, const WebString& value) override; 181 bool ExecuteCommand(const WebString&, const WebString& value) override;
182 bool IsCommandEnabled(const WebString&) const override; 182 bool IsCommandEnabled(const WebString&) const override;
183 void SetTextCheckClient(WebTextCheckClient*) override; 183 void SetTextCheckClient(WebTextCheckClient*) override;
184 void EnableSpellChecking(bool) override; 184 void EnableSpellChecking(bool) override;
185 bool IsSpellCheckingEnabled() const override; 185 bool IsSpellCheckingEnabled() const override;
186 void ReplaceMisspelledRange(const WebString&) override; 186 void ReplaceMisspelledRange(const WebString&) override;
187 void RemoveSpellingMarkers() override; 187 void RemoveSpellingMarkers() override;
188 void SpellingMarkerOffsetsForTest(WebVector<unsigned>* offsets) override;
189 void RemoveSpellingMarkersUnderWords(
190 const WebVector<WebString>& words) override;
188 void SetContentSettingsClient(WebContentSettingsClient*) override; 191 void SetContentSettingsClient(WebContentSettingsClient*) override;
189 bool HasSelection() const override; 192 bool HasSelection() const override;
190 WebRange SelectionRange() const override; 193 WebRange SelectionRange() const override;
191 WebString SelectionAsText() const override; 194 WebString SelectionAsText() const override;
192 WebString SelectionAsMarkup() const override; 195 WebString SelectionAsMarkup() const override;
193 bool SelectWordAroundCaret() override; 196 bool SelectWordAroundCaret() override;
194 void SelectRange(const WebPoint& base, const WebPoint& extent) override; 197 void SelectRange(const WebPoint& base, const WebPoint& extent) override;
195 void SelectRange(const WebRange&) override; 198 void SelectRange(const WebRange&) override;
196 WebString RangeAsText(const WebRange&) override; 199 WebString RangeAsText(const WebRange&) override;
197 void MoveRangeSelectionExtent(const WebPoint&) override; 200 void MoveRangeSelectionExtent(const WebPoint&) override;
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 525
523 DEFINE_TYPE_CASTS(WebLocalFrameImpl, 526 DEFINE_TYPE_CASTS(WebLocalFrameImpl,
524 WebFrame, 527 WebFrame,
525 frame, 528 frame,
526 frame->IsWebLocalFrame(), 529 frame->IsWebLocalFrame(),
527 frame.IsWebLocalFrame()); 530 frame.IsWebLocalFrame());
528 531
529 } // namespace blink 532 } // namespace blink
530 533
531 #endif 534 #endif
OLDNEW
« no previous file with comments | « components/spellcheck/renderer/spellcheck.cc ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698