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

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

Issue 2678683002: Delay instantiating InputDeviceCapabilities until accessed. (Closed)
Patch Set: rebased Created 3 years, 10 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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 bool tooShort(const String&, NeedsToCheckDirtyFlag) const; 359 bool tooShort(const String&, NeedsToCheckDirtyFlag) const;
360 360
361 bool supportsPlaceholder() const final; 361 bool supportsPlaceholder() const final;
362 void updatePlaceholderText() final; 362 void updatePlaceholderText() final;
363 bool isEmptyValue() const final { return innerEditorValue().isEmpty(); } 363 bool isEmptyValue() const final { return innerEditorValue().isEmpty(); }
364 bool isEmptySuggestedValue() const final { 364 bool isEmptySuggestedValue() const final {
365 return suggestedValue().isEmpty(); 365 return suggestedValue().isEmpty();
366 } 366 }
367 void handleFocusEvent(Element* oldFocusedElement, WebFocusType) final; 367 void handleFocusEvent(Element* oldFocusedElement, WebFocusType) final;
368 void handleBlurEvent() final; 368 void handleBlurEvent() final;
369 void dispatchFocusInEvent(const AtomicString& eventType, 369 void dispatchFocusInEvent(
370 Element* oldFocusedElement, 370 const AtomicString& eventType,
371 WebFocusType, 371 Element* oldFocusedElement,
372 InputDeviceCapabilities* sourceCapabilities) final; 372 WebFocusType,
373 const InputDeviceCapabilitiesValue& sourceCapabilities) final;
373 bool supportsAutocapitalize() const final; 374 bool supportsAutocapitalize() const final;
374 const AtomicString& defaultAutocapitalize() const final; 375 const AtomicString& defaultAutocapitalize() const final;
375 376
376 bool isOptionalFormControl() const final { return !isRequiredFormControl(); } 377 bool isOptionalFormControl() const final { return !isRequiredFormControl(); }
377 bool isRequiredFormControl() const final; 378 bool isRequiredFormControl() const final;
378 bool recalcWillValidate() const final; 379 bool recalcWillValidate() const final;
379 void requiredAttributeChanged() final; 380 void requiredAttributeChanged() final;
380 void disabledAttributeChanged() final; 381 void disabledAttributeChanged() final;
381 382
382 void initializeTypeInParsing(); 383 void initializeTypeInParsing();
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 // assumes that it lives as long as its owning element lives. If we move the 426 // assumes that it lives as long as its owning element lives. If we move the
426 // loader into the ImageInput object we may delete the loader while this 427 // loader into the ImageInput object we may delete the loader while this
427 // element lives on. 428 // element lives on.
428 Member<HTMLImageLoader> m_imageLoader; 429 Member<HTMLImageLoader> m_imageLoader;
429 Member<ListAttributeTargetObserver> m_listAttributeTargetObserver; 430 Member<ListAttributeTargetObserver> m_listAttributeTargetObserver;
430 }; 431 };
431 432
432 } // namespace blink 433 } // namespace blink
433 434
434 #endif // HTMLInputElement_h 435 #endif // HTMLInputElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698