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

Side by Side Diff: Source/core/dom/Element.h

Issue 541993003: Generate focusin for input type=date/time when selected by tab (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated to latest master and updated test 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
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/dom/Element.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) 2001 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved. 6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. 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 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 // focusable but some elements, such as form controls and links, are. Unlike 370 // focusable but some elements, such as form controls and links, are. Unlike
371 // rendererIsFocusable(), this method may be called when layout is not up to 371 // rendererIsFocusable(), this method may be called when layout is not up to
372 // date, so it must not use the renderer to determine focusability. 372 // date, so it must not use the renderer to determine focusability.
373 virtual bool supportsFocus() const; 373 virtual bool supportsFocus() const;
374 // Whether the node can actually be focused. 374 // Whether the node can actually be focused.
375 bool isFocusable() const; 375 bool isFocusable() const;
376 virtual bool isKeyboardFocusable() const; 376 virtual bool isKeyboardFocusable() const;
377 virtual bool isMouseFocusable() const; 377 virtual bool isMouseFocusable() const;
378 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusType); 378 virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusType);
379 virtual void dispatchBlurEvent(Element* newFocusedElement); 379 virtual void dispatchBlurEvent(Element* newFocusedElement);
380 void dispatchFocusInEvent(const AtomicString& eventType, Element* oldFocused Element); 380 virtual void dispatchFocusInEvent(const AtomicString& eventType, Element* ol dFocusedElement, FocusType);
381 void dispatchFocusOutEvent(const AtomicString& eventType, Element* newFocuse dElement); 381 void dispatchFocusOutEvent(const AtomicString& eventType, Element* newFocuse dElement);
382 382
383 String innerText(); 383 String innerText();
384 String outerText(); 384 String outerText();
385 String innerHTML() const; 385 String innerHTML() const;
386 String outerHTML() const; 386 String outerHTML() const;
387 void setInnerHTML(const String&, ExceptionState&); 387 void setInnerHTML(const String&, ExceptionState&);
388 void setOuterHTML(const String&, ExceptionState&); 388 void setOuterHTML(const String&, ExceptionState&);
389 389
390 Element* insertAdjacentElement(const String& where, Element* newChild, Excep tionState&); 390 Element* insertAdjacentElement(const String& where, Element* newChild, Excep tionState&);
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
862 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) 862 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&)
863 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 863 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
864 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document& document) \ 864 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document& document) \
865 { \ 865 { \
866 return adoptRefWillBeNoop(new T(tagName, document)); \ 866 return adoptRefWillBeNoop(new T(tagName, document)); \
867 } 867 }
868 868
869 } // namespace 869 } // namespace
870 870
871 #endif // Element_h 871 #endif // Element_h
OLDNEW
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698