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

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

Issue 513783002: Dispatch change event for input type=color when colorpicker is closed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Implemented colorChooserClient support Created 6 years, 3 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) 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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 void setValueInternal(const String&, TextFieldEventBehavior); 205 void setValueInternal(const String&, TextFieldEventBehavior);
206 bool valueAttributeWasUpdatedAfterParsing() const { return m_valueAttributeW asUpdatedAfterParsing; } 206 bool valueAttributeWasUpdatedAfterParsing() const { return m_valueAttributeW asUpdatedAfterParsing; }
207 void updateView(); 207 void updateView();
208 bool needsToUpdateViewValue() const { return m_needsToUpdateViewValue; } 208 bool needsToUpdateViewValue() const { return m_needsToUpdateViewValue; }
209 virtual void setInnerEditorValue(const String&) OVERRIDE; 209 virtual void setInnerEditorValue(const String&) OVERRIDE;
210 210
211 void cacheSelectionInResponseToSetValue(int caretOffset) { cacheSelection(ca retOffset, caretOffset, SelectionHasNoDirection); } 211 void cacheSelectionInResponseToSetValue(int caretOffset) { cacheSelection(ca retOffset, caretOffset, SelectionHasNoDirection); }
212 212
213 // For test purposes. 213 // For test purposes.
214 void selectColorInColorChooser(const Color&); 214 void selectColorInColorChooser(const Color&);
215 void endColorChooser();
215 216
216 String defaultToolTip() const; 217 String defaultToolTip() const;
217 218
218 static const int maximumLength; 219 static const int maximumLength;
219 220
220 unsigned height() const; 221 unsigned height() const;
221 unsigned width() const; 222 unsigned width() const;
222 void setHeight(unsigned); 223 void setHeight(unsigned);
223 void setWidth(unsigned); 224 void setWidth(unsigned);
224 225
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 // The ImageLoader must be owned by this element because the loader code ass umes 374 // The ImageLoader must be owned by this element because the loader code ass umes
374 // that it lives as long as its owning element lives. If we move the loader into 375 // that it lives as long as its owning element lives. If we move the loader into
375 // the ImageInput object we may delete the loader while this element lives o n. 376 // the ImageInput object we may delete the loader while this element lives o n.
376 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; 377 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader;
377 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve r; 378 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve r;
378 }; 379 };
379 380
380 } // namespace blink 381 } // namespace blink
381 382
382 #endif // HTMLInputElement_h 383 #endif // HTMLInputElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698