/external/chromium_org/chrome/browser/spellchecker/ |
misspelling_unittest.cc | 5 // Unit tests for |Misspelling| object. 7 #include "chrome/browser/spellchecker/misspelling.h" 15 Misspelling misspelling; local 16 misspelling.context = ASCIIToUTF16("How doe sit know"); 17 misspelling.location = 4; 18 misspelling.length = 7; 19 misspelling.timestamp = base::Time::FromJsTime(42); 20 misspelling.hash = 9001; 21 misspelling.suggestions.push_back(ASCIIToUTF16("does it")) 37 Misspelling misspelling; local [all...] |
misspelling.h | 21 // Misspelling misspelling. 22 // misspelling.context = ASCIIToUTF16("Helllo world"); 23 // misspelling.location = 0; 24 // misspelling.length = 6; 25 // misspelling.suggestions = 27 // misspelling.hash = GenerateRandomHash(); 28 // misspelling.action.type = SpellcheckAction::TYPE_SELECT; 29 // misspelling.action.index = 0; 30 // Process(misspelling.Serialize()) [all...] |
misspelling.cc | 5 // The |Misspelling| object stores the misspelling, a spellcheck suggestion for 6 // it, and user's action on it. The misspelling is stored as |context|, 10 #include "chrome/browser/spellchecker/misspelling.h" 34 Misspelling::Misspelling() 38 Misspelling::Misspelling(const base::string16& context, 51 Misspelling::~Misspelling() { [all...] |
feedback.h | 8 // Stores feedback for the spelling service in |Misspelling| objects. Each 9 // |Misspelling| object is identified by a |hash| and corresponds to a document 19 #include "chrome/browser/spellchecker/misspelling.h" 25 // feedback.AddMisspelling(renderer_process_id, Misspelling( 37 // Returns the misspelling identified by |hash|. Returns NULL if there's no 38 // misspelling identified by |hash|. Retains the ownership of the result. The 39 // caller should not modify the hash in the returned misspelling. 40 Misspelling* GetMisspelling(uint32 hash); 54 std::vector<Misspelling> GetMisspellingsInRenderer( 61 // Returns true if there's a misspelling with |hash| identifier [all...] |
feedback.cc | 6 // |misspellings_|. This is a map from uint32 hashes to |Misspelling| objects. 8 // Each misspelling should be present in only one renderer process. The 9 // |Feedback| objects keeps track of misspelling-renderer relationship in the 12 // When the user adds a misspelling to their custom dictionary, all of the 13 // |Misspelling| objects with the same misspelled string are updated. The 32 Misspelling* Feedback::GetMisspelling(uint32 hash) { 69 std::vector<Misspelling> Feedback::GetMisspellingsInRenderer( 71 std::vector<Misspelling> misspellings_in_renderer; 101 const Misspelling& misspelling = misspelling_it->second local [all...] |
feedback_unittest.cc | 19 // Hash identifier for a misspelling. 32 Misspelling misspelling; local 33 misspelling.hash = hash; 34 feedback_.AddMisspelling(renderer_process_id, misspelling); 40 // Should be able to retrieve misspelling after it's added. 44 Misspelling* result = feedback_.GetMisspelling(kMisspellingHash); 45 EXPECT_NE(static_cast<Misspelling*>(NULL), result); 57 Misspelling* removed_misspelling = 59 EXPECT_NE(static_cast<Misspelling*>(NULL), removed_misspelling) 229 Misspelling* misspelling = feedback_.GetMisspelling(*it); local 230 EXPECT_NE(static_cast<Misspelling*>(NULL), misspelling); local [all...] |
spellcheck_action.h | 20 // this misspelling. 24 // misspelling, because it has been deleted from the web page. 26 // The misspelling is in user's custom spellcheck dictionary. The user will 27 // not see spellcheck suggestions for this misspelling. 30 // more actions on this misspelling. 32 // The user has taken no action on the misspelling and will not take any 37 // action in the future, because the misspelling is still on the web page. 41 // misspelling. 44 // actions on this misspelling.
|
feedback_sender.cc | 10 // misspelling-suggestion pair. If the spelling service identifies the same 11 // misspelling as already displayed to the user, then |FeedbackSender| reuses 13 // comparing misspelling offsets in text. Spelling service can return duplicates 17 // All feedback is initially pending. When a user acts upon a misspelling such 18 // that the misspelling is no longer displayed (red squiggly line goes away), 19 // then the feedback for this misspelling is finalized. All finalized feedback 76 Misspelling BuildFeedback(const SpellCheckResult& result, 83 return Misspelling(context, 92 const std::vector<Misspelling>& suggestions, 95 for (std::vector<Misspelling>::const_iterator suggestion_it 182 Misspelling* misspelling = feedback_.GetMisspelling(hash); local 193 Misspelling* misspelling = feedback_.GetMisspelling(hash); local 214 Misspelling* misspelling = feedback_.GetMisspelling(hash); local 223 Misspelling* misspelling = feedback_.GetMisspelling(hash); local 234 Misspelling* misspelling = feedback_.GetMisspelling(hash); local [all...] |
feedback_sender.h | 23 #include "chrome/browser/spellchecker/misspelling.h" 63 // misspelling identified by |hash|. 66 // Records that user added the misspelling identified by |hash| to the 70 // Records that user right-clicked on the misspelling identified by |hash|, 75 // misspelling identified by |hash| to string |correction|, which is not in 79 // Records that user has the misspelling in the custom dictionary. The user 80 // will never see the spellcheck suggestions for the misspelling. 129 void SendFeedback(const std::vector<Misspelling>& feedback_data, 144 // Misspelling counter used to generate unique hash identifier for each 145 // misspelling [all...] |
spelling_service_client.cc | 154 // - misspellings (optional array of Misspelling) 155 // * Misspelling - an object representing a misspelling region and its 159 // - suggestions (array of string) - the suggestions for the misspelling 197 // Retrieve the array of Misspelling objects. When the input text does not 205 // Retrieve the i-th misspelling region and put it to the given vector. When 208 DictionaryValue* misspelling = NULL; local 209 if (!misspellings->GetDictionary(i, &misspelling)) 215 if (!misspelling->GetInteger("charStart", &start) || 216 !misspelling->GetInteger("charLength", &length) | [all...] |
spellcheck_host_metrics.cc | 99 // gives the misspelling, which is not recorded as a part of this
|
/external/chromium_org/third_party/WebKit/ManualTests/autocorrection/ |
remove-misspelling-marker-after-appending-letter.html | 24 // Now the word "brough" should carry misspelling marker. 31 <title>Removing misspelling marker after appending letter test.</title> 34 <div>The test verified that misspelling marker is removed after appending new letter to misspelled word. You should see the phrase "this brought" without red underline.</div>
|
/external/chromium_org/third_party/WebKit/ManualTests/ |
keep_spelling_markers.html | 6 <li>repeatedly type cmd-; to advance to the next misspelling</li> 7 <li>confirm that you can wrap back to the first misspelling without hanging</li>
|
/external/chromium_org/chrome/common/ |
spellcheck_result.h | 12 // possible replacement of the misspelling if it is available.
|
spellcheck_common.h | 23 // The number of context words to keep on either side of a misspelling for
|
spellcheck_messages.h | 77 // This message tells the renderer to advance to the next misspelling. It is
|
/external/chromium_org/chrome/renderer/spellchecker/ |
custom_dictionary_engine.h | 26 // |misspelling_start| and |misspelling_len| to indicate a misspelling.
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
TextCheckingHelper.cpp | 89 TextCheckingResult misspelling; local 90 misspelling.decoration = TextDecorationTypeSpelling; 91 misspelling.location = start + wordStart + misspellingLocation; 92 misspelling.length = misspellingLength; 93 misspelling.replacement = client.getAutoCorrectSuggestionForMisspelledWord(String(text + misspelling.location, misspelling.length)); 94 results.append(misspelling); 266 // Remember first-encountered misspelling and its offset. 276 // Bail out if we're marking only the first misspelling, and not all instances [all...] |
/external/chromium/chrome/browser/ui/cocoa/ |
rwhvm_editcommand_helper.h | 30 // (note that this is not a misspelling of RenderWidgetHostViewMac, it's in
|
/external/chromium/chrome/common/ |
spellcheck_messages.h | 35 // This message tells the renderer to advance to the next misspelling. It is
|
/external/chromium_org/content/browser/renderer_host/ |
render_widget_host_view_mac_editcommand_helper.h | 28 // (note that this is not a misspelling of RenderWidgetHostViewMac, it's in
|
/external/chromium_org/third_party/WebKit/Source/testing/runner/ |
MockSpellCheck.h | 69 // Checks whether the specified text is a misspelling comprised of more
|
/external/chromium_org/content/common/ |
input_messages.h | 146 // Replaces the misspelling in the selected region with the specified string.
|
/external/chromium_org/content/public/common/ |
context_menu_params.h | 108 // The identifier of the misspelling under the cursor, if any.
|
/external/chromium_org/third_party/WebKit/public/web/ |
WebContextMenuData.h | 123 // The identifier of the misspelling.
|