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 852083002: Propagate focus type to plugins (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Moved Created 5 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/html/HTMLFormControlElement.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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 virtual bool isInRange() const override final; 324 virtual bool isInRange() const override final;
325 virtual bool isOutOfRange() const override final; 325 virtual bool isOutOfRange() const override final;
326 326
327 bool tooLong(const String&, NeedsToCheckDirtyFlag) const; 327 bool tooLong(const String&, NeedsToCheckDirtyFlag) const;
328 bool tooShort(const String&, NeedsToCheckDirtyFlag) const; 328 bool tooShort(const String&, NeedsToCheckDirtyFlag) const;
329 329
330 virtual bool supportsPlaceholder() const override final; 330 virtual bool supportsPlaceholder() const override final;
331 virtual void updatePlaceholderText() override final; 331 virtual void updatePlaceholderText() override final;
332 virtual bool isEmptyValue() const override final { return innerEditorValue() .isEmpty(); } 332 virtual bool isEmptyValue() const override final { return innerEditorValue() .isEmpty(); }
333 virtual bool isEmptySuggestedValue() const override final { return suggested Value().isEmpty(); } 333 virtual bool isEmptySuggestedValue() const override final { return suggested Value().isEmpty(); }
334 virtual void handleFocusEvent(Element* oldFocusedElement, FocusType) overrid e final; 334 virtual void handleFocusEvent(Element* oldFocusedElement, WebFocusType) over ride final;
335 virtual void handleBlurEvent() override final; 335 virtual void handleBlurEvent() override final;
336 virtual void dispatchFocusInEvent(const AtomicString& eventType, Element* ol dFocusedElement, FocusType) override final; 336 virtual void dispatchFocusInEvent(const AtomicString& eventType, Element* ol dFocusedElement, WebFocusType) override final;
337 337
338 virtual bool isOptionalFormControl() const override final { return !isRequir edFormControl(); } 338 virtual bool isOptionalFormControl() const override final { return !isRequir edFormControl(); }
339 virtual bool isRequiredFormControl() const override final; 339 virtual bool isRequiredFormControl() const override final;
340 virtual bool recalcWillValidate() const override final; 340 virtual bool recalcWillValidate() const override final;
341 virtual void requiredAttributeChanged() override final; 341 virtual void requiredAttributeChanged() override final;
342 342
343 void updateTouchEventHandlerRegistry(); 343 void updateTouchEventHandlerRegistry();
344 void initializeTypeInParsing(); 344 void initializeTypeInParsing();
345 void updateType(); 345 void updateType();
346 346
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 // The ImageLoader must be owned by this element because the loader code ass umes 385 // The ImageLoader must be owned by this element because the loader code ass umes
386 // that it lives as long as its owning element lives. If we move the loader into 386 // that it lives as long as its owning element lives. If we move the loader into
387 // the ImageInput object we may delete the loader while this element lives o n. 387 // the ImageInput object we may delete the loader while this element lives o n.
388 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; 388 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader;
389 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve r; 389 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve r;
390 }; 390 };
391 391
392 } // namespace blink 392 } // namespace blink
393 393
394 #endif // HTMLInputElement_h 394 #endif // HTMLInputElement_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLFormControlElement.cpp ('k') | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698