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

Side by Side Diff: Source/core/html/TextFieldInputType.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/html/HTMLInputElement.cpp ('k') | Source/core/html/TextFieldInputType.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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 protected: 59 protected:
60 virtual void attach() OVERRIDE; 60 virtual void attach() OVERRIDE;
61 virtual bool needsContainer() const; 61 virtual bool needsContainer() const;
62 virtual bool shouldHaveSpinButton() const; 62 virtual bool shouldHaveSpinButton() const;
63 virtual void createShadowSubtree() OVERRIDE; 63 virtual void createShadowSubtree() OVERRIDE;
64 virtual void destroyShadowSubtree() OVERRIDE; 64 virtual void destroyShadowSubtree() OVERRIDE;
65 virtual void attributeChanged() OVERRIDE; 65 virtual void attributeChanged() OVERRIDE;
66 virtual void disabledAttributeChanged() OVERRIDE; 66 virtual void disabledAttributeChanged() OVERRIDE;
67 virtual void readonlyAttributeChanged() OVERRIDE; 67 virtual void readonlyAttributeChanged() OVERRIDE;
68 virtual bool supportsReadOnly() const OVERRIDE; 68 virtual bool supportsReadOnly() const OVERRIDE;
69 virtual void handleFocusEvent(Element* oldFocusedNode, FocusDirection) OVERR IDE;
69 virtual void handleBlurEvent() OVERRIDE; 70 virtual void handleBlurEvent() OVERRIDE;
70 virtual void setValue(const String&, bool valueChanged, TextFieldEventBehavi or) OVERRIDE; 71 virtual void setValue(const String&, bool valueChanged, TextFieldEventBehavi or) OVERRIDE;
71 virtual void updateInnerTextValue() OVERRIDE; 72 virtual void updateInnerTextValue() OVERRIDE;
72 73
73 virtual String convertFromVisibleValue(const String&) const; 74 virtual String convertFromVisibleValue(const String&) const;
74 enum ValueChangeState { 75 enum ValueChangeState {
75 ValueChangeStateNone, 76 ValueChangeStateNone,
76 ValueChangeStateChanged 77 ValueChangeStateChanged
77 }; 78 };
78 virtual void didSetValueByUserEdit(ValueChangeState); 79 virtual void didSetValueByUserEdit(ValueChangeState);
(...skipping 28 matching lines...) Expand all
107 RefPtr<HTMLElement> m_placeholder; 108 RefPtr<HTMLElement> m_placeholder;
108 RefPtr<SpinButtonElement> m_innerSpinButton; 109 RefPtr<SpinButtonElement> m_innerSpinButton;
109 #if ENABLE(INPUT_SPEECH) 110 #if ENABLE(INPUT_SPEECH)
110 RefPtr<HTMLElement> m_speechButton; 111 RefPtr<HTMLElement> m_speechButton;
111 #endif 112 #endif
112 }; 113 };
113 114
114 } // namespace WebCore 115 } // namespace WebCore
115 116
116 #endif // TextFieldInputType_h 117 #endif // TextFieldInputType_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLInputElement.cpp ('k') | Source/core/html/TextFieldInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698