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

Side by Side Diff: Source/core/html/HTMLInputElement.h

Issue 21024004: Add/remove spell checking markers in text inputs depending on focus. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Clean up in the test & the new expected file. Created 7 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
« no previous file with comments | « Source/core/editing/SpellChecker.cpp ('k') | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved.
6 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 6 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 unsigned height() const; 269 unsigned height() const;
270 unsigned width() const; 270 unsigned width() const;
271 void setHeight(unsigned); 271 void setHeight(unsigned);
272 void setWidth(unsigned); 272 void setWidth(unsigned);
273 273
274 virtual void blur() OVERRIDE; 274 virtual void blur() OVERRIDE;
275 void defaultBlur(); 275 void defaultBlur();
276 276
277 virtual const AtomicString& name() const OVERRIDE; 277 virtual const AtomicString& name() const OVERRIDE;
278 278
279 void beginEditing();
279 void endEditing(); 280 void endEditing();
280 281
281 static Vector<FileChooserFileInfo> filesFromFileInputFormControlState(const FormControlState&); 282 static Vector<FileChooserFileInfo> filesFromFileInputFormControlState(const FormControlState&);
282 283
283 virtual bool matchesReadOnlyPseudoClass() const OVERRIDE; 284 virtual bool matchesReadOnlyPseudoClass() const OVERRIDE;
284 virtual bool matchesReadWritePseudoClass() const OVERRIDE; 285 virtual bool matchesReadWritePseudoClass() const OVERRIDE;
285 virtual void setRangeText(const String& replacement, ExceptionCode&) OVERRID E; 286 virtual void setRangeText(const String& replacement, ExceptionCode&) OVERRID E;
286 virtual void setRangeText(const String& replacement, unsigned start, unsigne d end, const String& selectionMode, ExceptionCode&) OVERRIDE; 287 virtual void setRangeText(const String& replacement, unsigned start, unsigne d end, const String& selectionMode, ExceptionCode&) OVERRIDE;
287 288
288 bool hasImageLoader() const { return m_imageLoader; } 289 bool hasImageLoader() const { return m_imageLoader; }
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::inputT ag)); 428 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::inputT ag));
428 return static_cast<const HTMLInputElement*>(node); 429 return static_cast<const HTMLInputElement*>(node);
429 } 430 }
430 431
431 // This will catch anyone doing an unnecessary cast. 432 // This will catch anyone doing an unnecessary cast.
432 void toHTMLElement(const HTMLElement*); 433 void toHTMLElement(const HTMLElement*);
433 434
434 435
435 } //namespace 436 } //namespace
436 #endif 437 #endif
OLDNEW
« no previous file with comments | « Source/core/editing/SpellChecker.cpp ('k') | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698